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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- A discussion of Dead Connection Detection, Resource Limits, V$SESSION, V$PROCESS and OS processesMITSession
- How to change the background color for PyCharmPyCharm
- profile的resource limits和資源計劃resource_manager_plan的limitMIT
- How To Change The Asm Rebalancing PowerASM
- How to Change RabbitMQ Queue Parameters in Production?MQ
- Change AUTO_START in ASM Resource Oracle ClusterwareASMOracle
- How to Change hostname in Oracle Linux 7OracleLinux
- How to change the implementation (detour) of an externally declared functionFunction
- How to change VIP and VIP/Hostname in 10g
- monitor PX limits from Resource Manager for active sessions (文件 ID 240877.1)MITSession
- How to change the APPS db password in Oracle EBSAPPOracle
- How to Change IP and VIP in Oracle Clusterware(一)-概念篇Oracle
- How to Change IP and VIP in Oracle Clusterware(二)-實操篇Oracle
- How to Recreate the OraInventory on UNIX Systems [ID 472854.1]AI
- How to Change Interconnect/Public Interface IP or Subnet in Oracle ClusterwareOracle
- [一分鐘知識分享]Change Process Chain execute time gapAI
- SAP PP how to re-read master data for process order?AST
- How to change Public VIP Address in 11gR2 RAC
- How to change Volume Licence Key for Windows XP and 2003Windows
- How to Change Default Web ADI Upload Parameters for FlexField Import / ValidationWebFlexImport
- How to change the password for win2003 via remote desktopREM
- How to Identify Resource Intensive SQL for Tuning [ID 232443.1](metalink artic)IDESQL
- Oracle 10g Limits - Logical Database LimitsOracle 10gMITDatabase
- How To Change The Oracle Hidden Parameters In Oracle 10g [ID 315631.1]Oracle 10g
- Physical Database LimitsDatabaseMIT
- limits.hMIT
- teradata limitsMIT
- 如何將UTC時間轉換為Unix時間戳(How to convert UTC time to unix timestamp)時間戳
- How to change oc4jadmin password for Application Server 10gR3(轉載)APPServer
- Oracle Physical Database LimitsOracleDatabaseMIT
- unixODBC: How to Generate ODBC Driver Shared Library libsqora on Linux/UnixLinux
- How to Rename Database/Change DB_NAME or ORACLE_SID/Instance Name-15390.1DatabaseOracle
- sqlserver Change Data Capture&Change TrackingSQLServerAPT
- nginx 修改 max open files limitsNginxMIT
- Process Monitor Process (PMON) (121)
- std::numeric_limits::max() std::numeric_limits::min()編譯錯誤MIT編譯
- 2Gb - File limits in Oracle(轉)MITOracle
- Oracle:/etc/security/limits.confOracleMIT