• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

WAMP - Apache crashing issue while crawling

#1
WAMP - Apache crashing issue while be crawled.

I've been trying to track this problem down since last year and have finally pin pointed the problem to Xenforo. Now before you shoot me down in flames here me out. I've been suffering with random crashes in apache for a very long time and been looking closely towards a server problem but this is no longer the case. I did 3 crawl tests on the same server with the same configuration options using the same database. I used a package called Netsparker (Crawl only settings) and came up with some interesting results. I also have a VB and Flash blog installation on the server which i tested very extensively and they completed the craw test with no crashes within the apache log. However when i did the test on Xenforo the server keeps restarting with a 255 restart. I'm still unable to track down the problem URL's that's cause the crash. This is not just a local problem but an external too. I have tested the new 1.1.0 b4 and does far better then 1.0.4 but still crashes.

Windows 7 pro 32Bit SP1
Netsparker 1.7.2.13
Wamp Developer Pro V4.0.3.3

Capture-xenforo.PNG


[Fri Nov 04 12:41:35 2011] [notice] Apache/2.2.20 (Win32) configured -- resuming normal operations
[Fri Nov 04 12:41:35 2011] [notice] Server built: Sep 8 2011 13:27:47
[Fri Nov 04 12:41:35 2011] [notice] Parent: Created child process 4188
[Fri Nov 04 12:41:35 2011] [debug] mpm_winnt.c(477): Parent: Sent the scoreboard to the child
[Fri Nov 04 12:41:36 2011] [notice] Child 4188: Child process is running
[Fri Nov 04 12:41:36 2011] [info] Parent: Duplicating socket 364 and sending it to child process 4188
[Fri Nov 04 12:41:36 2011] [debug] mpm_winnt.c(398): Child 4188: Retrieved our scoreboard from the parent.
[Fri Nov 04 12:41:36 2011] [debug] mpm_winnt.c(595): Parent: Sent 1 listeners to child 4188
[Fri Nov 04 12:41:36 2011] [debug] mpm_winnt.c(554): Child 4188: retrieved 1 listeners from parent
[Fri Nov 04 12:41:36 2011] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 4188 for worker proxy:reverse
[Fri Nov 04 12:41:36 2011] [debug] proxy_util.c(1914): proxy: initialized worker 0 in child 4188 for (*) min=0 max=256 smax=256
[Fri Nov 04 12:41:36 2011] [notice] Child 4188: Acquired the start mutex.
[Fri Nov 04 12:41:36 2011] [notice] Child 4188: Starting 256 worker threads.
[Fri Nov 04 12:41:36 2011] [notice] Child 4188: Starting thread to listen on port 80.
[Fri Nov 04 12:42:00 2011] [notice] Parent: child process exited with status 255 -- Restarting.
[Fri Nov 04 12:42:00 2011] [notice] Apache/2.2.20 (Win32) configured -- resuming normal operations
[Fri Nov 04 12:42:00 2011] [notice] Server built: Sep 8 2011 13:27:47
[Fri Nov 04 12:42:00 2011] [notice] Parent: Created child process 11156
[Fri Nov 04 12:42:00 2011] [debug] mpm_winnt.c(477): Parent: Sent the scoreboard to the child
[Fri Nov 04 12:42:00 2011] [notice] Child 11156: Child process is running
[Fri Nov 04 12:42:00 2011] [debug] mpm_winnt.c(398): Child 11156: Retrieved our scoreboard from the parent.
[Fri Nov 04 12:42:00 2011] [info] Parent: Duplicating socket 364 and sending it to child process 11156
[Fri Nov 04 12:42:00 2011] [debug] mpm_winnt.c(595): Parent: Sent 1 listeners to child 11156
[Fri Nov 04 12:42:00 2011] [debug] mpm_winnt.c(554): Child 11156: retrieved 1 listeners from parent
[Fri Nov 04 12:42:00 2011] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 11156 for worker proxy:reverse
[Fri Nov 04 12:42:00 2011] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Fri Nov 04 12:42:00 2011] [debug] proxy_util.c(1914): proxy: initialized worker 0 in child 11156 for (*) min=0 max=256 smax=256
[Fri Nov 04 12:42:00 2011] [notice] Child 11156: Acquired the start mutex.
[Fri Nov 04 12:42:00 2011] [notice] Child 11156: Starting 256 worker threads.
[Fri Nov 04 12:42:00 2011] [notice] Child 11156: Starting thread to listen on port 80.
[Fri Nov 04 12:42:11 2011] [notice] Parent: child process exited with status 255 -- Restarting.
[Fri Nov 04 12:42:11 2011] [notice] Apache/2.2.20 (Win32) configured -- resuming normal operations
[Fri Nov 04 12:42:11 2011] [notice] Server built: Sep 8 2011 13:27:47
[Fri Nov 04 12:42:11 2011] [notice] Parent: Created child process 8252
[Fri Nov 04 12:42:11 2011] [debug] mpm_winnt.c(477): Parent: Sent the scoreboard to the child
[Fri Nov 04 12:42:11 2011] [notice] Child 8252: Child process is running
[Fri Nov 04 12:42:11 2011] [info] Parent: Duplicating socket 364 and sending it to child process 8252
[Fri Nov 04 12:42:11 2011] [debug] mpm_winnt.c(398): Child 8252: Retrieved our scoreboard from the parent.
[Fri Nov 04 12:42:11 2011] [debug] mpm_winnt.c(595): Parent: Sent 1 listeners to child 8252
[Fri Nov 04 12:42:11 2011] [debug] mpm_winnt.c(554): Child 8252: retrieved 1 listeners from parent
[Fri Nov 04 12:42:11 2011] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 8252 for worker proxy:reverse
[Fri Nov 04 12:42:11 2011] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Fri Nov 04 12:42:11 2011] [debug] proxy_util.c(1914): proxy: initialized worker 0 in child 8252 for (*) min=0 max=256 smax=256
[Fri Nov 04 12:42:11 2011] [notice] Child 8252: Acquired the start mutex.
[Fri Nov 04 12:42:11 2011] [notice] Child 8252: Starting 256 worker threads.
[Fri Nov 04 12:42:11 2011] [notice] Child 8252: Starting thread to listen on port 80.

