RE: [squid-users] How to fix active page time-outs? PLEASE HELP

From: Mark Pelkoski <mpelkoski@dont-contact.us>
Date: Thu, 3 Jul 2003 08:18:13 -0600

Adam,
I came in this morning and tested this config again, and it is not
working. I restarted the Squid service and this did not help. It looks
like the timeout is back to 1 minute, but the conf file has a
persistent_request_timeout of 30 minutes which was working yesterday. I
don't understand WHY it would work yesterday and not today????? Any hint
on how to T-shoot would be very helpful. TIA

-Mark

>Okay, here are my new settings:
>
>half_closed_clients on
>request_timeout 10 minutes
>persistent_request_timeout 5 minutes
>
>I opened up a Yahoo account to test. It seems the connection does stay
>open up to 5 minutes (Better then before), then dies. So, the answer
>would be to up the persistent_request_timeout to something like 8 hours
>to allow workers to keep windows open all day, like M$ Proxy. Is there
>any drawbacks in speed or resources in doing so?

Looks like you're on the right track. You could set it to 8 hours, but I
think a better idea would be to set it to something more reasonable
(like 30 minutes), then explain to your users potential problems
with keeping the window inactive that long:

1) The webserver might time out the connection
2) They won't find out if they have new messages
3) Security risks of leaving the browser logged in all day
   - Someone else reading their email
   - Someone else sending email in their name
   - Someone else changing the password on them

Other than the fact that it will tie up Squid FDs, I don't see any
issues with letting Squid keep the connection open all day (other
than those listed above, which aren't Squid issues).

Adam
Received on Thu Jul 03 2003 - 08:18:50 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:49 MST