- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ulimit error message
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
01-21-2004 05:49 AM
01-21-2004 05:49 AM
I've have a ksh script that starting erroring out with - ulimit: The specified value exceeds the user's allowable limit.
This is on a 10.20 server and the script is doing a find command, along with am ll -R command.
Is there any way to eliminate this error ??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 05:51 AM
01-21-2004 05:51 AM
Re: ulimit error message
Why not use POSIX-sh ?
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 05:53 AM
01-21-2004 05:53 AM
Re: ulimit error message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 05:56 AM
01-21-2004 05:56 AM
Re: ulimit error message
There may be limits on what a user can do with ulimit on that platform.
You may not want to use a value like unlimited, it confuses things. I know oracle's startup profile scripts are shipped with bad code that misinterprets input data as non-numeric when certain limits are changed to unlimited.
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
01-21-2004 05:59 AM
01-21-2004 05:59 AM
Re: ulimit error message
Right now a ulimit -a displays:
[scapp01] # ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 65536
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 1024
[scapp01] #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 06:31 AM
01-21-2004 06:31 AM
Re: ulimit error message
What exactly is the script trying to increase?.
Can you run it with set -x option and see if you get more information?.
For ex., if it is trying to set the data segment size to more than maxdsiz kernel parameter, you would get this error.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 06:37 AM
01-21-2004 06:37 AM
Re: ulimit error message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 06:40 AM
01-21-2004 06:40 AM
Re: ulimit error message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 06:48 AM
01-21-2004 06:48 AM
SolutionSolve the problem by replacing ulimit $l in
/var/adm/cron/.proto file with these lines:
if [ $l -eq 4194304 ]
then
ulimit unlimited
else
ulimit $l
fi
Please note that "$l" above is the dollar sign ($) followed by the lower case letter 'ell' (not the number one). See proto(4) for its special meaning in this context.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 06:50 AM
01-21-2004 06:50 AM
Re: ulimit error message
Edit the /var/adm/cron/.proto file:
Replace the "ulimit $l" with:
if [ $l -eq 4194304 ]
then
ulimit unlimited
else
ulimit $l
fi
Note the the $l is a $(ell - lower case L - NOT the number 1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 06:58 AM
01-21-2004 06:58 AM