Timeout 504 - Commit diff with binary files
Created by: sammko
Hello, I have a project with 2 developers and when I try to open a commit diff from one of the users the server hangs, hogging an entire single thread from the unicorn worker process. The logs do not contain anything useful, though you can see that the request does not have a Completed 200 line. ...
Started GET "/sammko/omneodium/commit/417aa3e6cc54ef36f34dfbc90c48ffd556121718" for <ip> at 2015-02-14 13:39:14 +0000
Processing by Projects::CommitController#show as HTML
Parameters: {"project_id"=>"sammko/omneodium", "id"=>"417aa3e6cc54ef36f34dfbc90c48ffd556121718"}
Started GET "/admin/logs" for <ip> at 2015-02-14 13:39:22 +0000
Processing by Admin::LogsController#show as HTML
-
Completed 200 OK in 450ms (Views: 428.9ms | ActiveRecord: 9.2ms)
... Encountered on gitlab 7.7.1 but persists after update to 7.7.2. Viewing diffs from the other user is perfectly fine.
EDIT: After all its seems that it is not all commits, but only commits that contain some files like .ai and such.
Thanks.