The cron 'export_process_queue' does not run as the false alarm server_busy

Bug #1414828 reported by Son Nguyen on 2015-01-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
High
Son Nguyen
1.10
High
Unassigned

Bug Description

Version: master(15.04), 1.10

The function server_busy() does not take into account the number of CPU cores. That's why it often returns true on the server with many CPU core.

This postpones the cron 'export_process_queue'.

Reviewed: https://reviews.mahara.org/4212
Committed: http://gitorious.org/mahara/mahara/commit/d4a689ce9c357faf58187dab1b1e84af90367a1e
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit d4a689ce9c357faf58187dab1b1e84af90367a1e
Author: Son Nguyen <email address hidden>
Date: Tue Jan 27 10:40:44 2015 +1300

Refactor the function server_busy(). Bug 1414828

Comment code for checking system load on Windows OS
This function returns false if server is running Windows

Change-Id: Ic3883a25f6a79d824a128f076c550f1b06bda195
Signed-off-by: Son Nguyen <email address hidden>

Robert Lyon (robertl-9) on 2015-02-20
Changed in mahara:
status: In Progress → Fix Committed

Reviewed: https://reviews.mahara.org/4298
Committed: http://gitorious.org/mahara/mahara/commit/6917b71083ed1e2c33c0ab2cc89602c34eabd2bb
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.10_STABLE

commit 6917b71083ed1e2c33c0ab2cc89602c34eabd2bb
Author: Son Nguyen <email address hidden>
Date: Tue Jan 27 10:40:44 2015 +1300

Refactor the function server_busy(). Bug 1414828

Comment code for checking system load on Windows OS
This function returns false if server is running Windows

Change-Id: Ic3883a25f6a79d824a128f076c550f1b06bda195
Signed-off-by: Son Nguyen <email address hidden>

Robert Lyon (robertl-9) on 2015-04-17
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers