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.

4gb lost to python/mailman ?

Discussion in 'E-mail Discussion' started by nyjimbo, Dec 14, 2010.

  1. nyjimbo

    nyjimbo Well-Known Member

    Jan 25, 2003
    Likes Received:
    Trophy Points:
    New York
    We've been noticing one of our servers losing lots of space on /usr for a while now. Tonight I did the "lsof" for deleted files and found this:

    python 11832 mailman 3u REG 8,3 4741156245 2558314 /usr/local/cpanel/3rdparty/mailman/logs/locks (deleted)

    which if I am reading it right says that this file is 4.7 gb but its not seen due to python running ?.

    Is there a way to get python to release this file or do whatever is necessary to free up the space without having
    to reboot the machine ?.

    I tried restarting syslogd and mailman just in case but nothing happened. Can any kind of signal sent to python do this or is there a command to restart python. I dont think restartsrv_mailman is doing it. I also tried running /usr/local/cpanel/startup without any change.
    #1 nyjimbo, Dec 14, 2010
    Last edited: Dec 14, 2010
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Apr 7, 2006
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    By now that's likely a an orphaned process. You'll likely need to issue something like kill -9 to terminate the process.

Share This Page