Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Problems with Apache 2.2.8 restart |
|
Author |
|
jasch
Joined: 11 Apr 2008 Posts: 7
|
Posted: Fri 11 Apr '08 17:39 Post subject: Problems with Apache 2.2.8 restart |
|
|
I am using Apache 2.2.8 (downloaded from ASF, since I am running Win2000 with 2gb of RAM).
Normally, when I make changes to the configuration files, I just do a "httpd -k restart". This used to work great on 2.0.x, never had any problems.
On 2.2.8 after I while, I end up with several httpd.exe processes on my Task Manager. It seems Apache is not gracefully exiting, as the new process is started.
Right now I have 8 httpd.exe runnings...
Yesterday (before I rebooted the server), I had 4, and one of them was using 100% CPU.
Normally, when I start the server, I only see 2 instances...
Any ideas, or should I move back to 2.0.x ?
Thanks in advance. |
|
Back to top |
|
jasch
Joined: 11 Apr 2008 Posts: 7
|
Posted: Fri 11 Apr '08 18:06 Post subject: |
|
|
Here's the relevan portion of the logs
Code: | The Apache2.2 service is restarting.
The Apache2.2 service has restarted.
arent: Received restart signal -- Restarting the server.
Error in my_thread_global_end(): 1 threads didn't exit
nt signaled. Child process is ending.
[Fri Apr 11 10:00:22 2008] [warn] (OS 10038)An operation was attempted on something that is not a socket. : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed.
[Fri Apr 11 10:00:22 2008] [notice] Child 3372: Released the start mutex
[Fri Apr 11 10:00:28 2008] [notice] jrApache[init] JRun 4.0 (Build 108487) Apache 2.2 module - Jun 21 2007 14:43:39
[Fri Apr 11 10:00:28 2008] [notice] Apache/2.2.8 (Win32) mod_ssl/2.2.8 OpenSSL/0.9.8g JRun/4.0 PHP/5.2.5 configured -- resuming normal operations
[Fri Apr 11 10:00:28 2008] [notice] Server built: Jan 10 2008 19:57:10
[Fri Apr 11 10:00:28 2008] [notice] Parent: Created child process 524
[Fri Apr 11 10:00:28 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Apr 11 10:00:28 2008] [notice] jrApache[init] JRun 4.0 (Build 108487) Apache 2.2 module - Jun 21 2007 14:43:39
[Fri Apr 11 10:00:29 2008] [notice] jrApache[init] JRun 4.0 (Build 108487) Apache 2.2 module - Jun 21 2007 14:43:39
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Child process is running
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Acquired the start mutex.
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Starting 64 worker threads.
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Starting thread to listen on port 443.
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Starting thread to listen on port 443.
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Starting thread to listen on port 443.
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Starting thread to listen on port 443.
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Starting thread to listen on port 443.
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Starting thread to listen on port 443.
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Starting thread to listen on port 443.
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Starting thread to listen on port 443.
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Starting thread to listen on port 443.
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Starting thread to listen on port 443.
[Fri Apr 11 10:00:29 2008] [notice] Child 524: Starting thread to listen on port 80.
[Fri Apr 11 10:00:57 2008] [notice] Child 3372: Waiting 270 more seconds for 3 worker threads to finish.
[Fri Apr 11 10:01:30 2008] [notice] Child 3372: Waiting 240 more seconds for 2 worker threads to finish.
[Fri Apr 11 10:02:03 2008] [notice] Child 3372: Waiting 210 more seconds for 2 worker threads to finish.
[Fri Apr 11 10:02:11 2008] [warn] (OS 121)The semaphore timeout period has expired. : winnt_accept: Asynchronous AcceptEx failed.
[Fri Apr 11 10:02:21 2008] [notice] Child 3372: All worker threads have exited.
Error in my_thread_global_end(): 2 threads didn't exit
[Fri Apr 11 10:02:26 2008] [notice] Child 3372: Child process is exiting
[Fri Apr 11 10:03:52 2008] [warn] (OS 121)The semaphore timeout period has expired. : winnt_accept: Asynchronous AcceptEx failed.
[Fri Apr 11 10:03:52 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
[Fri Apr 11 10:03:52 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
[Fri Apr 11 10:03:52 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
[Fri Apr 11 10:04:06 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
|
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 11 Apr '08 19:25 Post subject: |
|
|
Quote: |
[Fri Apr 11 10:04:06 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
|
It's a known error that Windows 2000 sometimes does not work with AcceptEx. So add in your httpd.conf Win32DisableAcceptEx
For more details see the docs http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html |
|
Back to top |
|
|
|
|
|
|