
22-05-2011, 18:55:59
|
| |
Postresql bağlantı sorunu | | Postresql kullanılan bir sunucumuzda şu hatayı alıyoruz ve Postresql baglanmıyor. Ne yaptırsak sorun çözülmedi. Format atmadan önce bu konu hakkında deneyimi olanlardan fikir beyan etmelerini rica ediyorum.
Hata Mesajı ; Alıntı:
[root@server1 pgsql]# tail -f /var/lib/pgsql/pgstartup.log
FATAL: could not create shared memory segment: Invalid argument
DETAIL: Failed system call was shmget(key=5432001, size=9232384, 03600).
HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter. You can either reduce the request size or reconfigure the kernel with larger SHMMAX. To r educe the request size (currently 9232384 bytes), reduce PostgreSQL's shared_buffers parameter (currently 100 0) and/or its max_connections parameter (currently 10).
If the request size is already small, it's possible that it is less than your kernel's SHMMIN paramet er, in which case raising the request size or reconfiguring SHMMIN is called for.
The PostgreSQL documentation contains more information about shared memory configuration.
FATAL: could not create shared memory segment: Invalid argument
DETAIL: Failed system call was shmget(key=5432001, size=1081344, 03600).
HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter. You can either reduce the request size or reconfigure the kernel with larger SHMMAX. To r educe the request size (currently 1081344 bytes), reduce PostgreSQL's shared_buffers parameter (currently 20) and/or its max_connections parameter (currently 10).
If the request size is already small, it's possible that it is less than your kernel's SHMMIN paramet er, in which case raising the request size or reconfiguring SHMMIN is called for.
The PostgreSQL documentation contains more information about shared memory configuration. | |