Jump to content

Too many files in assets/sessions


Recommended Posts


Today I experienced a problem on my server, I could no longer create new files. The cause of this was the amount of files in the assets/sessions folder. The filesystem ran out of Inodes.

My question is, shouldn't files in this folder be deleted automatically after some time?


Link to comment
Share on other sites

I believe this issue is specifically for Debian servers. I found an old article that explains why this behavior occurs on Debian machines: http://oscarm.org/2006/09/debian-php5-and-session-garbage-collection/

The above article still seems to be relevant, even though it seems to be marked as solved in the Debian bug system (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388808)

I moved my sites from a Centos machine to a Debian in April and under that time the number of session files has been growing.

I post this as a heads up for others running ProcessWire on Debian.


  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...