WordPress.org

Support

Support » Plugins and Hacks » Events Manager » [Resolved] Not deleting old session files

[Resolved] Not deleting old session files

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

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

    sess_0006uj2hrudi9ci9g7oblis6p3
    sess_000j6jt3bshod12jcefbj1jcn1
    sess_000ntp9b70vvjdopkcgkj3ia43

    With content such as
    “events-manager|a:1:{s:7:”notices”;s:83:”a:4:{s:6:”errors”;a:0:{}s:5:”infos”;a:0:{}s:6:”alerts”;a:0:{}s:8:”confirms”;a:0:{}}”;}”

    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?

    http://wordpress.org/extend/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    thanks for updating us.

    Plugin Author Marcus

    @netweblogic

    NetWebLogic Support

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Not deleting old session files’ is closed to new replies.
Skip to toolbar