Re: [squid-users] refresh patterns!

2007-08-12 Thread Adrian Chadd
On Mon, Aug 13, 2007, Henrik Nordstrom wrote: > > the ? in the youtube URL drops Squid out of being able to cache it > > by default (check hierarchy_stoplist). You could try crafting a few > > exceptions for google/youtube video URLs which avoid matching > > hierarchy_stoplist and allow a refresh

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-12 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Michel, On Sun, 12 Aug 2007 17:51:06 -0300 (BRT) "Michel Santos" <[EMAIL PROTECTED]> wrote: > > Tek Bahadur Limbu disse na ultima mensagem: > > > > > Ok let me upgrade my memory before setting it to 2 GB or more. > > I will set it to 768 MB for

Re: [squid-users] error during make

2007-08-12 Thread zen
Alex Rousskov wrote: On Mon, 2007-08-13 at 10:41 +0700, zen wrote: here is the output,i hope i type it correctly core# g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -D_REENTRANT -g -O2 -MT MemPool.o -MD -MP -MF

Re: [squid-users] error during make

2007-08-12 Thread Alex Rousskov
On Mon, 2007-08-13 at 10:41 +0700, zen wrote: > here is the output,i hope i type it correctly > > core# g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include > -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -D_REENTRANT -g > -O2 -MT MemPool.o -MD -MP -MF ".deps/MemPool.Tp

[squid-users] I/O tests and squid

2007-08-12 Thread Ming-Ching Tiew
I wonder if anyone has a good I/O test which will sort of represent the way squid needed the I/O to perform. Basically I need one program which I can use to check the influence of various components of the system ( OS, parameters, harddisk, library version ) on the I/O for maximizing squid perform

Re: [squid-users] What is the price to pay for file descriptor ?

2007-08-12 Thread Henrik Nordstrom
On mån, 2007-08-13 at 10:58 +0800, Ming-Ching Tiew wrote: > What is the price to pay for increasing the file descriptor ? Depends a bit on your comm loop, and why you need very many filedescriptors. The filedescriptor limit servers two purposes a) OS imposed limit, to avoid bringing down the mac

Re: [squid-users] error during make

2007-08-12 Thread zen
Alex Rousskov wrote: OK. So there is no mallopt in your preprocessed MemPool.E, as expected. Let's see whether g++ will suddenly find it if you compile MemPool.E. Run the same compilation command, but with a -c option at the end and adjusted output/input file names: g++ -DHAVE_CONFIG_H -I. -I.

Re: [squid-users] refresh patterns!

2007-08-12 Thread Henrik Nordstrom
On mån, 2007-08-13 at 05:55 +0800, Adrian Chadd wrote: > On Mon, Aug 13, 2007, Manoj_Rajkarnikar wrote: > > > >What about .flv ? flash media and flash video? Thought about rules for > > >those? > > > > Haven't had luck with those media files. they just don't seem to be > > cached. I tried few s

Re: [squid-users] Browser's Autoconfiguration

2007-08-12 Thread Amos Jeffries
> Greetings to all! > I have setup squid2.6STABLE and apache1.3.33 in one box. squid listens > to 3128 and apache listens to 8080, firewall allows www through > internal nic (eth1). I have configured rc5.d for start both at boot > time, it is working fine but both squid and apache serve requests >

[squid-users] What is the price to pay for file descriptor ?

2007-08-12 Thread Ming-Ching Tiew
What is the price to pay for increasing the file descriptor ? Has anyone compiled squid with 50,000 file descriptor ? I am using it on a machine with 2 G RAM and SCSI Harddisk. Regards. Important Warning! ***

[squid-users] Browser's Autoconfiguration

2007-08-12 Thread Mohan Jayaweera
Greetings to all! I have setup squid2.6STABLE and apache1.3.33 in one box. squid listens to 3128 and apache listens to 8080, firewall allows www through internal nic (eth1). I have configured rc5.d for start both at boot time, it is working fine but both squid and apache serve requests before login

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-12 Thread Adrian Chadd
On Sat, Aug 11, 2007, Michel Santos wrote: > > * don't write everything cachable to disk! only write stuff that has > > a good chance of being read again; > > there is a "good chance" beeing hit by a car when sleeping in the middle > of a highway as well there is a chance not beeing hit at all

Re: [squid-users] refresh patterns!

2007-08-12 Thread Amos Jeffries
> On Sun, 12 Aug 2007, Adrian Chadd wrote: > >>> >>> at one point, we had 45-49% Byte hit for about 2 months, then the squid >>> server started rebooting frequently and hasn't been much stable since. >>> its >>> building up slowly and is increasing ... >> >> Hm, file bugzilla reports if you get cra

Re: [squid-users] endless growing swap.state after reboot

2007-08-12 Thread Henrik Nordstrom
On sön, 2007-08-12 at 12:49 -0300, Michel Santos wrote: > that's from one cache dir and "took 5.8 seconds" seems to be really wrong, > look at the time stamps: Time stamps during the rebuild process is not working well when you use -F. This because Squid is only rebuilding the cache index, and it

Re: [squid-users] refresh patterns!

