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

Avoid core file filling up a file system

SOLVED
Go to solution
Stijn V
Regular Advisor

Avoid core file filling up a file system


We have HPUX server with some large java processes, when one crashes, it creates a hughe core file filling up the file system ... which results in application downtime.

I would like to define the size of the core file for that specific user to zero ...

How can I do this? Thanks.
3 REPLIES
Avinash20
Honored Contributor
Solution

Re: Avoid core file filling up a file system

# ulimit -c 0

Define this in the .profile file of the user
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Sp4admin
Trusted Contributor

Re: Avoid core file filling up a file system

You can setup a cron job to remove or move core files to a different place for review later on.

sp,
Dennis Handly
Acclaimed Contributor

Re: Avoid core file filling up a file system

On 11.31 there is a coreadm(1m) command:
http://docs.hp.com/en/B2355-60130/coreadm.1M.html