Re: Problem: message type 0xxx arrived from server while idle - Mailing list pgsql-general

From Keatis
Subject Re: Problem: message type 0xxx arrived from server while idle
Date
Msg-id d4tnnr$qbm$1@news.hub.org
Whole thread Raw
In response to Problem: message type 0xxx arrived from server while idle  (Keatis <yux@mail.ru>)
List pgsql-general
"Michael Fuhr" <mike@fuhr.org> wrote:
news:20050429150857.GA82676@winnie.fuhr.org...
>>
>> i'm using PostgreSQL 7.4 (though problem applies to 8.0 too) on
>> FreeBSD 5.2.1 with Apache 1.3.31 (DBI 1.43 and DBD-Pg 1.32).
>
> Is the code running under mod_perl?  If so, what versions of Perl
> and mod_perl?

Perl 5.8.5
mod_perl 1.29
HTML::Mason 1.28

>> And I have some script, which dynamically outputs web-page content
>> and have get_user function call.
>>
>> If i update that page in browser too fast, then web server seems to hang
>> up.
>
> What do you mean by "update too fast"?  What exactly are you doing?

When page is loaded in browser, press F5 and you'll get webpage updated
(resend new request to webserver and get an answer, i think you understand
this).
The problem arises when i press F5 rapidly, 2-3 times in second (so,
generating the same number of requests to apache).
In other words, making some get_user function calls in short period of time,
'cause two sequent calls of the same function in script lead to the same
problem...



pgsql-general by date:

Previous
From: Mike Nolan
Date:
Subject: Re: Tuning queries inside a function
Next
From: mmiranda@americatel.com.sv
Date:
Subject: the eternal tunnig question