- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Using the ulimit command
Operating System - Tru64 Unix
1752815
Members
5948
Online
108789
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
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
Go to solution
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
тАО10-14-2003 07:10 AM
тАО10-14-2003 07:10 AM
I was working with my Oracle DBA who, at the direction of Oracle Tech support, ran an "RDA" - included in that analysis is a report that showed the output of the 'ulimit -a' command. The tech analyzing the report said that two of the items, data and stack, needed to be increased. I read the following from the man page (couldn't find anything in the online documentation):
NOTES
The ulimit command affects only the current execution environment, therefore it has no effect when run in a separate execution environment such as one of the following:
nohup ulimit -f 10000 env ulimit 10000
Therefore, I have some questions:
1. Can I run the ulimit command while running multi-user to increase a limit w/o any concerns that doing so will interrupt any services?
2. If in fact this helps, how do we make the changes permanent?
Thanks!
NOTES
The ulimit command affects only the current execution environment, therefore it has no effect when run in a separate execution environment such as one of the following:
nohup ulimit -f 10000 env ulimit 10000
Therefore, I have some questions:
1. Can I run the ulimit command while running multi-user to increase a limit w/o any concerns that doing so will interrupt any services?
2. If in fact this helps, how do we make the changes permanent?
Thanks!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2003 03:23 PM
тАО10-14-2003 03:23 PM
SolutionYou make the changes permanent through SYSCONFIG.
For example if you needed the stack to be 32768 KB (we use that for spike)you could use:
sysconfig -r proc per_proc_stack_size=33554432
compare the following numbers from ulimit with those from sysconfig, and you'll see the correspondence:
root> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 131072
stack(kbytes) 8192
memory(kbytes) 4068048
coredump(blocks) unlimited
nofiles(descriptors) 4096
vmemory(kbytes) 4194304
root> ulimit -a | awk -F"[ (+" '/kbyte/{print $1,$3*1024}'
data 134217728
stack 8388608
memory 4165681152
vmemory 4294967296
root> sysconfig -q proc | grep proc
proc:
max_proc_per_user = 256
per_proc_stack_size = 8388608
max_per_proc_stack_size = 33554432
per_proc_data_size = 134217728
max_per_proc_data_size = 1073741824
max_per_proc_address_space = 4294967296
per_proc_address_space = 4294967296
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2003 06:46 PM
тАО10-14-2003 06:46 PM
Re: Using the ulimit command
1. Yes you can use the ulimit command in multiuser mode it will affect only processes started within this session.
2. the parameters mentions in .1 must be set within dxkerneltuner or /etc/sysconfigtab
(sysconfig command)
Btw. limit parameters were discussed several times here in the forum. Please look into previous postings for explanations.
2. the parameters mentions in .1 must be set within dxkerneltuner or /etc/sysconfigtab
(sysconfig command)
Btw. limit parameters were discussed several times here in the forum. Please look into previous postings for explanations.
Help() { FirstReadManual(urgently); Go_to_it;; }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2003 06:50 AM
тАО10-15-2003 06:50 AM
Re: Using the ulimit command
Thanks to both, I believe I understand better. I also realized after I posted that there was alot said out there, but sometimes it helps to refine your question to get simple answers. As a rule, we should all do our homework first :)
Thanks!
Thanks!
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP