System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

/var/lib/heartbeat/cores/hacluster/core

 
SOLVED
Go to solution
Highlighted
Super Advisor

/var/lib/heartbeat/cores/hacluster/core

Hello Friends,

I am not much familiar about hacluster, since one of my root FS is full, I could see that below core file is consuming more disk space.

/var/lib/heartbeat/cores/hacluster/core

Could some tell me about what is this file, what it contains? Can I nullify this file?

If you know more about this file, please help me to identify more about this.

Thanks in advance.!
4 REPLIES 4
Highlighted
Honored Contributor

Re: /var/lib/heartbeat/cores/hacluster/core

Core files normally are created when an exception occurs on the program.

Core files are used to debug the problem, the program developer can analyze the core file.

You can safely remove the files named "core".

Also, you should double check that the problem of your file system full is just that file, and that /var is on the root file system.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Highlighted
Exalted Contributor
Solution

Re: /var/lib/heartbeat/cores/hacluster/core

shalom,

As an aside, this is why the standard Linux file system layout, one big one is not a good idea.

root fs being full can potentially bring down a system. If /var were separate and discreet, the risks to the system would be lower.

core files can go away.

Most admins write cron jobs to take care of this automatically or configure the system -S c 0 to not permit core files. They then permit core files only when needed for diagnosis.

Most core files are ignored and never looked at.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Highlighted
Honored Contributor

Re: /var/lib/heartbeat/cores/hacluster/core

Hi bullz,

First of all, if you cannot identify a file on linux/unix, use the file command like this:

bash> file core
core: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, from '-bash'
bash>

Simply put, a core file is a "post mortem error message" for a failed command. Here you will find more info on that:

http://aplawrence.com/Linux/limit_core_files.html
****
Unix operates with beer.
Highlighted
Super Advisor

Re: /var/lib/heartbeat/cores/hacluster/core

Thanx all, for youe views.
I have got some idea about core files, i understood that corefiles can be removed :)

Just kiding.. i take care.