Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cleaning up sessions issue

Discussion in 'EasyApache' started by twhiting9275, Sep 2, 2017.

  1. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    547
    Likes Received:
    15
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Twitter:
    Since cPanel started placing sessions in /var/cpanel/php/* , these have not been automatically cleaned up, at all. This should be either added to tmpwatch, or cleaned up manually, because these drastically affect clients who have inode limits.

    I've seen servers go from 100% full (2m inodes) to 35% simply by cleaning out sessions older than 5 days.

    This really shouldn't need to be done by your customers, or their SA's. You implemented this bug, please fix it.

    This isn't just one server, it's been seen multiple times tonight, multiple times over the past few months. It's irresponsible to just let this go for so long.
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,512
    Likes Received:
    32
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Hi,

    Which version of cPanel & WHM are you seeing this behavior on?

    scripts/clean_user_php_sessions should be running every 20 minutes, or so, removing those session files.
     
Loading...

Share This Page