- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ulimit usage
Operating System - HP-UX
1819866
Members
2855
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО09-04-2007 03:16 PM
тАО09-04-2007 03:16 PM
ulimit usage
Hi all,
how would I know if value of ulimit already reached its limit? Can someone tell me how to monitor usage in ulimit? below is the current values of ulimit.
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 5000
Thanks!
how would I know if value of ulimit already reached its limit? Can someone tell me how to monitor usage in ulimit? below is the current values of ulimit.
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 5000
Thanks!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2007 03:29 PM
тАО09-04-2007 03:29 PM
Re: ulimit usage
It depends upon which ulimit you are talking about. For example, if a write() system call results in a file trying to grow beyond the filesize ulimit for a process, the system call sets the global variable errno = EFBIG. If a process reaches the memory limit, malloc() would set errno = ENOMEM. If the number of files exceeds the per-process limit, open() sets errno = EMFILE. This occurs within a process and it is up to the process to report these errors. Well-written applications with suitable permissions will first hit the soft ulimit and request to increase it up to the hard ulimit --- and lof a warning that ulimit was (temporarily) increased.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2007 04:03 PM
тАО09-04-2007 04:03 PM
Re: ulimit usage
You can monitor some of these with top and glance.
top will give an estimate of data and time.
glance will give nofiles, stack, data, time and file.
For nofiles, you may have to add up the entries. ;-)
For stack & data you need to look at the memory regions.
For file, you need to look at the current pointer for each open (for write) file.
top will give an estimate of data and time.
glance will give nofiles, stack, data, time and file.
For nofiles, you may have to add up the entries. ;-)
For stack & data you need to look at the memory regions.
For file, you need to look at the current pointer for each open (for write) file.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP