- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ulimit change for user
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
07-16-2007 09:42 PM
07-16-2007 09:42 PM
"su: ulimit: The specified value exceeds the user's allowable limit."
currently coredump size for only this user is zero.
/.root#ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2097152
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 0
nofiles(descriptors) 4092
I have checked /etc/profile and $Home/.profile file. Nowhere mentioned about user limits.
Can anyone suggest me how can i increase coredump value for user X
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2007 09:58 PM
07-16-2007 09:58 PM
SolutionThe ulimit values for root may be setting overall system limits. If you change them for root you may overcome this issue.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2007 10:00 PM
07-16-2007 10:00 PM
Re: ulimit change for user
You can't. Once it is 0, only root can change it, and only for itself.
You need to figure out how it got to be 0 and don't do that. ;-)
Also, I've had no end of problems using ulimit -Hx, perhaps just leave the "H" off??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2007 11:10 PM
07-16-2007 11:10 PM
Re: ulimit change for user
ulimit -c 0
to /etc/profile. This is the same as -Hc 0 as it is a hard limit. Once a hard limit has been set, it cannot be raised. That's why a global setting of core size should always be 'soft' as in:
ulimit -Sc 0
then any user that needs to raise the limit temporarily can do so. I would recommend everyone use -Sc for both global and local settings. That way, the limit can be raised and lowered without root's intervention. By leaving ulimit -Sc 0 in /etc/profile, the default is no core files for all users unless they want them.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 12:14 AM
07-17-2007 12:14 AM
Re: ulimit change for user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 12:34 AM
07-17-2007 12:34 AM