[squid-users] Slow to Stop - 2.5-STABLE on Solaris 8

2003-11-26 Thread Jesse Reynolds
Hi Most of the time squid is taking about 30 seconds to shut down for me. I have built 2.5-STABLE on Solaris 8. The same thing happens on all 7 boxes here. Occasionally it stops very quickly, but usally it just takes ages to stop. Any way to make it stop faster? Any way to find out what it's d

Re: [squid-users] again slow :(

2003-11-26 Thread Mauro
> If you have more than a few users, I would recommend using one of > the asynchronous IO types (aufs/diskd) instead of ufs. > I have about 400 clients accessing the cache. I'm using ufs. Do you recommend aufs? I have to recreate the cache? Thnak you.

Re: [squid-users] "Network unreachable" timeout

2003-11-26 Thread rihad
Henrik Nordstrom wrote: Is there a way to configure squid's retry timeout before returning Network unreachable? (I.e. when I click on some link in proxied Mozilla, and squid can't reach out for some reason, instead of returning the "Network unreachable" html page, squid would keep retrying for a c

Re: [squid-users] reiserfs in 2.5Stable4

2003-11-26 Thread Emilio Casbas
Henrik Nordstrom wrote: On Tue, 25 Nov 2003, Emilio Casbas wrote: [EMAIL PROTECTED] sbin]$ ./squid -z 2003/11/25 18:34:16| assertion failed: store.c:1331: "strcmp(storefs_list[i].typestr, type) != 0" Aborted Looks like your binary compiled wrongly.. Most likely the --enable-storeio=.. arg

[squid-users] deny webmail

2003-11-26 Thread Messner, Alexander
Hi Folks, we want to deny the access to webmailersis there anywhere a "blacklist" we can use? Regards Alex ** This email and any files transmitted with it are confidential and intended solely for the use of the individual o

Re: [squid-users] reiserfs in 2.5Stable4

2003-11-26 Thread Emilio Casbas
Emilio Casbas wrote: Henrik Nordstrom wrote: On Tue, 25 Nov 2003, Emilio Casbas wrote: [EMAIL PROTECTED] sbin]$ ./squid -z 2003/11/25 18:34:16| assertion failed: store.c:1331: "strcmp(storefs_list[i].typestr, type) != 0" Aborted Looks like your binary compiled wrongly.. Most likely the -

Re: [squid-users] "Network unreachable" timeout

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, rihad wrote: > Henrik Nordstrom wrote: > > >See the connect_timeout parameter. > This doesn't seem to be the right knob, does it? Right, but close ;-) it allows you to make Squid return the error quicker... Squid already retries a couple of times before the error is give

Re: [squid-users] reiserfs in 2.5Stable4

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, Emilio Casbas wrote: > --prefix=/usr/local/etc2/squid_2_5 --enable-snmp --enable-storeio > --enable-basic-auth-helpers=LDAP --enable-async-io=2048 This will indeed cause the ufs and aufs storeio modules to be added twice, once by the --enable-storeio option, once by the --e

Re: [squid-users] "Network unreachable" timeout

2003-11-26 Thread rihad
Henrik Nordstrom wrote: On Wed, 26 Nov 2003, rihad wrote: Henrik Nordstrom wrote: See the connect_timeout parameter. This doesn't seem to be the right knob, does it? Right, but close ;-) it allows you to make Squid return the error quicker... Squid already retries a co

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Mauro
On Tuesday 25 November 2003 13:36, Henrik Nordstrom wrote: > On Tue, 25 Nov 2003, Mauro wrote: > > I have changed positive_dns_ttl parameter. > > I put positive_dns_ttl 5 minutes. > > Now it seems that things goes better. > > What was it set to before? Default value. What do you think about?

Re: [squid-users] "Network unreachable" timeout

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, rihad wrote: > This would be an excellent addition. I hope the devs realize that. Think > squid over a low quality modem line in ex-USSR with frequent disconnects > (*sigh*). I cannot promise that myself or one of the other developers picks up the idea, but we would happily

Re: [squid-users] Slow to Stop - 2.5-STABLE on Solaris 8

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, Jesse Reynolds wrote: > Most of the time squid is taking about 30 seconds to shut down for > me. I have built 2.5-STABLE on Solaris 8. The same thing happens on > all 7 boxes here. > > Occasionally it stops very quickly, but usally it just takes ages to stop. What is said

