Re: Apache server returns early before process is complete

2025-04-23 Thread Mithun Bhattacharya
Okay agreed that is a valid time out basically it is saying that a client has established tcp/ip connection but has not put its request either a get put or a post On Wed, Apr 23, 2025, 3:38 PM Joseph He wrote: > On Apache2 doc, I found this. How does this timeout work? It looks like it > can onl

Re: Apache server returns early before process is complete

2025-04-23 Thread Joseph He
On Apache2 doc, I found this. How does this timeout work? It looks like it can only wait for 300 seconds before failing a request. https://httpd.apache.org/docs/2.0/mod/core.html#timeout Description: Amount of time the server

Re: Apache server returns early before process is complete

2025-04-23 Thread Mithun Bhattacharya
You configure timeout at the client side. Apache is at the server side. Server doesn't have a concept of time it could take days to run and not care. mod_perl code is where you are sending the http return status to make sure the client doesn't timeout waiting for the server to respond. On Wed, Ap

Re: Apache server returns early before process is complete

2025-04-23 Thread Joseph He
Thanks, all. Is that Apache timeout controlled by its configuration "Timeout"? I don't think it has anything to do with modPerl. Am I missing something? Thanks. On Wed, Apr 23, 2025 at 1:41 PM Mithun Bhattacharya wrote: > Timeout happens because of how we handle the request. Timeout is basically

Re: Apache server returns early before process is complete

2025-04-23 Thread Mithun Bhattacharya
Timeout happens because of how we handle the request. Timeout is basically no response came back. Why that happens is because we think we want to have a correct response. Unfortunately for long running requests the correct response shouldn't be via http response code or we face situations like this

Re: Apache server returns early before process is complete

2025-04-23 Thread Andreas Mock
Hi Joseph, your description is very vague, so can only answer on some assumptions: It sounds like a timeout is fired somewhere. Best advice in these situations: Log as many steps as you can. Keep your eyes open on TCP/IP and higher level timeouts. Declare only ONE instance responsible for a

Apache server returns early before process is complete

2025-04-23 Thread Joseph He
All, good day. Here is the issue I have. My entire application is running on ModPerl/Apache environment. I send Http::Request with data load from my App server to a dispatch server thru LWP::UserAgent, I set the timeout 600 seconds. The dispatch server is supposed to manipulate the data and send