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

Bug #1414828 reported by Son Nguyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Son Nguyen
1.10
Fix Released
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'.

Revision history for this message
Son Nguyen (ngson2000) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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)
Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "1.10_STABLE" branch: https://reviews.mahara.org/4298

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.