[Mono-list] Time out using Npgsql

Carl Olsen carl at carl-olsen.com
Thu Jun 30 20:53:10 EDT 2005

I have set up an identical web site on a Windows 2003 server using the same
database on my Linux box.  The next time the Apache site locks up, I'll see
if the Windows 2003 site is doing the same thing.  Both of them use Npgsql,
so that may produce more information on where the problem is occurring.

-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Francisco
Figueiredo Jr.
Sent: Thursday, June 30, 2005 3:09 PM
To: mono-list at lists.ximian.com
Subject: RE: [Mono-list] Time out using Npgsql

--- Carl Olsen <carl at carl-olsen.com> escreveu:

> I can't figure out where it is failing, because it just times out.  It's
> happening on all of my page now, since I have a session hit counter in the
> global.asax.cs file that writes to PostgreSQL every time someone visits
> site.  Before I added the hit counter, it was only occurring on the page
> that had data connections to PostgreSQL.  It only happens occasionally,
> all the time.  Restarting Apache fixes it.  I'm not sure if the problem is
> Npgsql or Apache, or both.

Hi Carl.

Can you check if your webserver box is having network problems with your
postgresql box? This may mean some type of firewall or some network program
which could temporarily disable access to your postgresql box.

Also, could you try some console app in your webserver box to connect to
postgresql box? This test could make you sure that you are being able to get
data from postgresql. It would also be good if you could put this console
to keep all day trying connections to postgresql in order to check if you
network down just sometimes.

I hope it helps.


Francisco Figueiredo Jr.

Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/
Mono-list maillist  -  Mono-list at lists.ximian.com

More information about the Mono-list mailing list