Disk Usage Climbing - something is core dumping.

shannon

Well-Known Member
Mar 25, 2002
48
0
306
Two servers, both exhibiting same behavior since yesterday morning (v11 rollout?)... Disk usage climbing... took a look, and found a boatload of core.#### files in /usr/local/cpanel/whostmgr/docroot/ ... Looking closely I see one is being generated every 5 minutes. I check my cron list, and discover the only one that runs every 5 minutes is:

*/5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1

I have not been able to deduce 100% if this is the problem process just yet. (I ran it manually a few times. It appears that a couple of those times it caused a core.#### file to appear, but a few other times it did not).

I'm going to disable the cron job in question, give it an hour, and see what happens. Just wanted to get this out here incase anyone else is seeing something similar. Running C11600

OK, scratch dcpumon from the idea list... didn't take long to prove me wrong on that front.. disabled the job in question and about 15 minutes later, I look, and low and behold, 3 new core dump files. :( Back to the drawing board.
 
Last edited:

xprt5

Well-Known Member
Apr 6, 2003
72
0
156
Houston
Run file command on the core file.

file core.****

That usually tells you what generated it.
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
Its fixed in the edge build that is coming up now. 11603.

If there are no problems, the patch will get merged into CURRENT.
 

shannon

Well-Known Member
Mar 25, 2002
48
0
306
Systems setup to upgrade to "Current" nightly... so right now... C11600

Still piling up core files, *almost* every 5 minutes (strangely, sometimes 2 of them, and sometimes an extra in between)... I no longer thing it's a cronjob doing it, more then likely something internal to whm.. (although I'm not getting any "whm failed and was restarted" email though)..

I took xprt's idea, and it's giving me back the same results for every one of them:

Code:
ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, from 'whostmgr'
Now, I am in WHM currently, doing some things, but I had to leave the desk for 40 minutes or so, during which time they were still piling up. (Add in the fact that they were occurring all night, when nobody would have been in whm)..

Just cleared them out, going to go to lunch, dwell on this a bit, and see what I can come up with on a full stomach. :)

Edit: Ahhh. see, thats what I get for sitting on an unsubmitted reply too long before submitting it. ;) Thanks Nick! I'll just sit tight and wait for the Current patch after the brave Edge folks have seen how it goes.. :) Will just clean the core.* up in the meantime. ;)
 
Last edited:

kship

Member
Oct 29, 2004
23
0
151
CROCKETT, TEXAS
cPanel Access Level
Root Administrator
I have CORE dump files being generated in 2 client directories. Can anyone give me an idea as to why this is happening? Is this being caused from a server problem or a client code problem? Anyway to determine this? I run most recent current.

Thanks.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
What does

Code:
# file core.12345
(where 12345 is replaced with the actual number in the core file name) output?

What does

Code:
gdb /bin/ls core.12345
output?

THe latter should at least spit out a message saying /bin/ls did not generate the core dump, and tell you which command did.