Search Postgresql Archives

Re: Setting up a database for 10000 concurrent users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux