Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #529123

    Hi,
    I’ve 10 enfold-themes for my clients on my server (lucky you ;). Every enfold-theme stores tons of sessions in the tmp-file. Now, this makes the server slow, cause on every request the server has to search for the sessions. There is no limit on my server for the tmp-file, so really a lot of files are on the server.
    I fixed it now with a cron-job to delete the session-files which are older than 24 h.
    But this is just a workaround to keep enfold-themes alive. Is there anything on your todo-list to get rid of 1000s and 1000s of those session-files?
    Clean would be to force the program, which makes the session-files also to kill them.(breadcrumb, masonry, etc.)
    thanks.

    #529343

    Hi xxtita!

    I would have thought they had an expiration date and are cleaned automatically. I would try contacting your hosting provider about this, it sounds like a PHP setting.

    I found this which may help, https://www.concrete5.org/community/forums/chat/help-millions-of-sess_-files-in-tmp-folder/.

    Regards,
    Elliott

    #529389

    Hi Elliott,
    you are right. Hosting Provider just gave me feedback and there was a problem with some php-settings.

    http://ca.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime

    resolved, thanks

    #529704

    Hi!

    Great! Let us know if you anything else. :)

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘tons of session files in tmp folder’ is closed to new replies.