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

Closed
Open
Created Dec 15, 2011 by Administrator@rootOwner

Commit does not work after update files via git

Created by: shurco

When I want to see the commit (http://server/demoproject/commits/4a5ccc0c001e17451f5dfa372cb4d8ccff28247b) - I have always creates a new process 'Rack: / home / git / gitlabhq' which takes under her about 80-90% CPU Page is not loaded!! Here is what production.log:

,,, Started GET "/demoproject/commits/4a5ccc0c001e17451f5dfa372cb4d8ccff28247b" for 192.168.157.42 at 2011-12-15 14:04:36 +0400 Processing by CommitsController#show as HTML Parameters: {"project_id"=>"demoproject", "id"=>"4a5ccc0c001e17451f5dfa372cb4d8ccff28247b"} Rendered commits/_diff_head.html.haml (2875.4ms) Rendered commits/_text_file.html.haml (18532.1ms) Rendered commits/_text_file.html.haml (19099.8ms) Rendered commits/_text_file.html.haml (18882.0ms) Rendered commits/_text_file.html.haml (18820.3ms) Rendered commits/_text_file.html.haml (16011.9ms) Rendered commits/_diff.html.haml (95640.4ms) Rendered commits/show.html.haml within layouts/project (95647.0ms) Completed 500 Internal Server Error in 95674ms

ActionView::Template::Error (SIGTERM): 1: %table 2: - line_old = 0 3: - line_new = 0 4: - diff_str = encode(diff.diff) 5: - lines_arr = diff_str.lines.to_a 6: - lines_arr.each do |line| 7: - next if line.match(/^--- /dev/null/) lib/utils.rb:22:in encode' app/views/commits/_text_file.html.haml:4:in_app_views_commits__text_file_html_haml__405581412_103264940' app/views/commits/_diff.html.haml:18:in block in _app_views_commits__diff_html_haml__1069865600_99868590' app/views/commits/_diff.html.haml:4:ineach' app/views/commits/_diff.html.haml:4:in each_with_index' app/views/commits/_diff.html.haml:4:in_app_views_commits__diff_html_haml__1069865600_99868590' app/views/commits/show.html.haml:26:in _app_views_commits_show_html_haml___817436437_101363600' app/controllers/commits_controller.rb:30:inshow' ,,,

Assignee
Assign to
Time tracking