Suresh Lakshmanan
suresh.lakshmanan at gmail.com
Thu Jan 25 05:42:39 EST 2007
looking further ... looks like apache does not give 503. it must be due to an intermediate proxy that give 503 on a connection timeout when connecting to apache. so, i guess i would need to configure apache to accept more number or connections from the network. can someone please point out what that option is? On 1/24/07, Suresh Lakshmanan <suresh.lakshmanan at gmail.com> wrote: > > you are right! i tried opening two different http clients and they ran > concurrently! > thanks. > > now my original question remains. why do i get 503? any config change > i need to make? > > On 1/24/07, Mike Looijmans <nlv11281 at natlab.research.philips.com> wrote: > > > > > i made this test... > > > for a url say, http://myserver/myapp/test <http://myserver/myapp/test > > >. > > > i put sleep in the python handler code. > > > > > > //python handler for the above url > > > { > > > import time > > > log('before sleep') > > > time.sleep(60) > > > log('after sleep') > > > } > > > > > > when multiple clients access the url, the calls are serialized. the > > > second client waits for a minute and then comes to this handler. > > > why is this so? that's why i was lead to believe that the requests > > were > > > serialized. > > > > Make sure that your test is correct. A browser will use the same > > connection for several request, in effect serializing the requests > > already. Many other HTTP client libraries do the same (which is a good > > thing). > > > > Your best test is to open telnet sessions to port 80, and write "GET > > /test HTTP/1.0<return><return>" to the telnet session. > > > > > > > -- > "Little by little, through patience and repeated effort, the mind will > become stilled in the Self." - Bhagawad Gita > -- "Little by little, through patience and repeated effort, the mind will become stilled in the Self." - Bhagawad Gita -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070125/fe45af8b/attachment.html
|