logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Moodle PHP status 3221225477 error
Author
danvaughan



Joined: 11 Sep 2012
Posts: 2
Location: uk

PostPosted: Tue 11 Sep '12 17:18    Post subject: Moodle PHP status 3221225477 error Reply with quote

so im running

PHP Version 5.3.6
Apache/2.2.19 (Win32) PHP/5.3.6
moodle 2.3.1

on windows


apache error log reads

[Tue Sep 11 14:46:38 2012] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Tue Sep 11 14:46:39 2012] [notice] Apache/2.2.19 (Win32) PHP/5.3.6 configured -- resuming normal operations
[Tue Sep 11 14:46:39 2012] [notice] Server built: May 21 2011 17:38:08
[Tue Sep 11 14:46:39 2012] [notice] Parent: Created child process 4268
[Tue Sep 11 14:46:39 2012] [debug] mpm_winnt.c(477): Parent: Sent the scoreboard to the child
[Tue Sep 11 14:46:40 2012] [notice] Child 4268: Child process is running
[Tue Sep 11 14:46:40 2012] [debug] mpm_winnt.c(398): Child 4268: Retrieved our scoreboard from the parent.
[Tue Sep 11 14:46:40 2012] [info] Parent: Duplicating socket 384 and sending it to child process 4268

i have spent 2 day trawling the internet trying to find a solution to this as this is happening as much as 3 times a minute im loosing my patience with the whole thing pleasse someone save me from madnes
Back to top
Smitty



Joined: 03 Jan 2008
Posts: 197

PostPosted: Tue 11 Sep '12 18:38    Post subject: Reply with quote

I run a large Moodle website and we ran into this problem last summer when we upgraded to Moodle 2.

We never could track down the problem, but in order to fix it we switched from using the thread safe PHP as an Apache module to using the NTS PHP via mod_fcgid. We are running Moodle 2.3.2 now with no problems.

Since then, I've been researching the problem more and I'm wondering if it might be related to the Apache stack size being 1 MB in Windows vs. 8 MB in Linux.

You can try to set your Apache thread stack size to 8 MB by putting:
Code:
ThreadStackSize 8388608

in your httpd.conf file and restarting Apache. If you get an error that it couldn't allocate enough threads, you'll need to lower your ThreadsPerChild value.

I would also suggest updating your PHP version to 5.3.16.
Back to top
danvaughan



Joined: 11 Sep 2012
Posts: 2
Location: uk

PostPosted: Wed 12 Sep '12 10:36    Post subject: thanks smitty Reply with quote

thanks ill give it a go
Back to top


Reply to topic   Topic: Moodle PHP status 3221225477 error View previous topic :: View next topic
Post new topic   Forum Index -> Other Software