Capture-xenfor2.PNG

Also there is a 500 server error created with these URL's

/login/login/
/lost-password/lost

Only happens on the Xenforo installation for some resion.
 

Slavik

XenForo moderator
Staff member
#2
WAMP
^ heres your problem, windows :D

The error pertaining to the php module would be my first guess, have you tried using a different php version?
 
#3
WAMP
^ heres your problem, windows :D

The error pertaining to the php module would be my first guess, have you tried using a different php version?
I really don't wan't to give up my Wamp :(

Yes i have tried lots of different PHP, Apache, SQL versions. This has been with me since the beta days of Xenforo i was unable to track down what was happening till a few days ago. VB and my flash blog works wonderful.
 

Slavik

XenForo moderator
Staff member
#4
I really don't wan't to give up my Wamp :(

Yes i have tried lots of different PHP, Apache, SQL versions. This has been with me since the beta days of Xenforo i was unable to track down what was happening till a few days ago. VB and my flash blog works wonderful.
Unfortunately, the errors you provide are vague, a 0xc000000000005 releates to an access violation error, the best I could suggest is running an indepth memtest to see if you may have a fault there.

Otherwise, come join the linux brigade ;)
 
#5
Unfortunately, the errors you provide are vague, a 0xc000000000005 releates to an access violation error, the best I could suggest is running an indepth memtest to see if you may have a fault there.

Otherwise, come join the linux brigade ;)
There is no memory faults on the server and if this was the case wouldn't the other 2 sites crash also :whistle: . Unfortunately switching to Linux is not a option for me. Plus i know nothing about Linux anyway :cry:.
 

Slavik

