- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ulimit and korn shell
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-13-2003 09:28 AM
01-13-2003 09:28 AM
I'm a little confused about the ulimit settings for a posix user
I've been asked to look at a file system and users limits after a programme stopped it's file creation at exactly 2 gig
1. Upon checking the filesystem , I can see that largfiles is enabled
f_flag: 16
2.As the user , who's shell is ksh
$ulimit
4194303 (this is the limit for ksh!)
I am able to create the below file using prealloc which exceeds 2 gig
-rw-rw-rw- 1 dssadmin users 2200000000 Jan 13 16:59 dssadmin.test
This proves the filesystem setting is ok , but exceeds the file limit size set by ulimit ?
Can anyone explain this ?
Regards
Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 09:31 AM
01-13-2003 09:31 AM
Re: ulimit and korn shell
I'm a little confused about the ulimit settings for a posix user
SHOULD BE
I'm a little confused about the ulimit settings for a ksh user
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 09:48 AM
01-13-2003 09:48 AM
Re: ulimit and korn shell
If this is 11.0, have a look at patch PHCO_27418.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 10:00 AM
01-13-2003 10:00 AM
Re: ulimit and korn shell
From the patch description
5. ksh ulimit does not report 'unlimited' for filesize.
This causes users to incorrectly assume that ksh
does not handle large files.
What about the entry from this doc
SHELL: ulimit cannot be set to unlimited in a Korn shell
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063227899
Thanks in advance
I seem to have a conflict here with what ulimit states when the user and what
size of file can be created
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 10:19 AM
01-13-2003 10:19 AM
Re: ulimit and korn shell
The document you cite is old. From the patch text you can read, too:
/begin_quote/
Problem Reproduction:
--------------------
* Ensure that the file size limit for the current session is not set (i.e. it is unlimited).
* Invoke ksh
* Execute the builtin command - ulimit
The shell would output: 4194303
The correct behaviour would be to output: unlimited
/end_quote/
There's more. You might try downloading and installing the patch.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 12:14 PM
01-14-2003 12:14 PM
Solution