Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / PostgreSQL [игнор отключен] [закрыт для гостей] / [Sysadmins] [sisyphus] postgresql (emaphores (SEMMNS), would be exceeded) / 5 сообщений из 5, страница 1 из 1
10.05.2006, 20:21
    #33718901
Zloi
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
[Sysadmins] [sisyphus] postgresql (emaphores (SEMMNS), would be exceeded)
rpm -qa | grep postgresql
postgresql-7.4.9-alt1.1
postgresql-server-7.4.9-alt1.1

#
tcpip_socket = true
max_connections = 100
# note: increasing max_connections costs about 500 bytes of shared
# memory per connection slot, in addition to costs from shared_buffers
# and max_locks_per_transaction.
#superuser_reserved_connections = 2
#port = 5432
#
unix_socket_directory = '/var/sockets'
#unix_socket_group = 'sockets'
#unix_socket_permissions = 0777 # octal
#virtual_host = '' # what interface to listen on; defaults to any
#rendezvous_name = '' # defaults to the computer name


postgres[14947]: [1-1] LOG: could not create IPv6 socket: Address family not supported by protocol
postgres[14947]: [2-1] FATAL: could not create semaphores: No space left on device
postgres[14947]: [2-2] DETAIL: Failed system call was semget(5432018, 17, 03600).
postgres[14947]: [2-3] HINT: This error does *not* mean that you have run out of disk space.
postgres[14947]: [2-4] ^IIt occurs when either the system limit for the maximum number of semaphore sets (SEMMNI), or the system wide maximum number of
postgres[14947]: [2-5] semaphores (SEMMNS), would be exceeded. You need to raise the respective kernel parameter. Alternatively, reduce PostgreSQL's
postgres[14947]: [2-6] consumption of semaphores by reducing its max_connections parameter (currently 512).
postgres[14947]: [2-7] ^IThe PostgreSQL documentation contains more information about configuring your system for PostgreSQL.
postgres[14947]: [3-1] LOG: shmctl(25755662, 0, 0) failed: Invalid argument
postgresql: failed

Как с этим бороться ?

max_connections = 100 если уменьшить до 100 конектов то postgresql
стартует но вот это остается :
LOG: could not create IPv6 socket: Address family not supported by protocol

И как всетаки решить проблему целиком ?
...
Рейтинг: 0 / 0
10.05.2006, 22:48
    #33719056
Zloi
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
[Sysadmins] [sisyphus] postgresql (emaphores (SEMMNS), would be exceeded)
дамп тоже сделать не получается:
pg_dumpall > outfile
pg_dumpall: could not connect to database "template1": could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?



в логах есть:
postgres[13098]: [4-1] FATAL: could not open file "/var/lib/pgsql/data/global/1262": Permission denied
postgres[12961]: [8-1] LOG: could not open temporary statistics file "/var/lib/pgsql/data/global/pgstat.tmp.12946": Permission denied
...
Рейтинг: 0 / 0
11.05.2006, 09:05
    #33719349
Funny_Falcon
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
[Sysadmins] [sisyphus] postgresql (emaphores (SEMMNS), would be exceeded)
Zloipostgres[14947]: [2-7] ^IThe PostgreSQL documentation contains more information about configuring your system for PostgreSQL.

Zloi, не злись. Тебе вель говорят - смотри доку. В документации к 8.1 это раздел 16.4.1.
Кстати, а почему ты 7.4 юзаешь?
...
Рейтинг: 0 / 0
11.05.2006, 10:00
    #33719507
Zloi
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
[Sysadmins] [sisyphus] postgresql (emaphores (SEMMNS), would be exceeded)
что делать с этим :
дамп тоже сделать не получается:
pg_dumpall > outfile
pg_dumpall: could not connect to database "template1": could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?



в логах есть:
postgres[13098]: [4-1] FATAL: could not open file "/var/lib/pgsql/data/global/1262": Permission denied
postgres[12961]: [8-1] LOG: could not open temporary statistics file "/var/lib/pgsql/data/global/pgstat.tmp.12946": Permission denied
...
Рейтинг: 0 / 0
12.05.2006, 16:34
    #33723553
st_serg
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
[Sysadmins] [sisyphus] postgresql (emaphores (SEMMNS), would be exceeded)
could not open file "/var/lib/pgsql/data/global/1262": Permission denied
не могу открыть файл "/var/lib/pgsql/data/global/1262": нет прав

man chown
man chmod

?
...
Рейтинг: 0 / 0
Форумы / PostgreSQL [игнор отключен] [закрыт для гостей] / [Sysadmins] [sisyphus] postgresql (emaphores (SEMMNS), would be exceeded) / 5 сообщений из 5, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]