General help

 
 
Picture of Chris Mr.
Windows server: Moodle Frequently Crashing
 

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: -
Sketch...
Re: Windows server: Moodle Frequently Crashing
Group Particularly helpful Moodlers

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.

 
Average of ratings: -
Picture of Fran San
Re: Windows server: Moodle Frequently Crashing
 

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

 

Has anybody solve this problem?

 

Thank you.

 
Average of ratings: -
Picture of Howard Miller
Re: Windows server: Moodle Frequently Crashing
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

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


Thanks

 
Average of ratings: -
Picture of Mark Jones
Re: Windows server: Moodle Frequently Crashing
 

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

 
Average of ratings: -
Picture of Mark Jones
Re: Windows server: Moodle Frequently Crashing
 

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

 
Average of ratings: -
Picture of Steve Kleine
Re: Windows server: Moodle Frequently Crashing
 

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.

 
Average of ratings: -
Picture of Lael ...
Re: Windows server: Moodle Frequently Crashing
 

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

 
Average of ratings: -
Sketch...
Re: Windows server: Moodle Frequently Crashing
Group Particularly helpful Moodlers

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.

 
Average of ratings: -