From owner-freebsd-questions@FreeBSD.ORG Mon Nov 27 08:00:46 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 D180416A47B for ; Mon, 27 Nov 2006 08:00:46 +0000 (UTC) (envelope-from admin@azuni.net) Received: from mail.azuni.net (ns0.azuni.net [217.25.25.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC5F343D6A for ; Mon, 27 Nov 2006 07:59:45 +0000 (GMT) (envelope-from admin@azuni.net) Received: (qmail 83749 invoked by uid 1004); 27 Nov 2006 08:00:43 -0000 Received: from admin@azuni.net by mail.azuni.net by uid 89 with qmail-scanner-1.20 (clamscan: 0.65. spamassassin: 2.63. Clear:RC:1(217.25.25.67):. Processed in 0.010302 secs); 27 Nov 2006 08:00:43 -0000 Received: from unknown (HELO ?192.168.0.254?) (217.25.25.67) by ns0.azuni.net with SMTP; 27 Nov 2006 08:00:43 -0000 Message-ID: <456A9B23.7070409@azuni.net> Date: Mon, 27 Nov 2006 12:00:35 +0400 From: admin User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: zoneli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 08:00:46 -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