- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: setting the ulimit
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
02-14-2005 01:53 AM
02-14-2005 01:53 AM
setting the ulimit
regards
john
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 02:01 AM
02-14-2005 02:01 AM
Re: setting the ulimit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 02:01 AM
02-14-2005 02:01 AM
Re: setting the ulimit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 02:06 AM
02-14-2005 02:06 AM
Re: setting the ulimit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 02:07 AM
02-14-2005 02:07 AM
Re: setting the ulimit
USERLIM=billh
if [ $(id -un) = $USERLIM ]
then
ulimit -c 12345
ulimit -n 1234
fi
If there are many users that need these limits, you can expand the script to read a file with the specific users listed, or reverse the test and make a file that excludes certain users.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 02:51 AM
02-14-2005 02:51 AM
Re: setting the ulimit
I thought increasing ulimit beyond the users range was not allowed. See man ulimit.
A user can however set them , within the range, permanently via the above method (.profile).
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 06:13 AM
02-14-2005 06:13 AM
Re: setting the ulimit
ulimit -Sc 0
which says: no core files at all unless the user explicitly runs ulimit -c to raise the value. This allows for core files to be created from bad programs on a temporary basis.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2005 12:44 PM
02-15-2005 12:44 PM
Re: setting the ulimit
my solutions is to modify kernel configuration.when i reboot, limit for user changed.but for stack size still not change yet.when we run #ulimit -s 81920 , there is an error:
bash-2.04$ ulimit -s 81920
bash: ulimit: cannot modify limit: Not owner
bash-2.04$ ksh
$ ulimit -s 81920
ksh: ulimit: exceeds allowable limit
can you help me??