Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #810

Closed
Open
Created May 11, 2012 by Administrator@rootOwner

Error 500/404 on displaying large commit code

Created by: Danpiel

Hello, i got this error on commit code display of big project, on page load I got 100% cpu on server, after timeout just displays 500 error, sometimes 404.

Started GET "/server/commits/xxxxxxxxxxxxxxxxxxxxxxx" for xxxxxxxxxxxxxx at 2012-05-11 07:03:55 +0300
Processing by CommitsController#show as HTML
  Parameters: {"project_id"=>"xxxxxxx", "id"=>"xxxxxxxxxxxxxxxxxxxxxxxx"}
Completed 500 Internal Server Error in 20179ms

Grit::Git::GitTimeout (Grit::Git::GitTimeout):
  app/models/commit.rb:10:in `diffs'
  app/controllers/commits_controller.rb:40:in `show'

On smaller projects/commits everything working fine.

Server/gitlab setup:

  • Ubuntu server 12.04
  • Apache2.2 + Passanger
  • ruby 1.9.1 + system wide installed gems
  • gitlabhq stable and master
    • git_max_size: 1638400 # 200.megabytes
    • git_timeout: 20

I can't figure which error is that, encoding (charlock_holmes bug) or big commit. ? And how to fix that ?

Assignee
Assign to
Time tracking