Session files not deleted
-
We noticed recently that Pods creates session files in the /tmp directory, but it doesn’t delete them afterwards, resulting in a massive accumulation of files (millions) that were very difficult to delete and was causing performance issues on the server (it’s on a Website with a lot of traffic). We didn’t noticed that problem sooner because the /tmp folder is one level above the site root, so we don’t see it when connecting by FTP.
We created a CRON job to remove those files on a regular basis, but I was wondering why those files are created by the plugin but are not deleted afterwards and if there is a way to remove them without having to create a CRON job.
Thanks!
- The topic ‘Session files not deleted’ is closed to new replies.