- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ulimit : How to set this value, hard set & soft se...
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
12-16-2002 03:05 PM
12-16-2002 03:05 PM
ulimit : How to set this value, hard set & soft set
thanks & regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2002 03:14 PM
12-16-2002 03:14 PM
Re: ulimit : How to set this value, hard set & soft set
.login scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2002 03:21 PM
12-16-2002 03:21 PM
Re: ulimit : How to set this value, hard set & soft set
I believe you are talking about the write file size parameter.
Edit the .profile of the user and keep ulimit -f no_of_512bytes
into it.
Add -H for hardlimit and -S for softlimit.
If you want to set it hard, you would need to put it in /etc/profile with an "if" statement to do it only for that user or certain users. Otherwise, the user can change his/her profile to adjust the parameter.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 08:27 AM
12-17-2002 08:27 AM
Re: ulimit : How to set this value, hard set & soft set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 12:12 PM
12-17-2002 12:12 PM
Re: ulimit : How to set this value, hard set & soft set
I think the solution for your problem is using quotas.
Look in the manual:
"Managing Systems and Workgroups:
A Guide for HP-UX System Administrators"
Chapter 6:
Administering a System: Managing Disks and Files
Managing File Systems
Managing Disk Space Usage with Quotas
Ivone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 01:24 PM
12-17-2002 01:24 PM
Re: ulimit : How to set this value, hard set & soft set
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 4096
You can change these parameters as root user with the following commands
ulimit -f for files
-d for descriptors
as an example. As you see, I've messed with mine already.
Just in case you are getting an error from the oracle profile program, there is a coding change you need to make to their environment script, it wasn't properly tested on HP-UX.
Hit me here or buzz me an email if you need to see the oracle code.
Steve
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com