Wednesday 18 July 2012 12:53:25 pm
I assume you mean /var/tmp - eZPublish doesn't use it but php probably does. The default tmp directories for php are for some (most?) linux distros /var/tmp - so uploaded files are (temporarily) uploaded in that directory and session files end up there too.
Wednesday 18 July 2012 3:32:04 pm
I'm pretty sure things get cleaned up automatically (debian session timeout is by default 2 hours) - but I can think of a couple of scenarios (or settings) that could make this directory get filled up with a bunch of junk files. Is that what is happening?
Saturday 21 July 2012 7:41:30 am
I took a closer look and the session files are actually by default in /var/lib/php5 (this can be changed in php.ini) and would be named something like sess_7b3a0c54df61e024ca8efe3cdb6c0eff and if you look at the file you'll see something like this:
With newer versions of ezpublish by default you won't have anonymous sessions so there really shouldn't be that many depending on your system, your traffic and whether or not the session files are being cleaned up correctly.
Your upload_tmp_dir is still by default, I believe, /var/tmp but unless someone is trying to upload files and failing a bunch of times this shouldn't be the problem.
You might want to try to change that to /tmp to test if this is the problem. You might also want to look at the files and see if you can identify where they are from.
Lots of things use /var/tmp - like vi and kde, so chances are it's not going to be an eZPublish problem.
You must be logged in to post messages in this topic!