Kernel 2.6 과 Postgresql 7.3.3 에러가 발생하였습니다. 도와주세요 ㅠㅠ
현재 IBM 3650 64비트 서버에 CentOS 5.2 32비트를 설치하였습니다.
메모리 8G 정도.
그리고 Postgresql 7.3.3 을 설치하여서 활용하려고 하던중에
./initdb 까지는 성공하였으나
./pg_ctl -D ........... 를 하던도중에 아래와 같은 에러가 발생하였습니다.
이것 저것 해 보았으나 아직도 해결이 안되네요.
커널 정보
2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
에러 메세지 (logfile)
IpcSemaphoreCreate: semget(key=5432129, num=17, 03600) failed: 장치에 남은 공간이 없음
This error does *not* mean that you have run out of disk space.
It occurs when either the system limit for the maximum number of
semaphore sets (SEMMNI), or the system wide maximum number of
semaphores (SEMMNS), would be exceeded. You need to raise the
respective kernel parameter. Alternatively, reduce PostgreSQL's
consumption of semaphores by reducing its max_connections parameter
(currently 512).
The PostgreSQL Administrator's Guide contains more information about
configuring your system for PostgreSQL.
현재 메모리 상황입니다. (free 명령어 실행)
total used free shared buffers cached
Mem: 8175192 432484 7742708 0 24608 301972
-/+ buffers/cache: 105904 8069288
Swap: 2031608 0 2031608
현재 파티션 현황입니다. 기본설치로 진행을 하였습니다.
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
269G 43G 213G 17% /
/dev/sda1 99M 12M 82M 13% /boot
tmpfs 3.9G 0 3.9G 0% /dev/shm
#/etc/sysctl.conf 정보
# ipcs memory
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
동일하게 CentOS 5.2 64비트 버전에서는 에러가 안나네요.
부득이하게 32비트로 셋팅해서 사용하려고 하는데요 .
혹시 위와 같은 에러 해결하신분 계시면 저좀 도와주세요.
kernel.shmall = 2147483648 로 수정해보세요
/etc/sysctl.conf 를 수정해보세요
kernel.shmall = 2147483648 로 수정해보세요
/sbin/sysctl -p /etc/sysctl.conf
-------------------------------------------------------------------------------
이 댓글(comment)의 수정 및 삭제를 위해 이 글에 답글(reply)을 쓰지 말아 주십시요.
의견이 있으시면 원 글에 댓글(comment)로 써 주세요.
-------------------------------------------------------------------------------
이 댓글(comment)의 수정 및 삭제를 위해 이 글에 답글(reply)을 쓰지 말아 주십시요.
의견이 있으시면 원 글에 댓글(comment)로 써 주세요.
감사합니다. ^ ^
실행이 잘 되네요 정말 감사합니다.
댓글 달기