Skip Navigation

[Resolved] php session files filling up tmp folder

This support ticket is created 3 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shane 3 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1915131

I am hosting my site on digital ocean and have been facing issues with my tmp files.
When I look at the usage of inode spaces "df -i" on my server I see that the '/tmp' file is filled up 100%.

I have to manually delete it every day or else it fills up and website stops working with an error complaining no space.

I see these files.

'./sess_kkpd5gdummp87rjk18v4tup9re'
'./sess_ef26lsdupi3n0b6uk2gehuc8g9'
'./sess_kt4f4qa9rut0iu5ekgmubcpvj4'
'./sess_cahr55c4hf7dlc58g40njk7p9g'
'./sess_8uuebma0qvlt5i4074qk5e57gp'

And there are a huge number of these. While researching I found out that other custom development plugins like Pods and ACF can be the reason for these.

Example : https://wordpress.org/support/topic/session-files-not-deleted/

As I am using toolset heavily on this website I wanted to be sure if toolset is not generating them.

Every 12 hours my /tmp file filled up by 50% so it has become kind of a daily task for me.

#1915219

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Puneet,

Thank you for getting in touch.

I'm not aware of our Toolset generating any such temporary files so you shouldn't have any issues with temporary files being generated on your server by Toolset.

Thanks,
Shane