From owner-freebsd-questions@FreeBSD.ORG Mon Nov 27 07:45:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD9D316A403 for ; Mon, 27 Nov 2006 07:45:01 +0000 (UTC) (envelope-from rihad@mail.ru) Received: from f44.mail.ru (f44.mail.ru [194.67.57.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6336643D62 for ; Mon, 27 Nov 2006 07:44:02 +0000 (GMT) (envelope-from rihad@mail.ru) Received: from mail by f44.mail.ru with local id 1GobAg-000M1e-00 for freebsd-questions@freebsd.org; Mon, 27 Nov 2006 10:44:58 +0300 Received: from [217.25.25.67] by win.mail.ru with HTTP; Mon, 27 Nov 2006 10:44:58 +0300 From: =?koi8-r?Q?=F2=C9=C8=C1=C4_=E7=C1=C4=D6=C9=C5=D7?= To: freebsd-questions@freebsd.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [217.25.25.67] Date: Mon, 27 Nov 2006 10:44:58 +0300 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: Subject: zoneli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?koi8-r?Q?=F2=C9=C8=C1=C4_=E7=C1=C4=D6=C9=C5=D7?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 07:45:02 -0000 Hi! From time to time our moderately loaded Squid 2.6.3 (~500 simultaneous clients, ~5000 req/min) stops responding all of a sudden, its status being 'zoneli' according to top(1), and nothing short of a machine reboot can bring it back to life. I think it's the growing load on the box that causes this, because the problem never showed up when the load was lower. I upped certain kernel variables through /boot/loader.conf, it seemed to help in the sense that zoneli now occurs much less frequently (like once in a month). Can you please give any suggestions on how to fix the problem? If you should need any further info, please let me know. $ uname -r 6.0-RELEASE-p15 $ grep '^CPU:' /var/run/dmesg.boot CPU: AMD Athlon(tm) 64 Processor 3000+ (1808.81-MHz 686-class CPU) $ grep -E '^(real|avail) memory' /var/run/dmesg.boot real memory = 2147418112 (2047 MB) avail memory = 2097672192 (2000 MB) $ grep -v -e ^# -e '^$' /boot/loader.conf kern.maxdsiz="1153433600" kern.maxssiz="201326592" kern.ipc.nmbclusters="65536" kern.ipc.msgmnb="8192" kern.ipc.msgssz="64" kern.ipc.msgtql="2048" $ grep -v -e ^# -e '^$' /etc/sysctl.conf net.inet.tcp.sendspace=131072 net.inet.tcp.recvspace=131072 kern.ipc.somaxconn=1024 kern.ipc.maxsockbuf=524288