[OGo-Users] postgres connection limit exceeded
Helge Hess
users@opengroupware.org
Sun, 2 Mar 2008 00:52:21 +0100
On 01.03.2008, at 07:39, Sebastian Reitenbach wrote:
> I've no idea what the snsd is doing internally with the sessions.
> maybe that could cause a steadily growing usage of database
> connections?
The snsd is not really magic. It only changes the routing of Apache.
Backend. When an instance starts, it registers with the snsd. Every
time a new session (+ ID) is created, this is registered with the
snsd. So snsd always knows which process is driving which session.
Frontend. Every time Apache (mod_ngobjweb) receives a request (with a
session-id), it asks the snsd for the instance port maintaining that
session. Well, and routes the request to that instance.
Helge
--
Helge Hess
http://www.helgehess.eu/