[squid-users] Timeout when Querying a Database

From: Allan Liska <allan@dont-contact.us>
Date: Tue, 29 Jul 2003 22:32:11 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: MD5

Hello,

i searched through the FAQ and the archives and did not see a
situation that exactly matched mine, so I am hoping someone here can
help.

I have a user behind a Squid proxy who is receiving a browser timeout
error when initiating a particularly large database query. The query
takes almost 2 minutes to complete, and it does complete without a
problem if he bypasses the Squid box, but when he goes through the
Squid box the browser returns the cached objects, and no database
data.

Looking through the documentation it appears there may be two ways to
resolve this problem. The first is to create an always direct access
list for the remote site and have the user just pass through the Squid
box with no proxying.

The second is to increase one of the timeout values, this is where I
am a little confused. Which timeout value would I need to increase?
At first glance the variable I want to change seems to be
connect_timeout, but is there a better timeout variable to adjust in
this case?

I know it may be difficult to answer this question without access to
logs/config variables, but I am just trying to get a general feel for
the right course.

Thank you all for your time.

allan
- --
Allan Liska
allan@allan.org
http://www.allan.org
http://www.hosthideout.com

-----BEGIN PGP SIGNATURE-----
Version: 2.6

iQCVAwUAPycuMCkg6TAvIBeFAQHUTgQAlX5IhLNk7RsTajFDN80us4iy+nfPuQC1
au4RIZFzqkMvWm9NEQaIb3FNtmhHXeBAT/iWcSCvi8nCGuqmgIiSPKigeXakUMMq
3Wz8ekrQ4h+duRWImIxKpyavIzBRMbVx2G8kVUd5oIF+EcKMnUas3/91qGssfSAA
qzFPXfCn5Kc=
=l8Cm
-----END PGP SIGNATURE-----
Received on Tue Jul 29 2003 - 20:32:07 MDT

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