Jump to content

10,000 files in sessions folder normal?


joer80
 Share

Recommended Posts

Those are helpful links.  It appears it is not something processwire is doing so much, it just changed the default location for what php already does.

I would guess the files are necessary for allowing php to save session variables and deleting them would be bad.  If so, I would want those to last 24 hours and do not think it would be a good idea to shorten their lifespan.  If it were a garbage collection issue, I would think they would be not clearing out everyday.  

I think websites with a lot of traffic may benefit from having them saved in the database though to save inodes.  Even downloading your website via ftp would be a hassle with it this way.   It is easy to get around by compressing the website and downloading that file though.

  • Like 1
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...