RE: Apache-read timed out

2001-02-20 Thread Deja User

I was just wondering if this problem could be because of CGI.pm scripts , i am running 
some plain CGI scripts and mod perl scripts,in some of the scripts i have the 
traditional read function which reads from STDIN (perl 'read' function) .

Pls help ...

thanks,
Sachin

Date: Thu, 15 Feb 2001 09:13:09 -0800 (PST)
From: Sachin Lakhanpal [EMAIL PROTECTED]
Subject: RE: Apache-read timed out
Cc: [EMAIL PROTECTED]

yes i have tried all those time out parameters . :(

sachin

--- Geoffrey Young [EMAIL PROTECTED] wrote:
 
 
  -Original Message-
  From: Deja User [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, February 14, 2001 7:36 PM
  To: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: Apache-read timed out
  
  
  Hello ,
  
I am getting "Apache-read timed out messages in
 my 
  error_log,now i have been looking at this problem
 for a while 
  now before posting it for help, whats happening is
 if i test 
  my application from within the network , because
 the 
  connection being very fast i am not having any
 problems , but 
  when i try to do the same thing from the external
 network 
  over a dial up line i get this error message in
 the error 
  logs and the script gets killed
  
What we are doing is we are uploading large amts
 of data 
  using HTTP POSTS ,so at the server end i am using
 the 
  Apache-read function to get the body of the post.
  
 
 did you try playing with $r-reset_timeout and/or
 the Apache TimeOut
 directive?
 
 HTH
 
 --Geoff  


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/





--== Sent via Deja.com ==--
http://www.deja.com/





Persistent connection ?

2001-02-20 Thread Deja User


Hi all ,

   I have never done such a thing before , so would appreciate if you people could 
help me out .

   So i have a client application wanting to upload chunks of data to the webserver .

   Now the way i want this to happen is to have the client open a connection to the 
webserver ,send the headers do the initial authentication both ways and then start 
sending chunks of data ,after receiving each chunk of data the webserver (mod perl 
script) would process the data and send an acknowledgement to the client and then the 
client continues with the second upload and so on without 
the client closing the connection .

  The webserver is parsing the headers and using the rewrite rules to decide which 
script to run on the fly when the request is made , so in the above scenario this 
information would be sent just once before the upload of the first chunk of data ,so 
in short the script should somehow remain in the apache child to accept the next set 
of data .

  Could you comment on this ?

thanks,
Sachin

 





--== Sent via Deja.com ==--
http://www.deja.com/





Apache-read timed out

2001-02-14 Thread Deja User

Hello ,

  I am getting "Apache-read timed out messages in my error_log,now i have been 
looking at this problem for a while now before posting it for help, whats happening is 
if i test my application from within the network , because the connection being very 
fast i am not having any problems , but when i try to do the same thing from the 
external network over a dial up line i get this error message in the error logs and 
the script gets killed

  What we are doing is we are uploading large amts of data using HTTP POSTS ,so at the 
server end i am using the Apache-read function to get the body of the post.

  I have even tried this by making the application point a cgi-bin/perl script rather 
than a mod perl script , could this problem be because of buggy read function or is it 
that some other request running on the same client might have read my STDIN .

  The reason i say this is some times i have observed if i reload the webserver and 
immediately try to post something the chances of the upload going thru are good but if 
i try the same thing after the webserver has run for a while then the post always 
fails in a time window of around 165 secs .

  This particular bug was supposed to be fixed in production days ago but still i 
don't have any clue .

  i have even tried to write a small client using plain sockets and making the client 
sleep for some secs after posting each line of the body just to increase the time 
required for posting the whole content.

  System config is 

  Stronghold/3.0 , Apache/1.3.12 C2NetEU/3011 , mod_ssl/2.6.4 
  OpenSSL/0.9.5a mod_perl/1.22

  OS : Solaris

Pls help

Thanks,
Sachin Lakhanpal
Geocast Network Systems




--== Sent via Deja.com ==--
http://www.deja.com/