XenForo moderator
Staff member
#6
There is no memory faults on the server and if this was the case wouldn't the other 2 sites crash also :whistle: . Unfortunately switching to Linux is not a option for me. Plus i know nothing about Linux anyway :cry:.
You never know, I know your logic but ive seen situations before than defy that logic so pushing the boat out sometimes helps.

Either way, you will probably need to get a window server expert to have a look for you, though have you tried just doing a backup and complete rebuild of the server?
 
#7
Yes server was completely rebuilt Sep 8 2011 with the OS and Wamp. I have been testing this on my test installion also (another computer) and still does this with a completely clean installion of Xenforo and database. :(
 

mrGTB

Well-known member
#8
I use WAMP and it runs perfect for me with XenForo, but then I'm on Windows XP. Does WampServer even work on Windows 7?

You also have to make sure you don't have IIS (ISS), not sure which it's called? Running in the background that comes with most "PRO" versions of Windows. WampServer is also very funny depending on which version you download and use. The best version I found was WampServer 2.0 (first release) made. I've tested them all and some will give you errors in logs.

The version I use doesn't give any errror logs after a lot of trial and error testing out each version of Wamp.
 

mrGTB

Well-known member
#9
Best version is this one:

WampServer 2.0
PHP 5.2.6
Apache 2.2.8
MySQL 5.0.51b

It might be an older version, but it's the best one.
 

Sadik B

Well-known member
#10
Lol...

So much trouble for something so simple. If you had tried googling for Apache php5ts.dll it would have told you that this is a very common error with WAMP installations on windows servers. The issue is caused by when php is used as a compiled Apache module. Apache crashes because the php module does something which the operating system, windows, does not allow it to do and it terminates the entire process, meaning Apache.

In most cases the solution would be to use the latest WAMP / XAMPP versions. It's something very difficult to pinpoint to the exact fault though, unless you happen to be able to debug windows dlls.

And for the record it's not a XF error. It will happen with even a simple phpinfo() file for servers where the fault happens.
 
#11
Best version is this one:

WampServer 2.0
PHP 5.2.6
Apache 2.2.8
MySQL 5.0.51b

It might be an older version, but it's the best one.
Thanks mrGTB i'll see if i can intergrate it some how into the software.
http://www.devside.net/server/webdeveloper

Lol...

So much trouble for something so simple. If you had tried googling for Apache php5ts.dll it would have told you that this is a very common error with WAMP installations on windows servers. The issue is caused by when php is used as a compiled Apache module. Apache crashes because the php module does something which the operating system, windows, does not allow it to do and it terminates the entire process, meaning Apache.

In most cases the solution would be to use the latest WAMP / XAMPP versions. It's something very difficult to pinpoint to the exact fault though, unless you happen to be able to debug windows dlls.

And for the record it's not a XF error. It will happen with even a simple phpinfo() file for servers where the fault happens.
Thanks for the insight sadikb (y) . I did call phpinfo() and produced no system errors. I can understand what every one is saying but i still wish to know why Xenforo is crashing Wamp and Vbulletin is not. If this was a total Wamp problem would they not both be doing it.
 

Sadik B

Well-known member
#14
Thanks for the insight sadikb (y) . I did call phpinfo() and produced no system errors. I can understand what every one is saying but i still wish to know why Xenforo is crashing Wamp and Vbulletin is not. If this was a total Wamp problem would they not both be doing it.
My suggestion would be to try an alternate LAMP setup. Install Xampp and see if the same error occurs.
 
#15
Is not as easy as that. I have 3 domains running on my existing Wamp installation. It's not something i can just try if you know what i mean. Everything on my current software is different to the rest. Dir's, Config files, everything really..... The idea was to make it easy to maintain and repair if required. I haven't got the technical background to configure such a setup from scratch.
 
#17
"WAMP" just means "Window+Apache+MySQL+PHP"... It's any package that contains at least those 4 applications. Some people just call whatever they are using as "WAMP" ... whether its WampDeveloper, WampServer, Xampp, etc.
So if this is the case by changing Apache, MySQL and PHP to the versions mrGTB said should correct the problem yes?

Guess i can't as they need to be VC9 complied to work. :cry: