On 24/05/14 23:04, Jerry Stuckle wrote: > On 5/23/2014 11:41 PM, Richard Hector wrote: >> On 24/05/14 12:27, Jerry Stuckle wrote: >>> So, where is it storing files now? Just because they aren't in /tmp >>> doesn't mean they don't exist - and won't eventually use up your inodes. >> >> Except that if they're in the 'normal' place (/var/lib/php5), there's >> probably a cronjob (/etc/cron.d/php5) to clean up the stale ones. >> >> Richard >> >> > > Richard, > > No, this is not the "normal" place. These are considered temporary > files, and if there is no entry in the php.ini files, they go into the > system temporary directory (which *generally* is /tmp, but that's why I > asked). > > And no, there is no cron job to clean up old session files. After they > have expired, they are eligible for cleanup, but this will not occur > until PHP's session cleanup code runs (which is dependent on settings in > the php.ini file).
Well, my system has a cronjob that cleans up that directory, as above. I'm pretty sure it was set up by one of the Debian php packages. So presumably some sort of files get put there that need cleaning up. I could accept that perhaps upstream php doesn't use that directory, or even that the use of that directory might break the FHS, but it seems to be normal in the case of Debian. Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5380a1bc.2030...@walnut.gen.nz