[rt-devel] Handle.pm too many clients

ivan ivan-rt-devel at 420.am
Tue Mar 20 20:56:08 EST 2001


You need to make sure RT won't open more database connections than your
database will accept.

The maximum number of connections opened by the web interface is defined
by MaxClients in your apache config.  The mailgate opens one connection
per delivery.  qmail and Postfix have the option to set a maximum number
of concurrent local deliveries (concurrencylocal for qmail; see
http://www.postfix.org/rate.html#process for postfix).  Sendmail users
have to cripple the entire MTA with MaxDaemonChildren.  Also don't forget
to allow for other uses of the same database backend.

http://postgresql.readysetnet.com/mhonarc/pgsql-general/2000-04/msg00481.html

which may very well lead you to:

http://www.postgresql.org/devel-corner/docs/postgres/kernel-resources.html

On Wed, Mar 21, 2001 at 01:30:40AM +0000, Feargal Reilly wrote:
> Using: rt ver. 1.3.57 with postgres on Linux
> 
> Problem: 
> When using the web interface, I regularily get an 'Internal configuration error' message. This doesn't happen with any consistency, and reloading will fix it usually. At present, I'm the only user.
> 
> Apache error log says:
> 
> DBI->connect(dbname=rt2;host=localhost) failed: Sorry, too many clients already
>  at /usr/lib/perl5/site_perl/5.005/DBIx/SearchBuilder/Handle.pm line 118
> [Wed Mar 21 00:52:17 2001] [error] Connect Failed Sorry, too many clients already
>  at /usr/local/rt2/lib/RT.pm line 14
> 
> Has anybody else encountered this? I *was* looking for documentation about SearchBuilder, until I realised that Jesse wrote it... :)
> 
> -Feargal.
> 
>     _/_/_/ _/_/_/  _/_/_/  Feargal Reilly,
>    _/       _/   _/    _/  Systems Administrator,
>   _/       _/   _/_/_/_/   The Communications Interactive Agency.
>  _/_/_/ _/_/_/ _/    _/    Phone: +353-86-8157621.
> 
> 
> 
> _______________________________________________
> Rt-devel mailing list
> Rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel

-- 
meow
_ivan




More information about the Rt-devel mailing list