2007-08-12 Thread Adrian Chadd
On Mon, Aug 13, 2007, Manoj_Rajkarnikar wrote: > >What about .flv ? flash media and flash video? Thought about rules for > >those? > > Haven't had luck with those media files. they just don't seem to be > cached. I tried few suggestions on this list but didn't help. It'd be > really nice if so

Re: [squid-users] refresh patterns!

2007-08-12 Thread Manoj_Rajkarnikar
On Sun, 12 Aug 2007, Adrian Chadd wrote: at one point, we had 45-49% Byte hit for about 2 months, then the squid server started rebooting frequently and hasn't been much stable since. its building up slowly and is increasing ... Hm, file bugzilla reports if you get crashes and stuff. Its mo

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-12 Thread Michel Santos
Tek Bahadur Limbu disse na ultima mensagem: > > Ok let me upgrade my memory before setting it to 2 GB or more. > I will set it to 768 MB for now since I have only 1 GB of memory at the > moment. > I believe with stock maxdsiz your squid process can not use more than the 512MB limit ... so I do n

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-12 Thread Tek Bahadur Limbu
Hi Michel, Michel Santos wrote: Tek Bahadur Limbu disse na ultima mensagem: how much mem the server has installed? Most of them have 1 GB memory well, I believe that is really too low for such a busy machine and you should think of 4-8 gigs (or more?) for such a server Well I think you ar

Re: [squid-users] endless growing swap.state after reboot

2007-08-12 Thread Michel Santos
Henrik Nordstrom disse na ultima mensagem: > On sön, 2007-08-12 at 11:59 -0300, Michel Santos wrote: > >> That brought me to check my startup scripts which I haven't touch since >> long time and I am not using the -F option. Since my production caches >> do >> have considerable size and the rebui

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-12 Thread Michel Santos
Tek Bahadur Limbu disse na ultima mensagem: >> >> how much mem the server has installed? > > Most of them have 1 GB memory > well, I believe that is really too low for such a busy machine and you should think of 4-8 gigs (or more?) for such a server >> >> what is you kern.maxdsiz value? > > It's

Re: [squid-users] endless growing swap.state after reboot

2007-08-12 Thread Henrik Nordstrom
On sön, 2007-08-12 at 11:59 -0300, Michel Santos wrote: > That brought me to check my startup scripts which I haven't touch since > long time and I am not using the -F option. Since my production caches do > have considerable size and the rebuild is up to 2 minutes and some big > caches need 4-5 m

Re: [squid-users] endless growing swap.state after reboot

2007-08-12 Thread Michel Santos
Henrik Nordstrom disse na ultima mensagem: > On fre, 2007-08-10 at 13:55 -0300, Michel Santos wrote: > >> just to get it straight >> >> I start squid with this former swap.state but empty cache_dirs > > yes. > >> Is it that exactly? > > yes. > > > But before you do that we perhaps should do the sa

Re: [squid-users] refresh patterns!

2007-08-12 Thread Adrian Chadd
On Sun, Aug 12, 2007, Manoj_Rajkarnikar wrote: > On Sun, 12 Aug 2007, Adrian Chadd wrote: > > > > >Do your users report issues with the heavy caching and the reload-into-ims? > > None so far. Nice! > >35% byte hit rate is pretty nice though. > > at one point, we had 45-49% Byte hit for about 2

Re: [squid-users] refresh patterns!

2007-08-12 Thread Manoj_Rajkarnikar
On Sun, 12 Aug 2007, Adrian Chadd wrote: Do your users report issues with the heavy caching and the reload-into-ims? None so far. 35% byte hit rate is pretty nice though. at one point, we had 45-49% Byte hit for about 2 months, then the squid server started rebooting frequently and hasn'

Re: [squid-users] refresh patterns!

2007-08-12 Thread Adrian Chadd
On Sun, Aug 12, 2007, Manoj_Rajkarnikar wrote: > here's ours... [snip] Do your users report issues with the heavy caching and the reload-into-ims? 35% byte hit rate is pretty nice though. Adrian

Re: [squid-users] how to check the health of squid server?

2007-08-12 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 12 Aug 2007 02:32:55 -0500 "ying lcs" <[EMAIL PROTECTED]> wrote: > Hi, > > How to check the health of squid server? > I am thinking about writing a script to connect to squid ip address > with port 3128. > But is that enough? Hi Ying, If yo

Re: [squid-users] refresh patterns!

2007-08-12 Thread Manoj_Rajkarnikar
On Wed, 8 Aug 2007, Adrian Chadd wrote: G'day, My next question! What are people using as refresh_patterns for normal ISP forward caching? I'd like to put up a wiki page with a list of useful refresh patterns, especially if you've managed to enable caching of content such as streaming http me

[squid-users] how to check the health of squid server?

2007-08-12 Thread ying lcs
Hi, How to check the health of squid server? I am thinking about writing a script to connect to squid ip address with port 3128. But is that enough? And what should i expect to receive? Is there some kind of 'ping' command for squid? Thank you.

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-12 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 11 Aug 2007 17:24:10 -0300 (BRT) "Michel Santos" <[EMAIL PROTECTED]> wrote: > > Tek Bahadur Limbu disse na ultima mensagem: > > Michel Santos wrote: > >> Tek Bahadur Limbu disse na ultima mensagem: > >>> diskd indeed seems to fail under load