On May 10, 2008, at 7:10 PM, wesley wrote:

I configured resin behind Apache 2.2.8 (windows x86-32bit) for a
production website. Most time it worked smoothly, except that two
strange problems happened when server was under load.

1. HTTP 503
When website was under load or during stress-testing, sometimes
apache returned HTTP 503 temporarily not available, especially
when the response size is really large (say ~100kB).

If running a standalone resin, everything is ok.

You should check the netstat. Because Apache/mod_caucho can't share sockets as efficiently as Resin's load balancer, it's possible to overload the TCP networking. That can be tweaked with the timeouts.


2. Apache crash with status 3221225477
When website was under load, apache will produce such error log:
[Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.

That looks like an apache issue. Since mod_caucho isn't calling accept(), I don't see how it could affect Apache.

-- Scott


[Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:27 2008] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. [Sat May 10 22:42:32 2008] [notice] Parent: child process exited with status 3221225477 -- Restarting.

I think these two problems may be related to mod_caucho.dll.
Unfortunely, I could not write a simple code snippet to reproduce them.

-Wesley

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to