Error Log- Apache takes up 99% CPU

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Error Log- Apache takes up 99% CPU

Postby sthosting » 07. April 2006 02:48

I have windows os ..
My server sometimes will run and stay at 99% CPU and the server wont server any pages at this time..
i checked the error logs and found this..

[Thu Apr 06 17:34:33 2006] [warn] (OS 121)The semaphore timeout period has expired. : winnt_accept: Asynchronous AcceptEx failed.
[Thu Apr 06 17:44:10 2006] [warn] (OS 121)The semaphore timeout period has expired. : winnt_accept: Asynchronous AcceptEx failed.
[Thu Apr 06 17:44:10 2006] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
[Thu Apr 06 17:44:10 2006] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
[Thu Apr 06 17:44:11 2006] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
[Thu Apr 06 19:16:10 2006] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
[Thu Apr 06 21:04:49 2006] [warn] (OS 121)The semaphore timeout period has expired. : winnt_accept: Asynchronous AcceptEx failed.
[Thu Apr 06 21:31:06 2006] [warn] Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
[Thu Apr 06 21:41:06 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Apr 06 21:41:06 2006] [notice] Child 2928: Exit event signaled. Child process is ending.
[Thu Apr 06 21:41:18 2006] [warn] pid file K:/xampplite/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

I have raised the ThreadsPerChild in the httpd.mem.conf file to 100 what else can i do? Iam doing this right?
sthosting
 
Posts: 19
Joined: 26. January 2006 06:10

Postby Kolle » 07. April 2006 03:22

Look at the thread on the top of page 4.

* My CPU load is with the Apache almost by 99%
Please, enable following line = > # Win32DisableAcceptEx in the /xampp/Apache/conf/httpd.conf.

In this case correct is: Win32DisableAcceptEx

The newer Apache versions have been an improved Winsock 2 support. But it does not work correctly with the Windows home versions. The statement "Win32DisableAcceptEx" in the httpd.conf deactivate this support. Sometimes, some Windows NT systems make trouble too. We do not know why.

-----------------------------------------------------------------------------------

Implement this at the end of the conf file.

# Win32DisableAcceptEx --> /xampp/Apache/conf/httpd.conf

Think this helped me.
Last edited by Kolle on 07. April 2006 04:25, edited 1 time in total.
Kolle
 
Posts: 12
Joined: 01. April 2006 02:46

Postby sthosting » 07. April 2006 04:20

Thank you .. I Added this to line 66 or sumthing like that .. where exatly do i put this??
sthosting
 
Posts: 19
Joined: 26. January 2006 06:10

Postby Kolle » 07. April 2006 04:24

I put it in the end of the file. Dont know if it works, but it seems like that. Haven`t had the problem after adding that line.
Kolle
 
Posts: 12
Joined: 01. April 2006 02:46

Postby sthosting » 08. April 2006 03:00

OK Im trying this again .. put this code at the end of my httpd.conf file

Code: Select all
# Note: The following must must be present to support
#       starting without SSL on platforms with no /dev/random equivalent
#       but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
# Win32DisableAcceptEx


is this where i put it and how its done?
Image
sthosting
 
Posts: 19
Joined: 26. January 2006 06:10

Postby sthosting » 08. April 2006 03:13

I have done this and it still freezes .. any one on this forum who knows how to fix this and knows what there talking about ??
Image
sthosting
 
Posts: 19
Joined: 26. January 2006 06:10

Postby Kolle » 08. April 2006 12:31

Kolle
 
Posts: 12
Joined: 01. April 2006 02:46

Postby Meisam » 09. April 2006 04:32

try removing the # from # Win32DisableAcceptEx

Meisam
Meisam
 
Posts: 11
Joined: 01. March 2006 03:05


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 68 guests