Unix/Linux Go Back    

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

Core file under /tmp


Thread Tools Search this Thread Display Modes
Old Unix and Linux 04-23-2014   -   Original Discussion by newtoaixos
newtoaixos's Unix or Linux Image
newtoaixos newtoaixos is offline
Registered User
Join Date: Jul 2011
Last Activity: 31 August 2016, 5:57 AM EDT
Location: Bangalore
Posts: 96
Thanks: 29
Thanked 0 Times in 0 Posts
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.
Sponsored Links
Old Unix and Linux 04-23-2014   -   Original Discussion by newtoaixos
Scrutinizer's Unix or Linux Image
Scrutinizer Scrutinizer is offline Forum Staff  
Join Date: Nov 2008
Last Activity: 21 March 2018, 5:32 PM EDT
Location: Amsterdam
Posts: 11,748
Thanks: 537
Thanked 3,413 Times in 3,008 Posts
Find out why there are core dumps in /tmp. Consider enlarging the /tmp filesystem if you need to debug those core dumps..
Sponsored Links
Old Unix and Linux 04-23-2014   -   Original Discussion by newtoaixos
MadeInGermany's Unix or Linux Image
MadeInGermany MadeInGermany is online now Forum Staff  
Join Date: May 2012
Last Activity: 22 March 2018, 3:52 AM EDT
Location: Simplicity
Posts: 4,010
Thanks: 343
Thanked 1,346 Times in 1,214 Posts
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:

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.
Old Unix and Linux 06-03-2014   -   Original Discussion by newtoaixos
RuBiCK's Unix or Linux Image
RuBiCK RuBiCK is offline
Registered User
Join Date: Aug 2009
Last Activity: 3 June 2014, 8:45 AM EDT
Location: Spain
Posts: 49
Thanks: 4
Thanked 1 Time in 1 Post
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 Linux

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Permission of tmp file Diabolist9 Solaris 2 03-13-2012 09:50 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
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 04:14 AM.