I have a vps server with 130GB hard disk. Recently, the server is crash down, I access ssh and use dh -h
,
Filesystem Size Used Avail Use% Mounted on
/dev/vzfs 130G 130G 0 99% /
none 2.0G 4.0K 2.0G 1% /dev
Then use du -sh /*
I find root fold
with 59GB. then du -sh /root/*
, a long list with some file like
...
43M /root/core.7856
59M /root/core.7859
59M /root/core.7862
43M /root/core.7883
43M /root/core.7885
43M /root/core.7889
59M /root/core.7892
59M /root/core.7904
43M /root/core.7906
59M /root/core.7913
43M /root/core.7915
59M /root/core.7940
59M /root/core.7942
43M /root/core.7947
43M /root/core.7951
...
I access my server with fileZilla
, 1204 core.* files create in recent 3 days.
So what is centos /root/core.* files? How are they created? Could I delete them without damage my server? And how to avoid them to be created again?
FIX THE PROBLEM
The problem caused by linux mail system. I changed /etc/mail/trusted-users
permission in etc/mail/submit.cf
line 552. then, no /root/core.* files
be created again.
/var/log/messages*
(dmesg
being a part of them) are always a good start. Then maybe your web error log files ...