Re: [squid-users] again slow :(

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, Mauro wrote: > I have about 400 clients accessing the cache. > I'm using ufs. > Do you recommend aufs? If you see that your have Squid blocked a lot then yes (see vmstat 1) > I have to recreate the cache? No. Regards Henrik

Re: [squid-users] winbindd_privileged

2003-11-26 Thread Mark Taylor
Need a bit more info... What OS are you installing under? What have you done so far? Did you compile samba? If so, with which command line switches? On Tue, 2003-11-25 at 21:41, John Anand Jesudas wrote: > Hi. > > I am trying to setup ntlm auth using samba3 and squid.. I am unable to > find

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, Mauro wrote: > On Tuesday 25 November 2003 13:36, Henrik Nordstrom wrote: > > On Tue, 25 Nov 2003, Mauro wrote: > > > I have changed positive_dns_ttl parameter. > > > I put positive_dns_ttl 5 minutes. > > > Now it seems that things goes better. > > > > What was it set to befo

Re: [squid-users] Slow to Stop - 2.5-STABLE on Solaris 8

2003-11-26 Thread Jesse Reynolds
At 11:58 +0100 26/11/03, Henrik Nordstrom wrote: On Wed, 26 Nov 2003, Jesse Reynolds wrote: Most of the time squid is taking about 30 seconds to shut down for me. I have built 2.5-STABLE on Solaris 8. The same thing happens on all 7 boxes here. Occasionally it stops very quickly, but usally it

Re: [squid-users] Slow to Stop - 2.5-STABLE on Solaris 8

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, Jesse Reynolds wrote: > It's odd that it seems to do this most of the time, even when noone > is accessing the cache. Perhaps it is also considering the file > descriptors for the child redirector processes? Most likely there is some client connections hanging around. See t

Re: [squid-users] reiserfs in 2.5Stable4

2003-11-26 Thread Emilio Casbas
Henrik Nordstrom wrote: On Wed, 26 Nov 2003, Emilio Casbas wrote: --prefix=/usr/local/etc2/squid_2_5 --enable-snmp --enable-storeio --enable-basic-auth-helpers=LDAP --enable-async-io=2048 This will indeed cause the ufs and aufs storeio modules to be added twice, once by the --enable-sto

Re: [squid-users] again slow :(

2003-11-26 Thread Mauro
On Wednesday 26 November 2003 11:59, Henrik Nordstrom wrote: > On Wed, 26 Nov 2003, Mauro wrote: > > I have about 400 clients accessing the cache. > > I'm using ufs. > > Do you recommend aufs? > > If you see that your have Squid blocked a lot then yes (see vmstat > 1) I have squid blocked but the

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Mauro
On Wednesday 26 November 2003 12:05, Henrik Nordstrom wrote: > On Wed, 26 Nov 2003, Mauro wrote: > > On Tuesday 25 November 2003 13:36, Henrik Nordstrom wrote: > > > On Tue, 25 Nov 2003, Mauro wrote: > > > > I have changed positive_dns_ttl parameter. > > > > I put positive_dns_ttl 5 minutes. > > >

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Peter van der Does
It looks like you don't have enough DNS processes running How much is your dns_children set? >From the squid.conf: # TAG: dns_children # Note: This option is only available if Squid is rebuilt with the # --disable-internal-dns option # # The number of processes spawn to service DNS n

[squid-users] Squid Net I/O Performance patch

2003-11-26 Thread unixware
Dear All Any body using Squid Net I/O Performance patch located at squid site http://squid.visolve.com/developments/rtsignal_install.htm any experience and idea ? Regards UW __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Mauro
On Wednesday 26 November 2003 13:36, Peter van der Does wrote: > It looks like you don't have enough DNS processes running > How much is your dns_children set? > > From the squid.conf: > # TAG: dns_children > # Note: This option is only available if Squid is rebuilt with the > # --disable-in

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Peter van der Does
The process isn't running as a squid process. If you do ps -aux | grep proxy you should see more. I would just increase the dns_setting, the errors you see indicate a waiting time for dns queries and increasing the amount of dns-children (dns-queries) would solve that. Peter >>> Mauro <[EMAIL PR

[squid-users] Problem with squid and "connection reset by peer"

2003-11-26 Thread Lilian . Gix
Hello I have a problem since two weeks with my squid proxy: It is not able to reach his parent ever hours and one minutes during 2 minutes. That means form 10:01 to 10:03, 11:01 to 10:03,... my proxy can't reach the parent. But ping and telnet pour 8080 on parent works fine Here is a part of my

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Mauro
On Wednesday 26 November 2003 14:23, Peter van der Does wrote: > The process isn't running as a squid process. > If you do ps -aux | grep proxy you should see more. ps aux |grep proxy proxy13595 2.5 2.5 58456 53676 ? S14:52 0:30 [squid] proxy13596 0.0 0.0 1248 308 ?

Re: [squid-users] Problem with squid and "connection reset by peer"

2003-11-26 Thread Chris Wilcox
My guess is that something is running on the parent proxy every hour, and whatever is running takes about two minutes to complete and somehow interferes with the cache process. Could be log rotation/analysis or something similar maybe? I wouldn't think this is necessarily a fault with your sq

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Peter van der Does
Did you try the suggestion of increasing the dns-children? Peter >>> Mauro <[EMAIL PROTECTED]> 26-11-2003 15:13:17 >>> On Wednesday 26 November 2003 14:23, Peter van der Does wrote: > The process isn't running as a squid process. > If you do ps -aux | grep proxy you should see more. ps aux |grep

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Mauro
On Wednesday 26 November 2003 15:35, Peter van der Does wrote: > Did you try the suggestion of increasing the dns-children? No, I have to recompile squid.

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Peter van der Does
Oh cause you said earlier: I use a precompiled package from debian and it seems that this option is enable. >>> Mauro <[EMAIL PROTECTED]> 26-11-2003 15:39:59 >>> On Wednesday 26 November 2003 15:35, Peter van der Does wrote: > Did you try the suggestion of increasing the dns-children? No, I ha

[squid-users] Error due to access.log

2003-11-26 Thread ads squid
Hi, Following is error in /var/log/messages file Nov 26 20:11:22 xyz squid[20230]: Squid Parent: child process 20574 started Nov 26 20:11:28 xyz (squid): Cannot open '/usr/local/squid/var/logs/access.log' for writing. ^IThe parent directory must be writeable by the ^Iuser 'adssquid', which is the

RE: [squid-users] Error due to access.log

2003-11-26 Thread Anthony Boynes
Was it a symbolic link? -Original Message- From: ads squid [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 8:01 AM To: [EMAIL PROTECTED] Subject: [squid-users] Error due to access.log Hi, Following is error in /var/log/messages file Nov 26 20:11:22 xyz squid[20230]: Squid P

RE: [squid-users] Error due to access.log

2003-11-26 Thread ads squid
I am not getting what do you mean by symbolic link. Thank for support --- Anthony Boynes <[EMAIL PROTECTED]> wrote: > Was it a symbolic link? > > -Original Message- > From: ads squid [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 26, 2003 8:01 AM > To: [EMAIL PROTECTED] > Subject: [

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Mauro
On Wednesday 26 November 2003 15:42, Peter van der Does wrote: > Oh cause you said earlier: > I use a precompiled package from debian and it seems that this > option is enable. Oh scuse me .. sorry.I have to mean that it isn't enable.

RE: [squid-users] Error due to access.log

2003-11-26 Thread Anthony Boynes
A symbolic link is like a pointer to a file in another location. If you had a hard symbolic link to the access.log file it could have actually existed in /usr/local/squid/var and you could access it as if it was in /var/log. Deleting a hard link deletes the file from its true location. See the ma

RE: [squid-users] Problem with squid and "connection reset by pee r"

2003-11-26 Thread Lilian . Gix
Hi, thanks for your help I tried to ping the parent without any problem. I also open connection with Telnet on port 8080 on the same parent without problem during this periode. I have a rotate, but it's every night. And to be sure it was not a schedule task I remove my crontab file. Gix Lili

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, Mauro wrote: > Nov 26 13:16:29 proxy1 squid[10567]: idnsCheckQueue: ID 85d3: giving > up after 17 tries and 302.7 seconds > > and my clients, about 600, are unable to contact internet. > I see that putting positive_dns_ttl to 5 minutes, the default was 6 > hours I think, th

Re: [squid-users] reiserfs in 2.5Stable4

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, Emilio Casbas wrote: > With three disc caches of 19G, how many threads can be the optimal? The default when you do not specify anything is most likely a good one. Regards Henrik

Re: [squid-users] serious problem with squid.

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, Peter van der Does wrote: > It looks like you don't have enough DNS processes running > How much is your dns_children set? > > >From the squid.conf: > # TAG: dns_children > # Note: This option is only available if Squid is rebuilt with the > # --disable-internal-dns o

Re: [squid-users] Problem with squid and "connection reset by peer"

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003 [EMAIL PROTECTED] wrote: > Hello > > I have a problem since two weeks with my squid proxy: > It is not able to reach his parent ever hours and one minutes during 2 > minutes. That means form 10:01 to 10:03, 11:01 to 10:03,... my proxy can't > reach the parent. > > But ping an

Re: [squid-users] Error due to access.log

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, ads squid wrote: > By mistake I deleted /var/log/squid/access.log file. > Then recreated it in same directory and changed mode > of directory as required to by command "chmod 770 > /var/log/squid/" Make sure your cache_effective_user have write permission in the directory, a

RE: [squid-users] Problem with squid and "connection reset by pee r"

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003 [EMAIL PROTECTED] wrote: > I tried to ping the parent without any problem. I also open connection with > Telnet on port 8080 on the same parent without problem during this periode. Do you have any logs on the parent? Is there any hints to why the parent is not accepting req

Re: [squid-users] Squid Net I/O Performance patch

2003-11-26 Thread Henrik Nordstrom
It has been very silent about this patch for a long time. But everything is not dead. There is other projects with similar goals active aiming to have support for Linux epoll and FreeBSD kpoll. See squid-3. Regards Henrik On Wed, 26 Nov 2003, unixware wrote: > Dear All > > Any body using Squi

RE: [squid-users] Error due to access.log

2003-11-26 Thread ads squid
I think it was not symbolic link it was hard link. I tried ln as follows : ln -sd /var/log/squid/ /usr/local/squid/var/logs/ and got message "ln: `/usr/local/squid/var/log': File exists " But problem is not solved. Do I have to reinstall squid? Thanks for support. --- Anthony Boynes <[EMAIL PRO

RE: [squid-users] Problem with squid and "connection reset by pee r"

2003-11-26 Thread Lilian . Gix
Unfortunatly, No I haven't any logs at the moment. But I think I can ask for them. And I relay don't have the feeling the problem come from the parent. Gix Lilian -Original Message- From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 26. November 2003 17:07 To: [EMAIL PR

RE: [squid-users] Error due to access.log

2003-11-26 Thread Anthony Boynes
Recreate the link as it existed before. -- Anthony Boynes -Original Message- From: ads squid [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 9:10 AM To: Anthony Boynes; [EMAIL PROTECTED] Subject: RE: [squid-users] Error due to access.log I think it was not symbolic link it

[squid-users] Wb_group error message in cache.log

2003-11-26 Thread Mark Pelkoski
List, I keep seeing this error in my cache.log a couple of times a day. Is this normal or do I have a problem? I require my users to belong to a certain NT group in order to use Squid. I wasn't seeing it when I tested it with 70 users. Now I have 800+ users. (wb_group)[9464](wb_check_group.c:231):

[squid-users] Vary/Etag patch

2003-11-26 Thread Nimesh Shah
Hi, I am running Squid Version 2.5.STABLE4 (as seen below): ./squid -v Squid Cache: Version 2.5.STABLE4 Do I still need to apply any more patches over this? If so where will I find them? My interest is specific to support of "Vary" and "Etag" headers. Regards, -Nimesh. _

RE: [squid-users] Error due to access.log

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, Anthony Boynes wrote: > Recreate the link as it existed before. Or tell Squid in squid.conf to save the logs where you want to have them saved without relying on the link. Regards Henrik

Re: [squid-users] Vary/Etag patch

2003-11-26 Thread Henrik Nordstrom
On Wed, 26 Nov 2003, Nimesh Shah wrote: > Do I still need to apply any more patches over this? If so where will I find > them? My interest is specific to support of "Vary" and "Etag" headers. Vary is supported by Squid-2.5. For ETag you need the ETag patch from http://devel.squid-cache.org/ Reg

[squid-users] SQUID 2.5Stable4 with, DISKD showing failures

2003-11-26 Thread Ripunjay Bararia
Greetings, I have Squid 2.5.STABLE4 running in transparent mode on the following config P-IV 3.0GHz HT (with HT Disabled in BIOS) 2GB DDR RAM 36GB X 2 SCSI HDD (System X 1, Cache Dir X 1) RedHat 9.0 with the latest Up2date Linux version 2.4.20-20.9 ([EMAIL PROTECTED]) (gcc version 3.2.2 2003022

RE: [squid-users] Vary/Etag patch

2003-11-26 Thread Nimesh Shah
Hello, Thank you for quick response. I do have the patch i.e. etag-2_5.patch. How is this to be applied (Solaris 2.8)? This does not seem to be sufficient: cd patch -i Regards, -Nimesh. > -Original Message- > From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] > Sent: 26 November 2003 1

RE: [squid-users] Vary/Etag patch

2003-11-26 Thread Henrik Nordstrom
cd squid-2.5.STABLE4 patch -p1 <../patch-file ./bootstrap.sh ./configure ... Regards Henrik On Wed, 26 Nov 2003, Nimesh Shah wrote: > Hello, > > Thank you for quick response. I do have the patch > i.e. etag-2_5.patch. How is this to be applied (Solaris 2.8)? > > This does not seem to be suff

Re: [squid-users] SQUID 2.5Stable4 with, DISKD showing failures

2003-11-26 Thread Henrik Nordstrom
On Thu, 27 Nov 2003, Ripunjay Bararia wrote: > please can you explain the cause of the Failures in the above output Can be a number of different reasons Any interesting messages in cache.log? Regards Henrik

RE: [squid-users] Vary/Etag patch

2003-11-26 Thread Nimesh Shah
Hello, Thank you once again. Unfortunately it seems to report errors: patch -p1 < /tmp/etag-2_5.patch Looks like a unified context diff. Hunk #1 failed at line 1. 1 out of 1 hunks failed: saving rejects to src/ETag.c.rej The next patch looks like a unified context diff. The next patch look

[squid-users] using header_replace?

2003-11-26 Thread Brian Peterson
Hello All, Ideally, I'm trying to, based on ACL's, add a HTTP_VARIBLE_NAME=data to each request. Squid 2.5STABLE3. The documentation seems to point to header_replace. I've tried header_replace CLIENT_IP 1.1.1.1 and squid says 2003/11/26 13:42:54| parseConfigFile: line 81 unrecognized: 'header_r

[squid-users] cachemgr.cgi

2003-11-26 Thread Li Wei
hi, If I may not wrong, there has been a topic about cachemgr.cgi. Today, I'd like to continue this one. I try to log into cachemgr.cgi. Although I tried many times with different user IDs, the system didn't allow me to log in. Why? Thanks in advance. *

[squid-users] delay pools - parseConigFile unrecognized

2003-11-26 Thread Alexander Else
Hi, I'm having difficulty with the delay pools feature. Squid does not recognise the appropriate directives, though i believe i have set it up correctly. After reading the FAQ, searching the archives, and googling til i just can't google no more, i'm looking for a bit of help. The system in que

[squid-users] Squid keeps dieing

2003-11-26 Thread Simon Bryan
Hi all, Squid has died twice in the last few days, after repeated occureences of the following error message. We are using NTLM authentication and to the best of my knowledge there have been no changes, installs or uninstalls on the server. Squid info: Squid Cache: Version 2.5.STABLE3-20030803 co

Re: [squid-users] Application Gateway

2003-11-26 Thread Abdul Khader
Hi, I want to calculate the number of hours a user is using my proxy. I want to disconnect the user dynamically if he has used my proxy for 10 hours. Some one suggested me to make a custom auth program which has a database. This does not solve my problem. Even if I can make the auth program, I am u