1
I have a website that is fully functional and the failure rate is 0.0037%, however all errors are the same.
Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp)
I searched for some information on PHP Session Handling error and also in Failed to write Session data (files). But both solutions did not solve the problems, in addition the questions apparently referred to a persistent problem, I mean a problem that was presented at any time.
In my case this problem occurs during short time, for on average two minutes and does not affect all users, even because there is little data in the logs. In the last 24 hours this occurred only between 17:52 and 17:54, after that there was no error of the same type and everything continues to work normally. Because it is a small space of time I can not test the site precisely at this time or do other checks.
I wonder what could be causing this problem.
Is there a file-by-folder limit or limitation on creating new sessions, which then blocks writing? Is there any PHP process (or even Centos itself) that changes the folder permission or that can block writing?
I have not yet tried to change the folder where sessions are saved, but I will do this soon.