httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47335] An extra stderr file descriptor is leaked to forked CGI processes
Date Tue, 09 Jun 2009 17:59:08 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47335





--- Comment #6 from Kornél Pál <kornelpal@gmail.com>  2009-06-09 10:59:08 PST ---
I've tried with worker and mod_cgid and the leakage is present:

/proc/10380/fd:
total 0
dr-x------ 2 daemon daemon  0 Jun  9 19:54 .
dr-xr-xr-x 5 daemon daemon  0 Jun  9 19:54 ..
lrwx------ 1 daemon daemon 64 Jun  9 19:54 0 -> socket:[72840]
lrwx------ 1 daemon daemon 64 Jun  9 19:54 1 -> socket:[72840]
lr-x------ 1 daemon daemon 64 Jun  9 19:54 13 -> pipe:[72901]
l-wx------ 1 daemon daemon 64 Jun  9 19:54 2 -> /root/httpd/logs/error_log
lr-x------ 1 daemon daemon 64 Jun  9 19:54 255 -> /root/httpd/cgi-bin/leak.cgi
lrwx------ 1 daemon daemon 64 Jun  9 19:54 3 -> socket:[68357]


/proc/10407/fd:
total 0
dr-x------ 2 daemon daemon  0 Jun  9 19:54 .
dr-xr-xr-x 5 daemon daemon  0 Jun  9 19:54 ..
lrwx------ 1 daemon daemon 64 Jun  9 19:54 0 -> socket:[73024]
lrwx------ 1 daemon daemon 64 Jun  9 19:54 1 -> socket:[73024]
lr-x------ 1 daemon daemon 64 Jun  9 19:54 13 -> pipe:[73028]
l-wx------ 1 daemon daemon 64 Jun  9 19:54 2 -> /root/httpd/logs/error_log
lr-x------ 1 daemon daemon 64 Jun  9 19:54 255 -> /root/httpd/cgi-bin/leak.cgi
lrwx------ 1 daemon daemon 64 Jun  9 19:54 3 -> socket:[68357]


fd 13 is a read pipe here as well and is a different pipe for each request just
like with mod_cgi.

Also note that fd 3 seems to be leaking as well.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message