Jeff Weisberg on 6 Mar 2004 19:40:03 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Apache using deleated files



[...]
| apache    24611 www-data    4u   REG    3,6    0     0    15 
| /tmp/session_mm_apache0.sem (deleted)
[...]

| I was wondering if either lsof is reporting deleted files that are not 
| really deleated or why isn't apache delinking without closing them.  If 
| lsof is reporting falsely, then I will write a bug report, on the other 
| hand, if apache is not closing files properly, then there should be a 
| bug report for apache.

you seem to failing to consider the other, and more likely
possibility: that it is not a bug. that apache is opening
and unlinking the file, and lsof is properly reporting it.

opening a file and unlinking it is a common unix programming
technique. it is most likely intentional, not a bug.



	--jeff

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug