MarvinMartian

Member
Sep 13, 2006
10
0
151
Before I updated, I was using less than half of the hard disk space available on my server. After WHM/cPanel updated I was using 96%.

Any ideas on what did that? And any solution to fix it?

Any help is appreciated.
 

gflamerich

Well-Known Member
Jul 21, 2003
122
0
166
Check here

ls -la /usr/local/cpanel/whostmgr/docroot/core*

If you see few huge files core.####, just delete them.

There are a few threads with info regarding this bug.
You can resolve it compiling apache with out versioning.
 

MarvinMartian

Member
Sep 13, 2006
10
0
151
gflamerich said:
Check here

ls -la /usr/local/cpanel/whostmgr/docroot/core*

If you see few huge files core.####, just delete them.

There are a few threads with info regarding this bug.
You can resolve it compiling apache with out versioning.
When I do that, it only returns 1 file with a size of 0.

:confused:
 

gflamerich

Well-Known Member
Jul 21, 2003
122
0
166
Ups...

ls -la /usr/local/cpanel/whostmgr/docroot/core*.*

Looks if that shows you any else.

If not, fist find if df is reporting the correct usage.

If you havent find the problem by then, you should find with du the source of your problem ...

Just go to your root and type
du -h --max-depth=1

And what for your folder size. You may can track if there is any mayor change of size.
 

MarvinMartian

Member
Sep 13, 2006
10
0
151
gflamerich said:
Ups...

ls -la /usr/local/cpanel/whostmgr/docroot/core*.*

Looks if that shows you any else.

If not, fist find if df is reporting the correct usage.

If you havent find the problem by then, you should find with du the source of your problem ...

Just go to your root and type
du -h --max-depth=1

And what for your folder size. You may can track if there is any mayor change of size.
From the looks of it, it is the /var/cpanel/updatelogs/

That folder is 27 GB big. I am just taking a wild guess and will say that is not right.

Can I safely delete the two files in there?
update.1158130652.postinstall.log
updatesync.1158131040.log

Or is there a safe way to remove those files?
 

MarvinMartian

Member
Sep 13, 2006
10
0
151
gflamerich said:
You got me on that.....
Mines are about 30k each.... and no rsync.*.log, just update.*.log files...
By the nature of those files, it should be safe to delete them, but I certainty check what's causing that huge log file ....
Sorry, I'm short of knowledge ..... :( . Hope you can find the cause and fix it.
You are anything but short of knowledge, you helped me identify the problem.

Thank you very much.

I think I am going to delete those files an update again.
 

MarvinMartian

Member
Sep 13, 2006
10
0
151
It also does not let me into cPanel anymore, just WHM. I get a Internal Error when trying to get into cPanel.

When I try to access it from within WHM, it gets me to the beginning fo the page and hangs there.
 

gflamerich

Well-Known Member
Jul 21, 2003
122
0
166
You got me on that.....
Mines are about 30k each.... and no rsync.*.log, just update.*.log files...
By the nature of those files, it should be safe to delete them, but I certainty check what's causing that huge log file ....
Sorry, I'm short of knowledge ..... :( . Hope you can find the cause and fix it.
 

MarvinMartian

Member
Sep 13, 2006
10
0
151
wow, this page is really screwed up. I replied to you twice and they are above you.

Anyways, I deleted the files :eek: and when I df my disk usage, it is at 100% now.... odd.
 

MarvinMartian

Member
Sep 13, 2006
10
0
151
I do get an error when I try to du the root directory. which I think is odd.

it says "du: `./proc/10984/fd/4': No such file or directory"

my /usr directory is almost 4 gigs, but thats the next biggest one.
 

gflamerich

Well-Known Member
Jul 21, 2003
122
0
166
Are you sure there are no core.* files ???
Our /usr directory is around 2Gb......

We deleted four 1.4Gb files from each of our boxes. Tonight we are going to fix it compiling apache without versioning.

By the way.... those errors with du inside /proc are nomal.

Regarding the port order, at least we can understand this thread.......
Anyone who enters here will say these two are nuts.... :rolleyes: ....
Well, I think already know you, from now on, you can call me "Space Cadet" :D

Hope you can find the source of that log files...

Bye
 

MarvinMartian

Member
Sep 13, 2006
10
0
151
Wow. So, I don't understand how after I delete 37 GB of stuff, the disk actually has LESS space than before.

I have no clue what to do, the du command shows that I should have a normal amount of space....but df shows I have 0 remaining.

I have no clue whats going on. :(
 

MarvinMartian

Member
Sep 13, 2006
10
0
151
So, I think I got it.

There was a script that didn't stop running that just kept stealing resources and writing logs files.

I figured it out, stopped the process and immediately my disk space came back.

so, YAY!!!

Thank you so much for your help :)
 

nyjimbo

Well-Known Member
Jan 25, 2003
1,134
1
168
New York
MarvinMartian said:
So, I think I got it.

There was a script that didn't stop running that just kept stealing resources and writing logs files.

I figured it out, stopped the process and immediately my disk space came back.

so, YAY!!!

Thank you so much for your help :)
Can you tell us what the script was? Was it part of UPCP ?.