- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Ulimit restriction
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
03-06-2002 01:08 AM
03-06-2002 01:08 AM
Ulimit restriction
I checked /etc/profile and there is no restriction.
My question is, how can I increase this value ?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2002 01:23 AM
03-06-2002 01:23 AM
Re: Ulimit restriction
cd $d
if [ "$1"= "4194304"]; then
ulimit unlimited
echo was number
else
ulimit $1
echo was unlimited
fi
ulimit
umask $m
$<
Ciao
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 12:29 AM
03-07-2002 12:29 AM
Re: Ulimit restriction
but I don't use the cron to run my scripts.
Anyway I changed the script as you said, but it still doesn't work.
New idea ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 12:36 AM
03-07-2002 12:36 AM
Re: Ulimit restriction
ulimit has only got variables when used in conjunction with the posix shell. No other shell has options for posix. Have a look at the man page for sh-posix.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 12:53 AM
03-07-2002 12:53 AM
Re: Ulimit restriction
There is somewhere a limit set, but where ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 01:16 AM
03-07-2002 01:16 AM
Re: Ulimit restriction
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 01:45 AM
03-07-2002 01:45 AM
Re: Ulimit restriction
1)maxfiles_lim
2)maxfiles
3)nfile
4)nflocks
5)ninode
-K.Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 01:47 AM
03-07-2002 01:47 AM
Re: Ulimit restriction
What is your maxdsiz btw?
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 02:17 AM
03-07-2002 02:17 AM
Re: Ulimit restriction
1)maxfiles_lim 2048
2)maxfiles 2048
3)nfile 12008
4)nflocks 664
5)ninode 7360
maxdsiz 1073741824
maxdsiz_64bits 1073741824
By the way, we have another server with the same kernel's parameters, and we don't have this problem ?
It seems that it has something to do with the shell, but on all our HP systems we use sh-posix and the ulimit value is set to unlimited by default. But I don't know here this default value is set ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 02:25 AM
03-07-2002 02:25 AM
Re: Ulimit restriction
"find / -type f | xargs grep ulimit | pg"
command should help you in finding where all the files "ulimit" command is used.
-K.Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 06:38 AM
03-07-2002 06:38 AM
Re: Ulimit restriction
(sh-posix(1) man) and the difference is that
hard limit can not be increased once it's been
set but soft can.What happens is if you do not specify which limit you change (soft or hard ) with -H/-S flags after "ulimit" command,it changes both and afterthat impossible to change soft "-f" value.
What can be done is to leave the current shell,
relogin,check with "ulimit -fH","ulimit -fS" ulimit -fS can go up to ulimit -fH and change
as needed.