Project

General

Profile

Actions

Defect #12480

open

Gantt to PNG not working. Thin freeze with Redmine. High CPU usage.

Added by Anatolii Vorona almost 12 years ago. Updated almost 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Gantt
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

# cat /etc/thin/redmine.yml
 pid: /home/redmine/www/tmp/pids/thin.pid
 log: /home/redmine/www/log/thin.log 
 timeout: 30
 max_conns: 1024 
 max_persistent_conns: 512
 require: [] 
 no-epoll: true 
 environment: production 
 chdir: /home/redmine/www
 socket: /tmp/thin-redmine.sock 
 servers: 1
 daemonize: true
 user: redmine
 group: redmine

$ tail -n 15 production.log

 Started GET "/projects/some_project/issues/gantt.pdf?month=11&months=3&year=2012&zoom=4" for 37.229.111.111 at Fri Nov 30 20:40:13 +0200 2012
 Processing by GanttsController#show as PDF
  Parameters: {"zoom"=>"4", "months"=>"3", "project_id"=>"some_project", "month"=>"11", "year"=>"2012"}
  Current user: user (id=3)
  Rendered text template (0.7ms)
 Sent data some_project-gantt.pdf (748.6ms)
 Completed 200 OK in 2432ms (Views: 748.1ms | ActiveRecord: 755.8ms)

 Started GET "/projects/some_project/issues/gantt.png?month=11&months=3&year=2012&zoom=4" for 37.229.111.111 at Fri Nov 30 20:40:22 +0200 2012
 Processing by GanttsController#show as PNG
  Parameters: {"zoom"=>"4", "months"=>"3", "project_id"=>"some_project", "month"=>"11", "year"=>"2012"}
  Current user: user (id=3)

$ tail  thin.0.log
>> Writing PID to /home/redmine/www/tmp/pids/thin.0.pid
>> Changing process privilege to redmine:redmine
>> Using rack adapter
>> Thin web server (v1.5.0 codename Knife)
>> Maximum connections set to 1024
>> Listening on /tmp/thin-redmine.0.sock, CTRL+C to stop

Files

Selection_002.png (78 KB) Selection_002.png Anatolii Vorona, 2012-11-30 20:47
Selection_003.png (54 KB) Selection_003.png Anatolii Vorona, 2012-11-30 20:47

Related issues

Has duplicate Redmine - Defect #12732: Serveroverload after Gantt PNG exportClosed

Actions
Actions

Also available in: Atom PDF