Operating System - HP-UX
1833793 Members
3029 Online
110063 Solutions
New Discussion

Re: core file size increase constantly

 
SOLVED
Go to solution
Yu Zhen
Occasional Advisor

core file size increase constantly

I have encountered another wield situation:
A K570 server with OS 10.20, when it rebooted the core file under / directory will increase constantly until it fill up the / space. After you remove it, it will not generate again during its fly. Any suggestion?
2 REPLIES 2
Chin Guan
Valued Contributor

Re: core file size increase constantly

core file normally generated by process which terminated abnormally. You can execute the following command to see what program produce this core file

file /core

Once identify the program which produce the core file, then you have to start investigate why does it terminated...
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: core file size increase constantly

Hi,

Once the corefile has filled up the file system the process is terminated and therefore you don't see the problem anymore until the next boot. That suggests that some process started by the rc process in /sbin/init.d/ is the bad guy. You really need to find out what the process is. If you are familiar with some of the debug tools use them otherwise before you rm the core file either move it to a file system with space or at least do a strings command on the core file and send the output to a textfile on another filesystem. You can then examine the strings output for clues about the process.

As a possible workaround but not a fix you can make a directory '/core'. That will prevent a file '/core' from being written. Again, this does not fix the problem. You really must find the process that is failing.

Hope this helps, Clay
If it ain't broke, I can fix that.