After upgrading from 3.0.hghest to 3.1.highest (via git), an unusual situation. Upgrade reported NO issues. CentOS 6.highest, 8 Gig memory hosted on Rackspace (General Purpose offering). PHP and MySQL versions acceptable for Mdl version. Owerships/permissions are correct ... the 'Upload User Pictures' link comes from same directory but to a specific .php file. UploadUsers goes to the index.php in /moodlecode/admin/tool/uploaduser/
Behavior noted ... after clicking on the link, an httpd service is launched and in a second or two, that one instance pegs the CPU at 100%. In watching top, can see that same httpd process slip to 99.5% (or so) of CPU then back up to 100% CPU. Does that until 'white screen of death' appears. With Moodle error set to developer, nothing appears. PHP settings for memory for a script to run set to 128MB, timeout set to 300 (was 90). Max packets increased to almost it's max. Can find nothing in servers logs that indicate an error.
Other odd behavior ... in logs ... for the admin user Moodle occassionally shows admin users last IP as IPv6. Rackspace says one cannot disable the IPv6 assigned to server.
Have checked the uploaduser index.php script and in the top lines:
require('../../../config.php');
require_once($CFG->libdir.'/adminlib.php');
require_once($CFG->libdir.'/csvlib.class.php');
require_once($CFG->dirroot.'/user/profile/lib.php');
require_once($CFG->dirroot.'/user/lib.php');
require_once($CFG->dirroot.'/group/lib.php');
require_once($CFG->dirroot.'/cohort/lib.php');
require_once('locallib.php');
require_once('user_form.php');
$iid = optional_param('iid', '', PARAM_INT);
$previewrows = optional_param('previewrows', 10, PARAM_INT);
core_php_time_limit::raise(60*60); // 1 hour should be enough
raise_memory_limit(MEMORY_HUGE);
All files required are present and readable, but that the heck does that last line raise the memory to?
Site is not using groups nor cohorts.
I'd write this up for Tracker, but 3.1 (even though 'long term support') is for security fixes only now.
Anyone see anything like this?
'spirit of sharing', Ken