Best Practice to avoid dump core to fill-up root disk


 
Thread Tools Search this Thread
Operating Systems HP-UX Best Practice to avoid dump core to fill-up root disk
# 1  
Old 10-08-2009
Best Practice to avoid dump core to fill-up root disk

Hi,

We're running HP-UX 11.21 / 11.31 on PARISC and ITANIUM. We're looking for soluation to avoid the core dump files to fill up / disk. Which moethod or technology that you normally use to implement this?

Thanks.
# 2  
Old 10-08-2009
Ordinary users should never be able to write /usr/bin, etc. Also, the root filesystem - var, etc, usr, opt and friends - should all be on a filesystem unto itself with no application data at all. Therefore /var/spool, /var/tmp, and so on belong on another physical filesystem.

Consider -
Code:
ulimit -c <max blocks you want to allow>

in /etc/profile.

For ksh and sh (Bourne) on HP-UX; for batch systems. Interactive users can unset the
soft limit. But -- they should not have write access to the root filesystem
# 3  
Old 10-09-2009
As an alternative to Jims option I (because I do read the core sometimes and try to debug...) I create a symbolic link of core to somewhere where I do have enough space (I configure al HP boxes with a /tmp2 file system of a couple of GB and force all users to use reserving /tmp for system mostly, /var/tmp also...) For the rest I totally agree with Jim
# 4  
Old 10-09-2009
Thank you both of you!
# 5  
Old 10-13-2009
HP-UX 11.31 gives a new funcionality: coreadm

With this new tool you can specity the name of the core, and where your cores will go and many many many options.

You could read a short post about it here:
HP-UX/HP-UX 11.31: gestión de cores con coreadm

Sorry but it's spanish.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

core dump

Hi guys, just want to know which core file pattern is best to set for core dumps: 1) per-process file name pattern or 2) global file name pattern. I will really appreciate an explanation why the chosen one is better. Thanks a lot guys. (2 Replies)
Discussion started by: cjashu
2 Replies

2. HP-UX

Core dump in HP-UX

Hi Guys, I was wondering if somebody could give me a link to a very good source of information or document about core dump process and How to's about it. I have also googled it and found some articles myself. Thanks Messi (1 Reply)
Discussion started by: messi777
1 Replies

3. UNIX for Dummies Questions & Answers

No core dump

my progrme complaints 'Segmentation fault'. How to let it print 'Segmentation fault(core dumped)' and generate core dump file? $ulimit unlimited (22 Replies)
Discussion started by: vistastar
22 Replies

4. Programming

core dump

how to view core dumped file using gdb and how to extract information from the coredumped file.can we get similar information from the other utilites like strace or ptrace. (2 Replies)
Discussion started by: Manabhanjan
2 Replies

5. UNIX for Advanced & Expert Users

Core Dump

Hello all, Iam new to unix while executing java program which finely working in windows know iam testing with unix ,but in unix while executing iam getting core dump, my application is in client server environment and it is menu drivrn application on clicking options no problem but after some time... (1 Reply)
Discussion started by: vinp
1 Replies

6. UNIX for Advanced & Expert Users

core dump

Hi All, i am new to this forum.i want detail of reading the core file and trace the problem because of what the program get crashed.please help me.if any body knows any website or tutoril plese let me know. sudhir (6 Replies)
Discussion started by: sudhir patnaik
6 Replies

7. UNIX for Dummies Questions & Answers

core dump

I've got a core dump in my weblogic home directory, which i have tried to debug by initiating savecore from /etc/init.d/savecore start but savecore failed to create the two files, that is vmcore.n and vmunix.n. savecore is enable on my server to save vmcore and vmunix in /var/crash/hostname 1)... (4 Replies)
Discussion started by: hassan2
4 Replies

8. UNIX for Dummies Questions & Answers

core dump

Hi , Working on AIX 4.3. An internal error from my apps engine suddenly causes the engine to die. During this time i do notice a core file being dumped in the directory from where I try to re-start my engine. Q is how does one read this core file, or I should say 'what is this core file'? thnx (2 Replies)
Discussion started by: buRst
2 Replies

9. UNIX for Dummies Questions & Answers

core dump

does any one have read a core dump? is there any reader for that? or may i know what is the use of that core which takes sometimes memory in GBs? :) (6 Replies)
Discussion started by: sskb
6 Replies

10. UNIX for Dummies Questions & Answers

help, what is the difference between core dump and panic dump?

help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies
Login or Register to Ask a Question