看板 PttCurrent 關於我們 聯絡資訊
請記得至 include/config.h (或用 pttbbs.conf override 掉) 將一些 limit改小, 如 MAX_USERS (21 bytes/each in shm) MAX_ACTIVE (3456 bytes/each in shm) MAX_BOARD (6420 bytes/each in shm) 您可能須要更動 kernel 對於 shared memory的最大值, (in LINT , FreeBSD 4.6-RC) # # These three options provide support for System V Interface # Definition-style interprocess communication, in the form of shared # memory, semaphores, and message queues, respectively. # # System V shared memory and tunable parameters options SYSVSHM # include support for shared memory options SHMMAXPGS=1025 # max amount of shared memory pages (4k on i386\ ) options SHMALL=1025 # max amount of shared memory (bytes) options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" # max shared memory segment size (bytes) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.143 ※ 編輯: in2 來自: 140.112.30.143 (06/07 06:42)