httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: SOS! HELP- APACHE PROCESS PROBLEM
Date Sat, 26 Oct 2002 11:39:54 GMT
"William A. Rowe, Jr." <wrowe@apache.org> writes:

> At 07:04 PM 10/25/2002, Jeff Trawick wrote:
> >"Chandragupt" <cgupt@rediffmail.com> writes:
> >
> >> Hi,
> >> 
> >> We have developed a BioInformatics Web based Application using
> >> CGIC , Linux and Apache as the webserver. We are using MySQL
> >> database for data handling.
> >> We have run into a problem wherein if the browser which has sent
> >> the request to Apache is closed in between a process, the process
> >> continues to run instead of being terminated. This causes the
> >> queuing of unwanted processes (both for Apache and MySQL).
> >
> >isn't this like PR 8388?
> >
> >http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8388
> >
> >Can the CGI write an HTML comment to the browser fairly regularly to
> >cause Apache to detect when the connection is reset?  Wouldn't that
> >abort the connection and cause the CGI to get cleaned up?
> >
> >How else would Apache notice?
> 
> What about simply writing 0 bytes to the socket periodically?  Would
> that catch the disconnect?

dunno about the idea of writing 0 bytes...  how would a CGI break core
(or 3rd-party filter) out of a pipe read and tell it to write 0 bytes
to the network?

unfortunately, writing actual data doesn't work at the moment...  I
was playing with it last night and saw that core_output encounters an
error writing to the client but some upstream filter (content-length?)
didn't notice...  hoping to play with that now for a while...

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message