- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: core dump space
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 09:56 AM
09-06-2000 09:56 AM
core dump space
I saw this in the tech knowledge base:
Use these steps to prevent the core dumps from consuming large amountsof disk space:
1. Create a core file in the directory in which you expect the core file: > core
2. Change the core file to read-only:
chmod 444 core
The core files will no longer be written to disk.
Is that right? So can I just chmod for my /var/adm/crash directlry and that will work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 09:59 AM
09-06-2000 09:59 AM
Re: core dump space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 10:04 AM
09-06-2000 10:04 AM
Re: core dump space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 10:08 AM
09-06-2000 10:08 AM
Re: core dump space
The 444 permissions technique is to prevent the creation of large core dumps from 'normal' applications (which dump to a file 'core' in their current directory)rather than a system crashdump which is saved to /var/adm/crash.
As per Alan's post, setting SAVECORE=0 will prevent the system restart from saving a crashdump. If you are on HP-UX 11 though the method for saving crashdumps has been rewritten so that only some parts of memory are actually dumped rather than all of it. You will need much less space in /var/adm/crash.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 10:11 AM
09-06-2000 10:11 AM
Re: core dump space
With a dedicated dump device, turning savecore off on reboot also speeds recovery time since the boot will not be delayed while the core is written.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 10:15 AM
09-06-2000 10:15 AM
Re: core dump space
My point is that these are two separate concepts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 10:31 AM
09-06-2000 10:31 AM
Re: core dump space
"WARNING: Insufficient space on dump device to save full crashdump.
Only 524288000 of 2147484672 bytes will be saved."
However, when the system reboots, the /sbin/init.d/savecore script checks the dump area to see if a core dump exists. If a dump exists, then by default, it will be saved underthe directory /var/adm/crash. This space may or maynot be also the dump area. Use lvlnboot -v to see how your dump is used.
The question I have for you is: does your procedure prevent dumps from occuring period or does it prevent savecore from performing its thing?
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 10:40 AM
09-06-2000 10:40 AM
Re: core dump space
I do not believe there is any way to prevent the system from dumping ram into configured dump space at a crash. The procedure I gave was meant to address space concerns in /var/adm/crash (or other cooked filesystems).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 10:46 AM
09-06-2000 10:46 AM
Re: core dump space
Tony