Gary Perez a écrit :
> Hello all,
>
> I've searched through all the past mailing list archives & scoured  
> the web looking for an idea as to what's going on. Sorry this is so  
> long, just trying to cover all my bases.
>
> First, the setup: CentOS release 4.3 (Final) running Apache 2.0.52 in  
> front of Webware 0.9.1 via mod_webkit(2). Standard httpd  
> configuration, with:
>
> LoadModule webkit_module modules/mod_webkit.so
> <Location /dyn>
>    WKServer 127.0.0.1 8086
>    SetHandler webkit-handler
> </Location>
>
> All the other WebKit apps run as expected.
>
> Here's my problem, and I hope you can help.
>
> I have two pages to be served *almost simultaneously* by WebKit: one  
> of them is a large-file upload form processor which--naturally--will  
> take a long time to return (a problem I will try to solve later), the  
> second is a status page that lists the contents of a directory which  
> self-refreshes once every three seconds.
>
> While the first is waiting for all the form-data to upload, the  
> second simply does not respond, and eventually throws an Apache  
> Internal Server Error (500).
>
> Apache error logs report ten of these:
> [Wed Sep 06 17:38:36 2006] [error] Can not open socket connection to  
> WebKit AppServer
> [Wed Sep 06 17:38:36 2006] [error] Couldn't connect to AppServer,  
> attempt 10 of 10, sleeping 1 second(s)
> ... and finally:
> [Wed Sep 06 17:38:37 2006] [error] timed out trying to connect to  
> appserver -- giving up.
>
> I have WebKit's AppServer running threaded (default AppServer.config):
> StartServerThreads = 10
> MaxServerThreads = 20
> MinServerThreads = 5
>
> Someone with greater knowledge of Apache stated: "The default mode  
> for Apache 2 is pre-forking, aka, 1.3 compatibility." ... which I  
> take to mean it forks child processes from the main control (root)  
> process - and this is not the same thing as threading... am I  
> mistaken in this assumption?
>
> Finally, is apache's inability to connect to the AppServer an  
> inherent limitation and/or problem with the AppServer, *or* is it  
> caused by running apache in pre-forking mode versus enabling threads  
> there? If so, do you think that running both in threaded mode will  
> resolve the problem?
>   
Looking at the error messages, it seems that it is webware that don't
accept the connection.
I don't know why, and don't even know if I have the same problem.
Are you sure that your second request is not blocked by the first one in
webware?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to