You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2007/02/01 00:55:59 UTC

Re: [users@httpd] Apache 2.2.4 problem

You did something wrong - you installed junky software that breaks the
advanced sockets API's.

Try DisableWin32AcceptEx in your config

Владимир Андреев wrote:
> Hi! I was configuring Apache server and discovered one problem.
> Originally in in file httpd.conf I set up directive Listen 192.168.13.191:80 (192.168.13.191 is one of computer's IP addresses). Then I started server. All was OK. Then I again open http.conf file and changed Listen directive to *:80. After it I restarted server (I use shortcut in start menu), but it did not restarted, but terminated!
> In error.log I discover following lines:
> 
> [Wed Jan 31 23:18:50 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
> [Wed Jan 31 23:18:50 2007] [notice] Server built: Jan  9 2007 23:17:20
> [Wed Jan 31 23:18:50 2007] [notice] Parent: Created child process 3784
> [Wed Jan 31 23:18:51 2007] [notice] Child 3784: Child process is running
> [Wed Jan 31 23:18:51 2007] [notice] Child 3784: Acquired the start mutex.
> [Wed Jan 31 23:18:51 2007] [notice] Child 3784: Starting 250 worker threads.
> [Wed Jan 31 23:18:51 2007] [notice] Child 3784: Starting thread to listen on port 80.
> [Wed Jan 31 23:19:10 2007] [notice] Parent: Received restart signal -- Restarting the server.
> [Wed Jan 31 23:19:10 2007] [notice] Child 3784: Exit event signaled. Child process is ending.
> [Wed Jan 31 23:19:10 2007] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request.  : winnt_accept: Asynchronous AcceptEx failed.
> [Wed Jan 31 23:19:11 2007] [notice] Child 3784: Released the start mutex
> [Wed Jan 31 23:19:12 2007] [notice] Child 3784: Waiting for 250 worker threads to exit.
> [Wed Jan 31 23:19:12 2007] [notice] Child 3784: All worker threads have exited.
> [Wed Jan 31 23:19:12 2007] [notice] Child 3784: Child process is exiting
> 
> Is it bug, or maybe I do something wrong?
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> .
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2.2.4 problem

Posted by Владимир Андреев <Li...@yandex.ru>.
>Sounds like a good start, though.  Also try
>
>EnableMMAP Off
>EnableSendfile Off
>
>for good measure, to kill almost all the accelerated features.

I tried to use EnableMMAP Off and EnableSendfile Off, but it did not helped me. Server again terminates.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2.2.4 problem

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Владимир Андреев wrote:
> I tried to use Win32DisableAcceptEx directive - it did not solved the problem! Server again terminates, but in error log no messages about errors appears.

Sounds like a good start, though.  Also try

EnableMMAP Off
EnableSendfile Off

for good measure, to kill almost all the accelerated features.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2.2.4 problem

Posted by Владимир Андреев <Li...@yandex.ru>.
I tried to use Win32DisableAcceptEx directive - it did not solved the problem! Server again terminates, but in error log no messages about errors appears.

>You did something wrong - you installed junky software that breaks the
>advanced sockets API's.
>
>Try DisableWin32AcceptEx in your config

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org