Events Manager
[resolved] Not deleting old session files (4 posts)

  1. stalks
    Posted 2 years ago #

    I just inadvertently took down the entire server by using this plugin.

    The session files are being created in the temp folder, ie.


    With content such as

    However it never deletes these files. A new one is created for every visit. If I close the browser, and visit the site again, a new file is created.

    I had 400k+ session files in the temp folder, which increase INODE usage to 100%. No more files could be created on server = CRASH.

    How do I fix this?


  2. stalks
    Posted 2 years ago #

    Okay I hopefully have fixed this by adding
    session.gc_probability = 1
    to php.ini.

    It seemed Debian had set this to 0 by default which meant PHP was not garbage collecting.

  3. agelonwl
    Posted 2 years ago #

    thanks for updating us.

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    fyi, we don't use sessions anymore since EM 5.3.3, unless you haven't upgraded yet, they'd be old ones from before that weren't deleted

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.