From: | Steve Crawford <scrawford(at)pinpointresearch(dot)com> |
---|---|
To: | Mike Diehl <jdiehl(at)sandia(dot)gov>, "Roberto Mello" <rmello(at)cc(dot)usu(dot)edu> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Ran out of connections |
Date: | 2002-12-05 00:25:55 |
Message-ID: | 20021205002555.B8C4A103C6@polaris.pinpointresearch.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Doing anything unusual? Forking processes, opening multiple connections
within a single CGI?
Have you seen any evidence that a process that opens a connection is failing
to complete normally?
-Steve
On Wednesday 04 December 2002 3:52 pm, Mike Diehl wrote:
> On Wednesday 04 December 2002 03:25 pm, Roberto Mello wrote:
> > On Wed, Dec 04, 2002 at 03:08:35PM -0700, Mike Diehl wrote:
> > > Can anyone tell me how to fix this? The out put of the ps command
> > > can be seen at http://dominion.dyndns.org/~mdiehl/ps.txt
> >
> > Are you using PHP by chance? I've seen this behavior under
> > Apache+PHP before. My "fix" (workaround rather) was to disable
> > persistent connections.
>
> Nope. I'm using Perl and cgi. I've got some perl that runs via cron, and
> some more that runs via apache. I'm not even using ModPerl.
>
> It did occur to me that since some of my scripts communicate with other
> devices, that I may have some IO blocking, or zombies, but the ps output
> didn't indicate that. I can't see that many scripts running. Usually, I
> see one postgres process for each script/cgi that is running. Not in this
> case.
From | Date | Subject | |
---|---|---|---|
Next Message | kanika singh | 2002-12-05 09:11:10 | Regarding boolean datatype |
Previous Message | Roberto Mello | 2002-12-05 00:00:08 | Re: Ran out of connections |