- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- limit the size of core dumps
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
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
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-02-2003 03:40 AM
тАО06-02-2003 03:40 AM
limit the size of core dumps
How can i do ??
Thanks
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2003 03:44 AM
тАО06-02-2003 03:44 AM
Re: limit the size of core dumps
For the other shell, looks at man pages and for ulimit build in command.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2003 03:49 AM
тАО06-02-2003 03:49 AM
Re: limit the size of core dumps
Is the size you indicated in MBs or KBs?
Thanks
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2003 03:52 AM
тАО06-02-2003 03:52 AM
Re: limit the size of core dumps
-c The number of 512-byte blocks in the size of core dumps.
So the easy way, is to add it in the /etc/profile a line like this:
ulimit -c 20480
It will limit core files to 10Mb.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2003 04:22 AM
тАО06-02-2003 04:22 AM
Re: limit the size of core dumps
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2003 04:30 AM
тАО06-02-2003 04:30 AM
Re: limit the size of core dumps
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2003 04:32 AM
тАО06-02-2003 04:32 AM
Re: limit the size of core dumps
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe0086d96588ad4118fef0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe51272106351d5118fef0090279cd0f9,00.html
Regarding "...should i put the command in every .profile file...."
Every user goes through /etc/profile. Additions in this file can be made here for all users, just parse out the shell.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3de0f841489fd4118fef0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2003 04:38 AM
тАО06-02-2003 04:38 AM
Re: limit the size of core dumps
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2003 04:42 AM
тАО06-02-2003 04:42 AM
Re: limit the size of core dumps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2003 05:10 AM
тАО06-02-2003 05:10 AM
Re: limit the size of core dumps
Just ulimit
$ulimit 20480
If the core size exceeds the limit, it will dump as much as allowed by the ulimit.
HTH
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2003 05:27 AM
тАО06-02-2003 05:27 AM
Re: limit the size of core dumps
Sounds like a shell mismatch. Posix vs. ksh.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8f106049dbb6d611abdb0090277a778c,00.html
Test for the shell:
echo $SHELL
/usr/bin/sh (* Posix *)
echo $SHELL
/usr/bin/ksh (* ksh *)
If you're having trouble determining where to put the logic in /etc/profile then use 'set -xv' to debug.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbcbf68da2286d711abdc0090277a778c,00.html