Thread: Re: [ADMIN] Script Hangs on

Re: [ADMIN] Script Hangs on

From
Grant
Date:
> Frist ,How in script could I Ping?
> Second,from command line Ping also hangs.

Don't ping. Let PHP control whether or not it can connect. It will
time out. The problem is you have persistent connections set in
your php.ini file.



---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl




Re: [ADMIN] Script Hangs on

From
Ariunbold Gerelt-Od
Date:
I don't think it depends of PHP configuration. Because what if my script
was written in Perl or else????.

Grant wrote:

> > Frist ,How in script could I Ping?
> > Second,from command line Ping also hangs.
>
> Don't ping. Let PHP control whether or not it can connect. It will
> time out. The problem is you have persistent connections set in
> your php.ini file.


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html




Re: [ADMIN] Script Hangs on

From
Ariunbold Gerelt-Od
Date:
I don't think it depends of PHP configuration. Because what if my script
was written in Perl or else????.

Grant wrote:

> > Frist ,How in script could I Ping?
> > Second,from command line Ping also hangs.
>
> Don't ping. Let PHP control whether or not it can connect. It will
> time out. The problem is you have persistent connections set in
> your php.ini file.


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html