How To Change UNIX Process Resource Limits
$ ulimit -a
[root@rac1 ~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 1024
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 65536
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 16384
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
[root@rac1 ~]# ulimit -u 16383
[root@rac1 ~]# ulimit -u
16383
$ ulimit -s unlimited
HP-UX:
=====================================================================
1. On HP you cannot increase a soft limit above a kernel imposed hard limit.
2. To raise a kernel imposed hard limit use SAM or kmupdate.
3. Changing a kernel imposed hard limit requires a reboot.
4. HP-UX has some different process resource limits for 64bit executables that cannot be modified via 'limit' or 'ulimit'. These parameters, recognizable by their '_64bit' suffix, can only be changed by an OS kernel update.
To display hard limit values from the HP-UX kernel:
% sam
-or-
% /usr/sbin/sysdef|grep max ('sysdef' desupported in HP-UX 11i)
-or-
% /usr/sbin/kmtune|grep max
maxdsiz 512*1024*1024
maxdsiz_64bit (256*1024*1024)
maxfiles 60
maxfiles_lim 1024
maxssiz 0x00800000
maxssiz_64bit 0x00800000
maxtsiz 0x04000000
maxtsiz_64bit 0x0000000040000000
參考文獻:
Subject: How to Display and Change UNIX Process Resource Limits
Doc ID: 188149.1 Type: BULLETIN
Modified Date : 29-JAN-2007 Status: PUBLISHED
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9252210/viewspace-611522/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to change the background color for PyCharmPyCharm
- profile的resource limits和資源計劃resource_manager_plan的limitMIT
- 如何將UTC時間轉換為Unix時間戳(How to convert UTC time to unix timestamp)時間戳
- Oracle Physical Database LimitsOracleDatabaseMIT
- sqlserver Change Data Capture&Change TrackingSQLServerAPT
- Oracle:/etc/security/limits.confOracleMIT
- nginx 修改 max open files limitsNginxMIT
- 2Gb - File limits in Oracle(轉)MITOracle
- Laravel Resource Routes和API Resource Routes講解LaravelAPI
- Madagascar Projection ChangeProject
- JavaScript change 事件JavaScript事件
- 【node】process
- Unix pthreadthread
- How to ssh
- Unix哲學(Unix程式設計藝術)程式設計
- 【譯】Resource Hints
- change ^M to new line
- change tabs in Adobe AcrobatBAT
- chmod命令(change mode)
- 322. Coin Change
- find process by port
- How to find dependency
- 《Unix 網路程式設計》15:Unix 域協議程式設計協議
- [20190312]檢視v$datafile欄位OFFLINE_CHANGE#, ONLINE_CHANGE#.txt
- Metasploit resource命令技巧
- Spring系列.Resource介面Spring
- DRM - Dynamic Resource MasteringAST
- Android resource linking failedAndroidAI
- RuntimeError: An attempt has been made to start a new process before the current process hasError
- [Symfony Component Process Exception RuntimeException] The Process class relies on proc_open, whichException
- mysql change buffer小結MySql
- Innodb特性之change buffer
- Use Nid to Change dbname(轉)
- HDU 1792 A New Change Problem
- gerrit "missing Change-Id"
- 使用prometheus來避免Kubernetes CPU Limits造成的事故PrometheusMIT
- mysql報錯Changed limits: max_open_files: 5000MySqlMIT
- pipe stderr into another process
- Statistical Process Control in SAP