Hi, Recently my /tmp dir has been filled with tmp uploaded files which are never cleaned up. I am using debian 6, apache2-2.2.16 with mod_fcgid and php5, using Virtualmin. A file is received with HTTP POST and stored in /tmp/fcgid.tmp.*, with perm 0600, owner www-data . This means that apache (running under user www-data) is receiving the file, after which the file is moved to ~[site-user]/tmp, and processed further with suexec/fcgid/php5 (under user [site-user]). I suspect that the /tmp file the process fcgid process running under [site-user] tries to delete the upload, but fails because /tmp has a sticky bit and may not delete it. Maybe the action fails because /tmp and ~[site-user]/tmp are on different partitions so it needs to copy/delete instead of renaming? My question: Which process (httpd/fcgid/suexec/php5) is responsible for deleting the tmp file, and how might I fix this problem? --
Kind regards,
|
- [users@httpd] Apache fcgid suexec not deleting... Fester Zigterman Rustenburg
- [users@httpd] Re: Apache fcgid suexec not... Fester Zigterman Rustenburg
- Re: [users@httpd] Re: Apache fcgid su... Tom Evans
- Re: [users@httpd] Re: Apache fcgi... Fester Zigterman Rustenburg
- Re: [users@httpd] Re: Apache ... Eric Covener