|
10 | 10 | alink="#0000ff"> |
11 | 11 | <H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1> |
12 | 12 |
|
13 | | -<P>Last updated: Mon Jan 3117:58:50 EST 2005</P> |
| 13 | +<P>Last updated: Mon Jan 3119:18:44 EST 2005</P> |
14 | 14 |
|
15 | 15 | <P>Current maintainer: Bruce Momjian (<Ahref= |
16 | 16 | "mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>) |
@@ -568,27 +568,11 @@ <H4><A name="3.4">3.4</A>) What debugging features are |
568 | 568 | <H4><Aname="3.5">3.5</A>) Why do I get<I>"Sorry, too many |
569 | 569 | clients"</I> when trying to connect?</H4> |
570 | 570 |
|
571 | | -<P>You need to increase<I>postmaster</I>'s limit on how many |
572 | | - concurrent backend processes it can start.</P> |
573 | | - |
574 | | -<P>The default limit is 32 processes. You can increase it by |
575 | | - restarting<I>postmaster</I> with a suitable<I>-N</I> value or |
576 | | - modifying<I>postgresql.conf</I>.</P> |
577 | | - |
578 | | -<P>Note that if you make<I>-N</I> larger than 32, you must also |
579 | | - increase<I>-B</I> beyond its default of 64;<I>-B</I> must be at |
580 | | - least twice<I>-N</I>, and probably should be more than that for |
581 | | - best performance. For large numbers of backend processes, you are |
582 | | - also likely to find that you need to increase various Unix kernel |
583 | | - configuration parameters. Things to check include the maximum size |
584 | | - of shared memory blocks,<SMALL>SHMMAX;</SMALL> the maximum number |
585 | | - of semaphores,<SMALL>SEMMNS</SMALL> and<SMALL>SEMMNI;</SMALL> the |
586 | | - maximum number of processes,<SMALL>NPROC;</SMALL> the maximum |
587 | | - number of processes per user,<SMALL>MAXUPRC;</SMALL> and the |
588 | | - maximum number of open files,<SMALL>NFILE</SMALL> and |
589 | | -<SMALL>NINODE</SMALL>. The reason that PostgreSQL has a limit on |
590 | | - the number of allowed backend processes is so your system won't run |
591 | | - out of resources.</P> |
| 571 | + You have reached the default limit is 100 database sessions. You |
| 572 | + need to increase the<I>postmaster</I>'s limit on how many |
| 573 | + concurrent backend processes it can start by changing the |
| 574 | +<I>max_connections</I> value in<I>postgresql.conf</I> and |
| 575 | + restarting the<I>postmaster</I>.</P> |
592 | 576 |
|
593 | 577 | <H4><Aname="3.6">3.6</A>) What is in the<I>pgsql_tmp</I> directory?</H4> |
594 | 578 |
|
|