Server not answering. Can error logs help?

Server not answering. Can error logs help?

am 21.11.2007 10:19:07 von geometris

Hi,

Sometimes, my server is like frozen and doesn't serve the asked web
site.
It's boring as this makes my server unreliable and as I cannot know
when this happens until I myself try to access the website with a
browser.

I use dynamic IP with dynamic dns update, but the problem occurs also
if I detect my public IP with an external web site and then try access
my web site by typing the IP instead of hte URL. So, a priori, the
problem seems not come from the dynamic ip.

My website is a virtual host. I looked in the error.log for the root
server and found some [warn] message. Unfortunately, I cannot
understand them. Can they help to find out why the server was not
answering?

Could one of you give me some help? The messages are below.

Thanks.

(...)
[Wed Nov 21 04:37:55 2007] [warn] (OS 64)Le nom r=E9seau sp=E9cifi=E9 n'est
plus disponible. : winnt_accept: Asynchronous AcceptEx failed.
-------------------------------------------
Here the server doesn't work.
The web site is found but does not answer, even when typing the IP
address instead of the URL.
The server is like frozen. So, I restart Apache with the monitor.
All works fine after, but strangely, new warning messages print in the
error.log for the root server.
-------------------------------------------
[Wed Nov 21 09:56:55 2007] [notice] Parent: Received restart signal --
Restarting the server.
[Wed Nov 21 09:56:55 2007] [notice] Child 1024: Exit event signaled.
Child process is ending.
[Wed Nov 21 09:56:55 2007] [notice] Apache/2.2.4 (Win32) configured --
resuming normal operations
[Wed Nov 21 09:56:55 2007] [notice] Server built: Jan 9 2007 23:17:20
[Wed Nov 21 09:56:55 2007] [notice] Parent: Created child process 3860
[Wed Nov 21 09:56:56 2007] [notice] Child 3860: Child process is
running
[Wed Nov 21 09:56:56 2007] [notice] Child 1024: Released the start
mutex
[Wed Nov 21 09:56:56 2007] [notice] Child 3860: Acquired the start
mutex.
[Wed Nov 21 09:56:56 2007] [notice] Child 3860: Starting 64 worker
threads.
[Wed Nov 21 09:56:56 2007] [notice] Child 3860: Starting thread to
listen on port 80.
[Wed Nov 21 09:56:56 2007] [warn] (OS 64)Le nom r=E9seau sp=E9cifi=E9 n'est
plus disponible. : winnt_accept: Asynchronous AcceptEx failed.
[Wed Nov 21 09:56:56 2007] [warn] (OS 64)Le nom r=E9seau sp=E9cifi=E9 n'est
plus disponible. : winnt_accept: Asynchronous AcceptEx failed.
[Wed Nov 21 09:56:56 2007] [warn] (OS 64)Le nom r=E9seau sp=E9cifi=E9 n'est
plus disponible. : winnt_accept: Asynchronous AcceptEx failed.
[Wed Nov 21 09:56:56 2007] [warn] (OS 64)Le nom r=E9seau sp=E9cifi=E9 n'est
plus disponible. : winnt_accept: Asynchronous AcceptEx failed.
[Wed Nov 21 09:56:56 2007] [warn] (OS 64)Le nom r=E9seau sp=E9cifi=E9 n'est
plus disponible. : winnt_accept: Asynchronous AcceptEx failed.
[Wed Nov 21 09:56:56 2007] [warn] (OS 64)Le nom r=E9seau sp=E9cifi=E9 n'est
plus disponible. : winnt_accept: Asynchronous AcceptEx failed.
[Wed Nov 21 09:56:56 2007] [warn] (OS 64)Le nom r=E9seau sp=E9cifi=E9 n'est
plus disponible. : winnt_accept: Asynchronous AcceptEx failed.
[Wed Nov 21 09:56:56 2007] [warn] (OS 64)Le nom r=E9seau sp=E9cifi=E9 n'est
plus disponible. : winnt_accept: Asynchronous AcceptEx failed.
[Wed Nov 21 09:56:56 2007] [warn] (OS 64)Le nom r=E9seau sp=E9cifi=E9 n'est
plus disponible. : winnt_accept: Asynchronous AcceptEx failed.
[Wed Nov 21 09:56:57 2007] [notice] Child 1024: Waiting for 64 worker
threads to exit.
[Wed Nov 21 09:56:57 2007] [notice] Child 1024: All worker threads
have exited.
[Wed Nov 21 09:56:57 2007] [notice] Child 1024: Child process is
exiting

Re: Server not answering. Can error logs help?

am 21.11.2007 12:32:47 von HansH

schreef in bericht
news:ea56ccca-ab90-41f7-af16-11c3a6b7f2b9@o6g2000hsd.googleg roups.com...

> (...)
> [Wed Nov 21 04:37:55 2007] [warn] (OS 64)Le nom réseau spécifié n'est
> plus disponible. : winnt_accept: Asynchronous AcceptEx failed.
If you only had known about
Win32DisableAcceptEx

http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html#win32dis ableacceptex


HansH

Re: Server not answering. Can error logs help?

am 22.11.2007 11:13:32 von geometris

On 21 nov, 12:32, "HansH" wrote:
> schreef in berichtnews:ea56ccca-ab90-41f7-af16-11c=
3a6b7f2b9@o6g2000hsd.googlegroups.com...
>
> > (...)
> > [Wed Nov 21 04:37:55 2007] [warn] (OS 64)Le nom r=E9seau sp=E9cifi=E9 n'=
est
> > plus disponible. : winnt_accept: Asynchronous AcceptEx failed.
>
> If you only had known about
> Win32DisableAcceptEx
>
> http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html#win32dis ableacceptex
>
> HansH

Thanks a lot. I added in my httpd.conf file and hope it will solve the
problem of my sometimes "frozen" server.

Apache docs tell "Some popular Windows products, typically virus
scanning or virtual private network packages, have bugs that interfere
with the proper operation of AcceptEx()."
I use Kaspersky Internet Security 7. Does one of you know if it has
bugs that interfere with AcceptEx() ?

Some people encountering the same problem as me also put the following
directives:

EnableSendfile off (http://httpd.apache.org/docs/2.0/mod/
core.html#enablesendfile)
EnableMMAP off (http://httpd.apache.org/docs/2.2/mod/
core.html#enablemmap)

Here a thread about this: http://www.apachelounge.com/forum/viewtopic.php?p=
=3D452

I read the Apache 2 documentation, but it remains obscure to me if I
also should set them.
My server doesn't only serve static content. I don't use PHP but my
web site is dynamic and use the CGI.

The page that could be the source of the problem is static but has an
inline frame inside (