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
  • #136

Closed
Open
Created Nov 22, 2011 by Administrator@rootOwner

Oversized commits causes 500-s

Created by: hackruu

I got these errors in production.log If i push real big commit (webserver root for example, ~30MB) and then i try to view commit results.

Started GET "/rgpj/commits/08b1275a5ce019286fa9e264452d466cc7cd12d3" for 10.99.99.201 at 2011-11-22 23:05:54 +0400 Processing by CommitsController#show as HTML Parameters: {"project_id"=>"rgpj", "id"=>"08b1275a5ce019286fa9e264452d466cc7cd12d3"} Rendered commits/_diff_head.html.haml (128.8ms) Rendered commits/_diff.html.haml (129.0ms) Rendered commits/show.html.haml within layouts/project (130.2ms) Completed 500 Internal Server Error in 140ms

ActionView::Template::Error (Grit::Git::GitTimeout): 1: %table 2: %thead 3: %th Files 4: - @commit.diffs.each do |diff| 5: %tr 6: %td 7: - if diff.deleted_file app/views/commits/_diff_head.html.haml:4:in _app_views_commits__diff_head_html_haml__4564756771552039705_49293740' app/views/commits/_diff.html.haml:2:in_app_views_commits__diff_html_haml__4253458010426326924_49594080' app/views/commits/show.html.haml:29:in _app_views_commits_show_html_haml__2715074514217847481_50449560' app/controllers/commits_controller.rb:35:inshow'

Assignee
Assign to
Time tracking