Re: [INTERFACES] SOMAXCONN, MaxBackendID and Postgres
В списке pgsql-interfaces по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [INTERFACES] SOMAXCONN, MaxBackendID and Postgres |
| Дата | |
| Msg-id | 7018.933085713@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | SOMAXCONN, MaxBackendID and Postgres (StOo <stuart@comodo.net>) |
| Список | pgsql-interfaces |
StOo <stuart@comodo.net> writes:
> O/S S.u.s.e linux 6.0
> kernel 2.0.36
> postgres 6-4-2
> I'm trying to increase the maximum number of connections on the operating
> system which invovles altering the SOMAXCONN and patching certain
> files.
Changing the max number of backends in 6.4.* is pretty painful. I'd
suggest updating to 6.5.1 --- you can set the max to as high as 1024
without even recompiling.
Whether your kernel will support that many is another question. Aside
from the connections themselves, you need adequate swap space, file
table slots, etc to support that many processes. You will also need
larger-than-typical limits on the size of the shared memory block and
on the max number of semaphores.
regards, tom lane
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера