boa tarde Pessoal, vejam se podem me ajudar, peguei um linux ubuntu 11 hoje com 8gb de memoria para configurar o postgres,
ocorre que mesmo eu setando o sysctl : root@ubuntu:~# sysctl -p kernel.shmall = 2097152 kernel.shmmax = 8589934592 kernel.sem = 250 32000 100 128 kernel.shmmni = 4096 vm.overcommit_memory = 2 vm.overcommit_ratio = 90 vm.nr_hugepages = 264 net.core.rmem_default = 16777216 net.core.wmem_default = 16777216 net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 fs.file-max = 65536 e o postgresql.conf: max_connection:100 shared_buffers: 2048MB effective_cache_size = 2048MB work_mem = 2MB esta me retornando o seguinte erro no start: 2013-05-14 16:26:09 BRT FATAL: could not create shared memory segment: Argumento inválido 2013-05-14 16:26:09 BRT DETAIL: Failed system call was shmget(key=5433001, size=30490624, 03600). 2013-05-14 16:26:09 BRT 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 reduce the request size (currently 30490624 bytes), reduce PostgreSQL's shared memory usage, perhaps by reducing shared_buffers or max_connections. If the request size is already small, it's possible that it is less than your kernel's SHMMIN parameter, in which case raising the request size or reconfiguring SHMMIN is called for. The PostgreSQL documentation contains more information about shared memory configuration. alguma ideia?? -- Douglas Fabiano Specht
_______________________________________________ pgbr-geral mailing list pgbr-geral@listas.postgresql.org.br https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral