Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am using WAMP server on Windows XP.

  • Apache 2.2.11
  • MySQL 5.1.36 (INNODB engine)
  • PHP 5.3.0

I observe that my WAMP server crashes in the following scenarios

  1. IF I use a Low end PC ( low processor speed and low RAM)
  2. After making some changes to httpd.conf file .For eg changing the Allow from IP address . But here it crashes only once and then it starts to work fine.
  3. Random crashes

CRASH LOG

szAppName : httpd.exe     szAppVer : 2.2.11.0     szModName : php5ts.dll     
szModVer : 5.3.0.0     offset : 0000c309     


C:\DOCUME~1\blrcom\LOCALS~1\Temp\WERc677.dir00\httpd.exe.mdmp
C:\DOCUME~1\blrcom\LOCALS~1\Temp\WERc677.dir00\appcompat.txt

My questions

  1. Does high CPU utilization/LOW RAM can also cause the HTTP server to crash ?
  2. excessive file reading as in every 10 seconds ?
  3. unlimited script execution time . I have set the maximum execution time in php script to 0 as my script has to execute for sometimes 2-3 days. Is there any way to avoid this ?
  4. Access to Database ? Should we use lock before reading and writing

Can these be the reasons for random wamp server crashes ? OR is is some other programming error ? Please guide me .

Regards, Mithun

share|improve this question

migrated from stackoverflow.com Mar 13 '10 at 2:46

This question came from our site for professional and enthusiast programmers.

    
slashdot ​​​​​ –  voyager Mar 13 '10 at 2:34
    
I started having issues with my wamp server (installed on a flash drive) when somewhere along the way I had decided to go from the lite install to the full install and thought it would be okay to simply overwrite the lite version. As I recall, I also screwed up and didn't have the servers fully independent of the computer doing the install. Oddly enough, it ran great when I took it to other (better) machines, but on the original host, HTTP would start and stop every 10 minutes. Long story short, you could always back up the data and start over, just to see if that helps. –  Anthony Mar 13 '10 at 4:09
add comment

1 Answer 1

Low RAM may indeed cause a crash, if and when memory allocation fails. None of the other reasons you mentioned should cause a crash.

The crash most likely occurs inside mod_php. You should be able to obtain a stack trace from the crash report, which will pinpoint much more precisely what the cause of the crash is.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.