👤
Home Man
Search
Today's Posts
Register

HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

Core file under /tmp

👤 Login to reply

 
Thread Tools Search this Thread
# 1  
Old 04-23-2014
Core file under /tmp

Hi Guys

Recently we have a issue where the core file under /tmp grows and there by /tmp becomes 100% full in our HP unix server.

Any ideas or suggestions about how we can resolve this.
# 2  
Old 04-23-2014
Find out why there are core dumps in /tmp. Consider enlarging the /tmp filesystem if you need to debug those core dumps..
# 3  
Old 04-23-2014
If you know the crashing program, and you do not want to send its core file to the application vendor, then you can limit or disable core dump size in the environment, e.g. in a start shell:
Code:
#!/bin/sh
ulimit -c 2048 # limit core dump size to 1MB, enough for "file"
exec /path/to/the/real/program "$@"

The real program inherits the limit set by the start shell.
# 4  
Old 06-03-2014
I suggest you take a look to coreadm command

With that command I centralice all cores into a single filesystem /var/adm/crash that if it becomes full it has no impact

I hope it helps
The Following User Says Thank You to RuBiCK For This Useful Post:
MadeInGermany (06-04-2014)
👤 Login to reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
[Solved] Not able to delete/create file in /tmp solaris_1977 AIX 9 01-21-2014 01:10 AM
Permission of tmp file Diabolist9 Solaris 2 03-13-2012 09:50 PM
/tmp file system full manoj.solaris AIX 1 08-21-2011 11:14 PM
Removing tmp file too quickly? mandelbrot333 Shell Programming and Scripting 2 03-05-2010 02:41 PM
Matching a file with extension tmp ananddr Shell Programming and Scripting 3 12-23-2008 04:11 AM
Increase size of /tmp swap File cmackin Solaris 2 06-01-2006 02:14 PM
*Error: file </tmp/srw25108193> does not exist cgege HP-UX 0 04-10-2006 03:18 AM
howto change parameter in vi to take tmp file ajaya UNIX for Dummies Questions & Answers 4 03-29-2006 10:09 AM
after init all /tmp file has been removed yesthomas Solaris 5 12-06-2005 05:48 AM
monitoring /tmp and /var/tmp for suspicous activity jamesbond UNIX for Dummies Questions & Answers 1 12-26-2003 06:59 AM


All times are GMT -4. The time now is 05:11 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password