Jump to content

Recommended Posts

Posted

Hi,

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?

/Jasper

Posted

Think you're right about it.

Sounds to me there's something wrong with the PHP cleaning process.

As Sessions should be cleared by the server so far I know.

What is the PHP version & PW version ?

Posted

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.

//Jasper

  • Like 3

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...