- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: core dump redirection, is it possible?
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
Discussions
Discussions
Forums
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
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
тАО06-08-2001 05:25 AM
тАО06-08-2001 05:25 AM
The pmd deamon is tend to crash on one of our systems and this lead to file system full situation on it.
Is there any means to redirect core dump other then to move starting point to other directory?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2001 05:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2001 05:31 AM
тАО06-08-2001 05:31 AM
Re: core dump redirection, is it possible?
In the problem directory do the following:
# rm core
# touch core
# chmod 000 core
This will stop new core files from being deposited.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2001 05:38 AM
тАО06-08-2001 05:38 AM
Re: core dump redirection, is it possible?
mv core in crontab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2001 06:02 AM
тАО06-08-2001 06:02 AM
Re: core dump redirection, is it possible?
how about a different approach and resolving the root cause and see why the pmd core dumps.
There are known issue with pmd core dumping.
What is your OS level and what does "file core" say?
A first try is to install patch PHSS_23324 and PHSS_19345 if you run 10.20.
If not let us know what file on core says. maybe there is a different solution to it
Steffi Jones
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2001 08:36 AM
тАО06-08-2001 08:36 AM
Re: core dump redirection, is it possible?
First of all I want to say thank to you all for your help.
I made ln -s /var/tmp/core core and now I am waiting for result.
About patches I thing it is a good idea. By the way, the problem system is HP-UX 10.20 and there are installed following OV patches:
PHSS_18891, PHSS_21045, PHSS_22423
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2001 08:51 AM
тАО06-08-2001 08:51 AM
Re: core dump redirection, is it possible?
I checked one more time in PHSS_23324 and it talks about the damon core dumping... so it would be worth a shot to install them now that we know we are talking about the 10.20 OS.
Good luck,
Steffi Jones
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2001 05:38 PM
тАО06-08-2001 05:38 PM
Re: core dump redirection, is it possible?
ulimit in the POSIX shell is a command line interface to setrlimit(2) which is a program call. Use the command ulimit -a to see all the features. You can put this into your /etc/profile so that every user inherits this setting. Or you can use a shell script to wrapper your failing program so it never creates a core dump file.
NOTE: The POSIX shell (sh) is not the Bourne shell in HP-UX 10.0 and higher, and ksh does not support any options to it's implementation of ulimit. Other non-standard shells may not support ulimit either...so /etc/profile may have to test the login shell for appropriateness.
Bill Hassell, sysadmin