error.log recorded the following error with the URL "http://localhost". [warn] (730038)An operation was attempted on something that is not a socket. : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed.
I am getting the same error, Using Apache HTTP Server 2.0.44 on win2k, using the forward proxy, the error.log file gets filled with" [Tue Mar 04 10:05:23 2003] [warn] (OS 10038)An operation was attempted on something that is not a socket. : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed. The proxy server runs fine for a few hours, and then stops responding. (The webserver continues to work. I am using a minimal proxy configuration of: ProxyRequests On <Proxy *> Order deny,allow Deny from all Allow from 10.10.10.0/255.255.255.0 192.168.1.0/255.255.255.0 </Proxy>
I'm seeing similiar problems with Apache 2.0.45 on W2K, no firewall, no proxy. Running PHP and apache regularly crashes: [Wed May 07 14:32:51 2003] [notice] Child 3260: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process. [Wed May 07 14:32:51 2003] [notice] Parent: Received restart signal -- Restarting the server. [Wed May 07 14:32:51 2003] [warn] (OS 10038)An operation was attempted on something that is not a socket. : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed.
I have also the same problem on Apache 2.0.45 on Windows 2000 Server SP3, configured with the follwing modules : mod_jk.c, mod_status.c, mod_setenvif.c, mod_rewrite.c, mod_negotiation.c, mod_mime.c, mod_log_config.c, mod_info.c, mod_include.c, mod_imap.c, mod_env.c, mod_dir.c, mod_cgi.c, mod_autoindex.c, mod_auth.c, mod_alias.c, mod_actions.c, mod_access.c, mod_so.c, http_core.c, mpm_winnt.c, mod_win32.c, core.c + php 4.3.2 in CGI. On my server, the problem seems to appear when the server reach his maximum request per child and restart the service : [Tue May 27 08:35:48 2003] [notice] Child 8960: All worker threads have exited. [Tue May 27 08:35:48 2003] [notice] Child 8960: Child process is exiting [Tue May 27 09:02:58 2003] [notice] Child 3948: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process. [Tue May 27 09:02:58 2003] [notice] Parent: Received restart signal -- Restarting the server. [Tue May 27 09:02:58 2003] [warn] (OS 10038)Une opération a été tentée sur autre chose qu'un socket. : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed. [Tue May 27 09:02:58 2003] [notice] Parent: Created child process 8220 [Tue May 27 09:02:59 2003] [notice] Child 8220: Child process is running [Tue May 27 09:02:59 2003] [notice] Child 3948: Released the start mutex [Tue May 27 09:02:59 2003] [notice] Child 8220: Acquired the start mutex. [Tue May 27 09:02:59 2003] [notice] Child 8220: Starting 250 worker threads. [Tue May 27 09:03:00 2003] [notice] Child 3948: Waiting for 250 worker threads to exit. [Tue May 27 09:03:09 2003] [notice] Child 3948: All worker threads have exited. ... (and the same appears are repeated) For information the error message OS 10038 is registered in this article on the microsoft knowledge base : http://support.microsoft.com/default.aspx?scid=kb;en-us;155738 and the list of error on sockets (i have only found this in french and for winnt4): http://support.microsoft.com/default.aspx?scid=kb;fr;150537
Upgrade to 2.0.49 and read: http://httpd.apache.org/docs-2.0/mod/mpm_winnt.html#win32disableacceptex