Core file under /tmp


 
Thread Tools Search this Thread
Operating Systems HP-UX Core file under /tmp
# 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 Smilie

I hope it helps
This User Gave Thanks to RuBiCK For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

[Solved] Not able to delete/create file in /tmp

This is AIX box and I am not able to create or delete file in /tmp though space is there root@ttcols01/ #touch /tmp/test_file touch: 0652-046 Cannot create /tmp/test_file. root@ttcols01/ #mkdir /tmp/test_dir mkdir: 0653-358 Cannot create /tmp/test_dir. /tmp/test_dir: Invalid file system... (9 Replies)
Discussion started by: solaris_1977
9 Replies

2. Solaris

Permission of tmp file

The script written by csh, when it running it make some tmp file, the process need to read the tmp file to complete but tmp unable to open, don't have permission. Anyone know the way to automatic chmod the tmp file when run process. (2 Replies)
Discussion started by: Diabolist9
2 Replies

3. AIX

/tmp file system full

Hi, I would like to know if /tmp file system is full, wheather it will affect the peformance of application installed on AIX. if Memory and CPU are not heavily utilized. Regards, Manoj. (1 Reply)
Discussion started by: manoj.solaris
1 Replies

4. Shell Programming and Scripting

Removing tmp file too quickly?

Still trying to get the basics down and I would like a different solution to what I'm currently doing and a better understanding of why it's happening. I've written a simple backup script that tars individual directories and then dumps them to a NFS drive. STDERR is being dumped into a process... (2 Replies)
Discussion started by: mandelbrot333
2 Replies

5. Shell Programming and Scripting

Matching a file with extension tmp

Hi all, I am writing a shell script for processing files in a directory. I need to read files in the directory and process them and write it to another file. For example, if the directory contains the following files, file1,file2,file3 I want to process these files and create... (3 Replies)
Discussion started by: ananddr
3 Replies

6. Solaris

Increase size of /tmp swap File

Hi Guys I need to increase the size of my /tmp swap file. What is the easiest way to do this. Thanks Carson (2 Replies)
Discussion started by: cmackin
2 Replies

7. HP-UX

Error: file </tmp/srw25108193> does not exist

Hi Everybody I need help from you guys. I'm getting this message on PC where i'm running Unix User using Reflection in order to get graphically format for Oracle Report Server. What is causing this msg and how to solve it? Regards and thanks in advance. Gege *Error: file... (0 Replies)
Discussion started by: cgege
0 Replies

8. UNIX for Dummies Questions & Answers

howto change parameter in vi to take tmp file

i have a problem running vi. there is no space in /var where it creates tmp file. How can I change this parameter so that it takes from other directory. thanks (4 Replies)
Discussion started by: ajaya
4 Replies

9. Solaris

after init all /tmp file has been removed

I'm new in Solaris server After the system support reboot the Solaris server, all the files in /tmp has been removed, is that normal under Solaris or under different init level will get different result? which init level will do that? (5 Replies)
Discussion started by: yesthomas
5 Replies

10. UNIX for Dummies Questions & Answers

monitoring /tmp and /var/tmp for suspicous activity

Hello, does anyone have a script that can check the contents of the /tmp directory and for example e-mail the directory content if anything other than session files are present? Maybe there are better ways to monitor suspicous /tmp and /var/tmp activity, if so I'm listening :) (1 Reply)
Discussion started by: jamesbond
1 Replies
Login or Register to Ask a Question