RE: [squid-users] cache_swap_low and high waternmark

From: Jigar Rasalawala <jrasalawala@dont-contact.us>
Date: Wed, 14 May 2003 10:00:30 -0700

Hi, Henrik

I am back with same low and high water mark problem.
This time I used Squid2.4.STABL4 release on RedHat 7.3

Before I configured squid with

/configure \
  --prefix=/usr \
  --sysconfdir=/etc/squid \
  --localstatedir=/mnt/cache \
  --libexecdir=/usr/lib/squid \
  --infodir=/usr/share/info \
  --mandir=/usr/share/man \
  --enable-linux-netfilter \
  --disable-internal-dns \
  --enable-underscores

I was having weired problem as you know. While removing
objects from cache, It was not serving request. I think when
we do not specify --disable--poll using config, script is smarter
and detect what to use (polling or select loop ).

I specified --disable-poll during configure and tested and now It runs
perfect. I am using default for cache_swap_low, cache_swap_high, cache_mem
and using ufs file system.

Does it make sense ? by default script selected polling enable on linux platform.
I think configure script is not selecting polling or select_loop mechanism properly.
that's what I think.

by the way what is exact diff between polling vs select_loop technique ?

Thank you so much for yr helping me out and giving me suggestions.

Thank you
Jigar

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Monday, May 05, 2003 2:24 PM
To: Jigar Rasalawala
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] cache_swap_low and high waternmark

Jigar Rasalawala wrote:

> 2003/05/05 12:57:11| assertion failed: diskd/store_dir_diskd.c:1652: "buf"
>
> What does it mean ? I think for diskd process Q1=64 and Q2=72 default.
> and I increased upto 100 and 100. Does it seem logical ?

The assertion indicates you ran out of queue entries for diskd because
your Q1/Q2 values are too high.

It is best to leave Q1 and Q2 at their default values. There generally
is no reason to change these, and you should only change these if you
have a clear understanding of what the values actually do.

Note: There is a upper limit of 96 queue entries in total for each
diskd. Both Q1 and Q2 must be reasonably below this, and there should
also be reasonable difference between Q1 and Q2.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Wed May 14 2003 - 11:01:10 MDT

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