Actions
Defect #19924
closedAdding subtask takes very long
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
One of our project have a parent task to group 1192 subtasks...
Showing the tasks details takes about 21s, most of it is in issues/show.html.erb.
Started GET "/redmine/issues/4821" for 127.0.0.1 at 2015-05-22 14:51:31 +0200 Processing by IssuesController#show as HTML Parameters: {"id"=>"4821"} Current user: XXX (id=10) Rendered issues/_action_menu.html.erb (0.0ms) Rendered issues/_action_menu.html.erb (0.0ms) Rendered attachments/_form.html.erb (0.0ms) Rendered issues/_edit.html.erb (0.0ms) Rendered plugins/redmine_agile/app/views/agile_boards/_issues_sidebar.html.erb (0.0ms) Rendered plugins/redmine_agile/app/views/agile_charts/_agile_charts.html.erb (0.0ms) Rendered issues/_sidebar.html.erb (0.0ms) Rendered issues/show.html.erb within layouts/base (20747.9ms) Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (0.0ms) Completed 200 OK in 21341ms (Views: 19312.7ms | ActiveRecord: 1747.2ms)
Adding new subtasks takes even more than 80s, most of it in ActiveRecord. This is real problem.
Started GET "/redmine/projects/XXX/issues?query_id=1617" for 127.0.0.1 at 2015-05-22 14:46:10 +0200 Processing by IssuesController#index as HTML Parameters: {"query_id"=>"1617", "project_id"=>"XXX"} Current user: XXX (id=154) Rendered queries/_filters.html.erb (93.6ms) Rendered queries/_columns.html.erb (15.6ms) Rendered mailer/_issue.text.erb (0.0ms) Rendered mailer/issue_add.text.erb within layouts/mailer (0.0ms) Rendered mailer/_issue.html.erb (15.6ms) Rendered mailer/issue_add.html.erb within layouts/mailer (15.6ms) Redirected to http://XXX/redmine/issues/22455 Completed 302 Found in 84240ms (ActiveRecord: 75192.0ms)
The group that is using it claims this was working fine in Redmine 2.x.
Now, we are running Bitnami 3.0.1 installation:
Environment: Redmine version 3.0.1.stable Ruby version 2.0.0-p594 (2014-10-27) [i386-mingw32] Rails version 4.2.0 Environment production Database adapter Mysql2 SCM: Subversion 1.8.10 Git 1.9.5 Filesystem Redmine plugins: inside_avatar 1.0.2 parent_issue_filter 1.0.1 redmine_agile 1.3.8 redmine_spent_time_column 2.1.0 redmine_version_fixed_issues 1.0.0 sidebar_hide 0.0.7
Files
Actions