Re: Setting up a database for 10000 concurrent users

Поиск
Список
Период
Сортировка
От Poul Møller Hansen
Тема Re: Setting up a database for 10000 concurrent users
Дата
Msg-id 431CAC9F.9010706@pbnet.dk
обсуждение исходный текст
Ответ на Setting up a database for 10000 concurrent users  (Poul Møller Hansen <freebsd@pbnet.dk>)
Список pgsql-general
> Calculated the values should be
> SEMMNI = 10000 / 16
> SEMMNS = (10000 / 16) * 17 "plus room for other applications" How much
> should that be ?
> And where can I change those values on a 2.6 kernel ?
>

I will try to answer myself with another question.
Can it be that it should be changed in
/usr/src/linux/include/linux/sem.h

#define SEMMNI  128 /* <= IPCMNI  max # of semaphore identifiers */
#define SEMMSL  250 /* <= 8 000 max num of semaphores per id */
#define SEMMNS  (SEMMNI*SEMMSL) /* <= INT_MAX max # of semaphores in
system */


Poul

В списке pgsql-general по дате отправления:

Предыдущее
От: Poul Møller Hansen
Дата:
Сообщение: Setting up a database for 10000 concurrent users
Следующее
От: Daniel Morgan
Дата:
Сообщение: Debug plpgSQL stored procedures