Re: [squid-users] url-rewrite PHP script issue under Ubuntu 10.04

From: Nyamul Hassan <mnhassan_at_usa.net>
Date: Thu, 3 Jun 2010 15:43:52 +0600

That was a good find!

Amos, does that indeed help? It would be nice to know.

Regards
HASSAN

On Tue, Jun 1, 2010 at 03:10, Horacio H. <pokehorace_at_gmail.com> wrote:
>
> Hi!
>
> Thanks Alexandre and Amos for your replies, together they pointed me
> into the right direction!
>
> Based on the the URLs sent by Alexandre, I edited the
> "/etc/php5/cli/php.ini" file and tested different values for
> "max_execution_time" and "max_input_time" but none changed the PHP's
> script behavior.  Then, I remembered Amos mentioned a 60sec timeout. I
> saw my cache.log and yes there was an exactly 60sec delay after
> starting squid and the first Warning. So, I searched the "php.ini" for
> a similar value and found this directive: "default_socket_timeout". I
> changed it to 300sec and the Warnings started to show up accordingly.
> Then I changed it's value to "-1" and the warnings haven't shown up
> again!
>
> Squid doesn't complain anymore about my PHP-scripts, but I don't know
> if this change has secondary effects or any other consequences.  I'll
> be monitoring them, but in any case I have the backup Perl-scripts.
>
> Thanks again!
Received on Thu Jun 03 2010 - 09:44:40 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 03 2010 - 12:00:04 MDT