aix 共享記憶體段大小限制

gaoyj1973發表於2008-09-02

曾經為確定AIX中共享記憶體大小限制的問題,google了好多資料,今天突然發現在AIX5.3的shmget文件中有詳細的說明,在此記錄一下。

man shmget


The shmget subroutine returns the shared memory identifier associated with the specified Key parameter.

The following limits apply to shared memory:
* Maximum shared-memory segment size is:
* 256M bytes before AIX 4.3.1
* 2G bytes for AIX 4.3.1 through AIX 5.1
* 64G bytes for 64-bit applications for AIX 5.1 and later
* Minimum shared-memory segment size is 1 byte.
* Maximum number of shared memory IDs is 4096 for operating system releases before AIX 4.3.2, 131072 for releases AIX
4.3.2 through AIX 5.2, and 1048576 for release AIX 5.3 and later.

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267897/viewspace-1009983/,如需轉載,請註明出處,否則將追究法律責任。

相關文章