HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
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,

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