- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ulimit -n
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
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
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
тАО10-29-2007 11:25 PM
тАО10-29-2007 11:25 PM
ulimit -n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2007 11:56 PM
тАО10-29-2007 11:56 PM
Re: ulimit -n
I just tried the command on an rx2600 and it worked just fine for me.
I did it as root.
This is a valid option.
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
тАО10-29-2007 11:56 PM
тАО10-29-2007 11:56 PM
Re: ulimit -n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 12:13 AM
тАО10-30-2007 12:13 AM
Re: ulimit -n
I did the same and it worked for me too from user root.
[root@mlynx root]# ulimit -n 4096
[root@lmynx root]#
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 12:36 AM
тАО10-30-2007 12:36 AM
Re: ulimit -n
I figured out it was an HP-UX question.
No such thing as HP Unix. It's called HP-UX, a minor thing.
I suggest you Ignore the Linux advice and have this question moved to HP-UX forum.
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
тАО10-30-2007 12:51 AM
тАО10-30-2007 12:51 AM
Re: ulimit -n
Can you cut and paste what you actually see?
I just tried on an rx2600 running 11.23 and it worked fine.
# ulimit -n 4096
# ulimit -n
4096
# uname -a
HP-UX xxx B.11.23 U ia64 0358113402 unlimited-user license
To clarify SEP's comment, HP-UX is the name of (one of) HP's UNIX system. The fact that you mentioned 11.23 made it clear what you were referring to, but putting it in the right forum to start with would have caused less confusion :-)
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 07:38 AM
тАО10-30-2007 07:38 AM
Re: ulimit -n
As root
[/root] ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 4194300
stack(kbytes) 262144
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 8192
As non-root
$ ulimit -n
ksh: ulimit: bad option(s)
$ whereis ulimit
ulimit: /usr/bin/ulimit /usr/share/man/man2.Z/ulimit.2
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 4294967292
stack(kbytes) 262144
memory(kbytes) unlimited
coredump(blocks) 4194303
so nofiles is NOT defined for this user.
But i dont have explanation for that..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 12:44 PM
тАО10-30-2007 12:44 PM
Re: ulimit -n
You can't use ksh. You must use sh or dtksh.
>Santhosh: But I don't have explanation for that..
You should have realized that you changed your shell to ksh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 03:20 PM
тАО10-30-2007 03:20 PM
Re: ulimit -n
Or you can use the POSIX shell which is a superset of ksh-1988 or change your shell to dtksh (ksh-1993).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2007 06:57 AM
тАО10-31-2007 06:57 AM
Re: ulimit -n
This is only good for looking but not touching, since a child can't change the parent.