DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24462>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24462

mod_jk-1.2.5/Apache 1.3.28 - file descriptor leak on SIGHUP/SIGUSR1





------- Additional Comments From [EMAIL PROTECTED]  2003-11-18 22:52 -------
Notes for http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=9185
[PATCH for mod_jk.c]

My test case for the patch was as follows:

  - stop httpd server
  - JkLogLevel debug
  - start server
  - examine list of file descriptors (via lsof -p PID) where
    PID is the pid from Apache's PidFile.  (could also look at
    contents /proc/PID/fd).
  - send a series of 300 SIGHUPs to pid named in PidFile, pausing 3
    seconds between each.
  - afterwards, examine list of open file descriptors of httpd process
    named by PidFile.  Verify that multiple descriptors were not open
    to files named by JkLogFile
  - verify that data was written to files named by JkLogFile during 
    the series of SIGHUPs

I hope that you'll consider incorporating this patch into the next release of 
mod_jk.

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to