Jump to content

var/sessions folder is flooded, presta 1.7.7.2


Recommended Posts

Hello prestashopers

var folder, just not cache or log... There's var/sessions folder and have no idea what's filling it with 0 byte sess... (some files hold couple bites) files in enormous quantities. These files are eating server inode allowance ...  Anybody has any idea what the hell these files are and easy way to get rid off them...

 

Thanks in advance

Edited by darkin (see edit history)
Link to comment
Share on other sites

  • darkin changed the title to var/sessions folder is flooded, presta 1.7.7.2

I believe these are user session files generated by PHP/Prestashop. I believe the file name starts with "sess_"

Ideally, it should be cleared automatically. Might be some PHP.ini session handling settings issues.

PrestaShop < 1.7.8 uses PHP’s default session handling, which stores session data as files. High traffic especially from bots, scrapers etc, can create thousands of sess_* files, even if they’re 0 bytes.

 

 

 

Link to comment
Share on other sites

Hi, thanks for replies... Yep, they all start sess_blablabla and some are 0 bytes some have info seems like from various connections and not cleared automatically. Anny suggestions how to get rid of them automatically?

Thanks

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