[Mono-list] Time out using Npgsql

Francisco Figueiredo Jr. fxjrlists at yahoo.com.br
Thu Jun 30 16:09:06 EDT 2005

--- 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 the
> site.  Before I added the hit counter, it was only occurring on the page
> that had data connections to PostgreSQL.  It only happens occasionally, not
> 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 your
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 app
to keep all day trying connections to postgresql in order to check if you get
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/

More information about the Mono-list mailing list