perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiri Pavlovsky <j...@getnet.cz>
Subject Re: [PATCH] Apache::DBI - Disconnect on child exit
Date Tue, 21 Jul 2009 19:39:50 GMT
Nick Wellnhofer napsal(a):
> Currently, Apache::DBI never disconnects from the database. This leads
> to the following warnings in my Postgres logs every time an Apache child
> exits:
> 
> LOG:  unexpected EOF on client connection
> 
> Depending on MaxRequestsPerChild this can really spam your Postgres logs.
> 
> Attached is a patch against Apache::DBI that adds a PerlChildExitHandler
> in order to disconnect all existing database connections.
> 
> Comments are welcome.
> 


Thanks, it made my Postgres log useful again.

Mime
View raw message