Windows server: Moodle Frequently Crashing

Windows server: Moodle Frequently Crashing

by Chris Mr. -
Number of replies: 8

I'm working on Moodle currently on an desktop based server, running Windows 7. Moodle crashes very frequently; at least 10 times a day, when I'm doing various tasks in the system (editing courses, enabling cohorts, attaching RSS feeds etc). It's always Apache crashing. This is the error message I get. 

Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    httpd.exe
  Application Version:    2.2.17.0
  Application Timestamp:    4cbbe9e8
  Fault Module Name:    php5ts.dll
  Fault Module Version:    5.3.5.0
  Fault Module Timestamp:    4d26013e
  Exception Code:    c0000005
  Exception Offset:    0000c5c6
  OS Version:    6.1.7601.2.1.0.768.3
  Locale ID:    1033
  Additional Information 1:    0a9e
  Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:    0a9e
  Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

Can anybody help me figure out how to solve this issue? Will this issue also be present if/when we transfer the system over to a non-locally hosted server?

Average of ratings: -
In reply to Chris Mr.

Re: Windows server: Moodle Frequently Crashing

by Luis de Vasconcelos -

php5ts.dll is one of the main PHP files, so it seems like a problem with your Apache or PHP configuration. The PHP config file, php.ini, has a few debug settings. Turn those on and then look at the PHP and Moodle error logs for any clues.

Also turn on the Debugging mode in Moodle and then look at the Moodle logs after the error occurs again.

http://docs.moodle.org/22/en/Debugging

Also, run the PHPInfo command and see if it reveals any problems.

In reply to Luis de Vasconcelos

Re: Windows server: Moodle Frequently Crashing

by Fran San -

I have the same problem. Moodle logs and phpinfo() did show nothing wrong.

 

Has anybody solve this problem?

 

Thank you.

In reply to Fran San

Re: Windows server: Moodle Frequently Crashing

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Please start a new thread with a full description of your problem. Including full version information for Moodle, PHP, database, OS etc.


Thanks

In reply to Fran San

Re: Windows server: Moodle Frequently Crashing

by Mark Jones -

i would reccomend using the nts version of php on a windows server.

In reply to Fran San

Re: Windows server: Moodle Frequently Crashing

by Mark Jones -

i would reccomend using the nts version of php on a windows server.

In reply to Mark Jones

Re: Windows server: Moodle Frequently Crashing

by Steve Kleine -

I completely concur. We have the exact same issues with the XAMPP install on Windows 2008 R2 and only got then resolved by moving to IIS7.

None of the fixes - eAccelerator on and off, upgrades to PHP and Apache, or anything else I found - did anything useful to bring stability.

In reply to Steve Kleine

Re: Windows server: Moodle Frequently Crashing

by Lael ... -

I agree - Apache has crashed for us a LOT. Although there have been 'magic' periods when everything works fine. No clear reason why it does /doesn't crash.

Currently using Apache 2.2.22, php 5.3.18ts and xcache3 - and very nicely stable atm. apache from apachelounge

In reply to Steve Kleine

Re: Windows server: Moodle Frequently Crashing

by Luis de Vasconcelos -

Moral of the story: don't use XAMPP! wink

Rather install each of the components (PHP, DB, IIS/Apache, Moodle) individually and get each one tuned and optimised correctly before moving onto the next one.