Page 1 of 1

Apache crashing every ten minutes

PostPosted: 15. June 2006 23:02
by Severe
Hello,

I've switched from XAMPP 1.5.0 to 1.5.3a.
Installation went fine at first but for some reason, Apache keeps crashing about every ten minutes.

The only errors I get are these:

error.log:
Code: Select all
[notice] Parent: child process exited with status 3221225725 -- Restarting.
[Thu Jun 15 23:47:16 2006] [notice] Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4 configured -- resuming normal operations
 [notice] Server built: May  9 2006 14:08:48
 [notice] Parent: Created child process 1544
 [notice] Child 1544: Child process is running
 [notice] Child 1544: Acquired the start mutex.
 [notice] Child 1544: Starting 250 worker threads.
 [notice] Child 1544: Starting thread to listen on port 443.
 [notice] Child 1544: Starting thread to listen on port 80.
 [warn] (OS 121)The semaphore timeout period has expired.  : winnt_accept: Asynchronous AcceptEx failed.


Windows Application Event Log
Code: Select all
The Apache service named  reported the following error:
>>> [Mon Jun 05 20:04:15 2006] [warn] NameVirtualHost *:80 has no VirtualHosts     .


I copied the virtual hosts at the end of the httpd.conf to the new httpd.conf
but now it doesn't seem to work.
Code: Select all
NameVirtualHost *:80

<VirtualHost *:80>
   ServerName www.flexz.com
   ServerAlias flexz.com *.flexz.com
   DocumentRoot c:/XAMPP/xampp/htdocs/flexzportal/
</VirtualHost>

<VirtualHost *:80>
   ServerName www.guardiansofwarcraft.net
   DocumentRoot c:/XAMPP/xampp/htdocs/guardians/
</VirtualHost>

<VirtualHost *:80>
   ServerName www.dekraaijenberg.org
   DocumentRoot c:/XAMPP/xampp/htdocs/guardianstest/
</VirtualHost>

<VirtualHost *:80>
   ServerName www.dekraaijenberg.nl
   DocumentRoot c:/XAMPP/xampp/htdocs/portal/
</VirtualHost>


Also the /tmp directory has about 700 files in it I never noticed that before.

I have set php to also log errors but it's not making a log file.

System Information:

PHP built On: Windows NT FLEXZWEB-001 5.0 build 2195 (Windows 2000 Professional +SP4)
Database Version: 5.0.21-community-nt
PHP Version: 5.1.4
Web Server: Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4
WebServer to PHP interface: apache2handler

mod_rewrite set to on because of SEF on Joomla
Database Collation: UFT8_general_ci

Probably I did something very wrong during the install but I can;t seem to find out what :(

Thanks in advance

PostPosted: 19. June 2006 20:47
by Kristian Marcroft
Hi,

please check your configuration for this:

get rid of the... if it's there:

Code: Select all
<IfDefine AEX>
Win32DisableAcceptEx
</IfDefine>


And use this instead...

Code: Select all
EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx


Regards,
Kristian Marcroft

PostPosted: 20. June 2006 01:31
by Severe
Thanks :)

I'll go check it right away and change where needed.


Thanks again

PostPosted: 20. June 2006 07:28
by Kristian Marcroft
Hi,

please also give feedback if this helps.

Thanks
Kristian Marcroft