Windows Apache 2.4.9 restarts itself

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I face the problem, that Apache restarts itself unexpecteldy without
obvious reason.

-> (OS 6)The handle is invalid.  : AH00356: Child: WAIT_FAILED --
shutting down server
-> (OS 10038)An operation was attempted on something that is not a
socket.  : AH00344: accept() failed.

Apache Version:
  * Problem occurs on 2.4.9, both VC10 and VC11 compiled ones
  * Problem does NOT occur on 2.4.4
Operating System:
  * Microsoft Windows Server 2012 Standard

The problem occurs since the Apache upgrade from 2.4.4 to 2.4.9.
At this moment I reverted to 2.4.4 again because the random restarts
cause downtimes.


Relevant configuration settings:
ThreadsPerChild 300
AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off


Apache works as a caching reverse proxy (mod_cache_disk)


Typical logfile fragment:
[log]
[Fri May 23 07:53:58.344457 2014] [mpm_winnt:crit] [pid 42540:tid 380]
(OS 6)The handle is invalid.  : AH00356: Child: WAIT_FAILED --
shutting down server
[Fri May 23 07:54:03.757607 2014] [mpm_winnt:warn] [pid 42540:tid
4212] (OS 10038)An operation was attempted on something that is not a
socket.  : AH00344: accept() failed.
[Fri May 23 07:54:30.288807 2014] [mpm_winnt:notice] [pid 42540:tid
380] AH00362: Child: Waiting 270 more seconds for 5 worker threads to
finish.
[Fri May 23 07:55:00.329552 2014] [mpm_winnt:notice] [pid 42540:tid
380] AH00362: Child: Waiting 240 more seconds for 1 worker threads to
finish.
[Fri May 23 07:55:30.370221 2014] [mpm_winnt:notice] [pid 42540:tid
380] AH00362: Child: Waiting 210 more seconds for 1 worker threads to
finish.
[Fri May 23 07:55:47.893020 2014] [mpm_winnt:notice] [pid 42540:tid
380] AH00364: Child: All worker threads have exited.
[Fri May 23 07:55:48.010131 2014] [mpm_winnt:notice] [pid 36544:tid
516] AH00428: Parent: child process 42540 exited with status 0 --
Restarting.
[Fri May 23 07:55:48.801890 2014] [mpm_winnt:notice] [pid 36544:tid
516] AH00455: Apache/2.4.9 (Win64) OpenSSL/1.0.1g configured --
resuming normal operations
[Fri May 23 07:55:48.801890 2014] [mpm_winnt:notice] [pid 36544:tid
516] AH00456: Apache Lounge VC10 Server built: Mar 17 2014 12:11:31
[Fri May 23 07:55:48.801890 2014] [core:notice] [pid 36544:tid 516]
AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Fri May 23 07:55:48.802891 2014] [mpm_winnt:notice] [pid 36544:tid
516] AH00418: Parent: Created child process 33888
[Fri May 23 07:55:50.263291 2014] [mpm_winnt:notice] [pid 33888:tid
380] AH00354: Child: Starting 300 worker threads.
[Fri May 23 11:58:09.232804 2014] [mpm_winnt:crit] [pid 33888:tid 380]
(OS 6)The handle is invalid.  : AH00356: Child: WAIT_FAILED --
shutting down server
[Fri May 23 11:58:10.710220 2014] [mpm_winnt:warn] [pid 33888:tid
5008] (OS 10038)An operation was attempted on something that is not a
socket.  : AH00344: accept() failed.
[Fri May 23 11:58:28.546422 2014] [mpm_winnt:warn] [pid 33888:tid
3320] (OS 10038)An operation was attempted on something that is not a
socket.  : AH00344: accept() failed.
[Fri May 23 11:58:41.169814 2014] [mpm_winnt:notice] [pid 33888:tid
380] AH00362: Child: Waiting 270 more seconds for 8 worker threads to
finish.
[Fri May 23 11:59:11.208219 2014] [mpm_winnt:notice] [pid 33888:tid
380] AH00362: Child: Waiting 240 more seconds for 3 worker threads to
finish.
[Fri May 23 11:59:41.245781 2014] [mpm_winnt:notice] [pid 33888:tid
380] AH00362: Child: Waiting 210 more seconds for 1 worker threads to
finish.
[Fri May 23 12:00:11.277011 2014] [mpm_winnt:notice] [pid 33888:tid
380] AH00362: Child: Waiting 180 more seconds for 1 worker threads to
finish.
[Fri May 23 12:00:41.305795 2014] [mpm_winnt:notice] [pid 33888:tid
380] AH00362: Child: Waiting 150 more seconds for 1 worker threads to
finish.
[Fri May 23 12:01:11.335526 2014] [mpm_winnt:notice] [pid 33888:tid
380] AH00362: Child: Waiting 120 more seconds for 1 worker threads to
finish.
[Fri May 23 12:01:15.840009 2014] [mpm_winnt:notice] [pid 33888:tid
380] AH00364: Child: All worker threads have exited.
[Fri May 23 12:01:15.953118 2014] [mpm_winnt:notice] [pid 36544:tid
516] AH00428: Parent: child process 33888 exited with status 0 --
Restarting.
[Fri May 23 12:01:16.820952 2014] [mpm_winnt:notice] [pid 36544:tid
516] AH00455: Apache/2.4.9 (Win64) OpenSSL/1.0.1g configured --
resuming normal operations
[Fri May 23 12:01:16.820952 2014] [mpm_winnt:notice] [pid 36544:tid
516] AH00456: Apache Lounge VC10 Server built: Mar 17 2014 12:11:31
[Fri May 23 12:01:16.820952 2014] [core:notice] [pid 36544:tid 516]
AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Fri May 23 12:01:16.820952 2014] [mpm_winnt:notice] [pid 36544:tid
516] AH00418: Parent: Created child process 24388
[Fri May 23 12:01:18.308375 2014] [mpm_winnt:notice] [pid 24388:tid
376] AH00354: Child: Starting 300 worker threads.
[/log]

Have you got any idea, why this can happen?

In the windows eventlog I can't find any relevant entries at the time
that apache restarts.

Please help if you can

Kind Regards
Maria Imp

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux