4gb lost to python/mailman ?

nyjimbo

Well-Known Member
Jan 25, 2003
1,136
1
168
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.
 
Last edited:

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
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.