2009-11-02 08:33:16 MSK LOG: не получилось загрузить файла корневых сертификатов "root.crt": no SSL error reported
2009-11-02 08:33:16 MSK ПОДРОБНОСТИ: Will not verify client certificates.
2009-11-02 08:33:16 MSK FATAL: could not create shared memory segment: Недопустимый аргумент
2009-11-02 08:33:16 MSK ПОДРОБНОСТИ: Failed system call was shmget(key=5432001, size=39288832, 03600).
2009-11-02 08:33:16 MSK ПОДСКАЗКА: 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 39288832 bytes), reduce PostgreSQL's shared_buffers parameter (currently 4096) and/or its max_connections parameter (currently 103).
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.
Поглядел параметры ядра:
root@tuxxx:/home/vovec# sysctl -a | grep shm
kernel.shmmax = 268435456
kernel.shmall = 2097152
kernel.shmmni = 4096
На компьютере стоит 1Гб оперативки и swap 1 Гб. Я полагаю из этого и складывается kernel.shmall = 2097152 Это ведь в килобайтах?
Откуда тогда берется kernel.shmmax = 268435456? Я ядро не перекомпилировал. Это теоретически максимально возможный размер для Linux чтоли?
А Postgres у меня просит 39 мегабайт? Так и чего же ему не хватает?