Re: [squid-users] Time out issues when receiving queries from a database..

From: Adrian Chadd <adrian@dont-contact.us>
Date: Mon, 19 Nov 2007 21:30:30 +0900

The next thing to do is fire up wireshark and get a packet trace.

Adrian

On Mon, Nov 19, 2007, Andr? Jee wrote:
> Adrian,
>
> We haven't defined 'cache_peer' so the line is already killed.
>
> I found out why IE/FF doesn't show an error. The web application (ajax)
> is apparently
> not sending any error messages (One of our developer told me that).
>
> AFAIK, dansguardian is only an ACL which rules what clients are able to
> access.
> I took a quick look in the dansguardian.conf but I did not find anything
> interesting.
>
> The problem which I'm experiencing is that the thread (that is i open
> for the session) is cut off after a certain
> amount of time. I don't have a problem with accessing the site, neither
> have I problems with queries that takes less
> than 60 seconds.
>
> I've used this site as reference for configuring timeouts.
>
> http://www.visolve.com/squid/squid30/timeout.php#read_timeout
>
> I've changed the following lines:
>
> connect_timeout 180 seconds
> persistent_request_timeout 3 minutes
> pconn_timeout 180 seconds
>
> Should I change something else?
>
> Thanks
>
>
>
>
>
> -------- Original Message --------
> Subject: Re:[squid-users] Time out issues when receiving queries from a
> database..
> From: Adrian Chadd <adrian@creative.net.au>
> To: Andr? Jee <ajee@shipco.com>
> Cc: squid-users@squid-cache.org
> Date: Thu Nov 15 2007 15:00:16 GMT+0100
> >Not without just killing the cache_peer lines in squid that reference
> >dansguardian and making sure squid can go direct for a test or two.
> >
> >
> >
> >
> >Adrian
> >
> >On Thu, Nov 15, 2007, Andr? Jee wrote:
> >
> >>Adrian,
> >>
> >>Is there anything else I could do?
> >>
> >>Squid & Dansguardian are all integrated with our custom made firewall.
> >>I can only bypass both squid and dansguardian. Correction, I only know
> >>how to bypass both.
> >>If I kill dansguardian, then I have no access to the web.
> >>
> >>I get the feeling that you think that dansguardian could be the problem?
> >>
> >>It's definitely worth checking timeouts in that config file as well.
> >>
> >>Just to clarify, the current setup does work with queries that takes
> >>less than 60 sec.
> >>Everything else seem to be dropped/the reply can't find it's way back.
> >>This is all working
> >>if the squid and dansguardian is inactivated.
> >>
> >>Thanks
> >>
> >>
> >>-------- Original Message --------
> >>Subject: Re:[squid-users] Time out issues when receiving queries from a
> >>database..
> >>From: Adrian Chadd <adrian@creative.net.au>
> >>To: Andr? Jee <ajee@shipco.com>
> >>Cc: squid-users@squid-cache.org
> >>Date: Wed Nov 14 2007 17:33:01 GMT+0100
> >>
> >>>On Wed, Nov 14, 2007, Andr? Jee wrote:
> >>>
> >>>
> >>>>Dear all,
> >>>>
> >>>>I'm having timeout issues when using a webiste's "search function". I'm
> >>>>sending a query and I'm expecting
> >>>>an answer in return. Query's that takes less than 60 seconds seems to
> >>>>be fine, but I don't get an answer if the
> >>>>query takes more than 60 seconds to perform. IE/FF does not show an
> >>>>error message, it pretends that
> >>>>it's working and it works fine if squid and dansguardian are bypassed.
> >>>>
> >>>>
> >>>Have you tried removing dansguardian from the equation and see if Squid
> >>>returns
> >>>an error?
> >>>
> >>>Squid should return a page with an error message on any kind of timeout
> >>>that you describe AFAIK.
> >>>
> >>>
> >>>Adrian
> >>>
> >>>
> >>>
> >
> >

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Received on Mon Nov 19 2007 - 05:26:18 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST