From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 18:49:05 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56FAB16A494 for ; Wed, 22 Aug 2007 18:49:05 +0000 (UTC) (envelope-from ovi@unixservers.us) Received: from webserver.easyhosting.ro (unixware.iasi.rdsnet.ro [86.124.41.195]) by mx1.freebsd.org (Postfix) with ESMTP id BB42C13C4E5 for ; Wed, 22 Aug 2007 18:49:04 +0000 (UTC) (envelope-from ovi@unixservers.us) Received: from [10.0.0.14] (unknown [10.0.0.14]) (Authenticated sender: ovi@unixservers.us) by webserver.easyhosting.ro (Postfix) with ESMTP id 320D6FD018; Wed, 22 Aug 2007 21:34:27 +0300 (EEST) Message-ID: <46CC818E.3010704@unixservers.us> Date: Wed, 22 Aug 2007 21:33:50 +0300 From: Ovi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway , freebsd-questions@freebsd.org References: <20070822120020.1680516A4C2@hub.freebsd.org> <46cc34e9.18b38c0a.1a4b.ffff9abc@mx.google.com> <20070822142225.GA10722@rot26.obsecurity.org> In-Reply-To: <20070822142225.GA10722@rot26.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Servers Crash every few days 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: Wed, 22 Aug 2007 18:49:05 -0000 Kris Kennaway wrote: >On Wed, Aug 22, 2007 at 09:06:50PM +0800, amin wrote: > > >>Hi, >>I have six servers running FreeBSD 6.2 and all of them have the same config. >>My servers are configured to run as a socks5 proxy server. >> >>Lately the servers are going down without any good reasons. How do I check >>what are the errors or processes or the state of the server before it goes >>down. All of them are running quite well without any reboots for the last >>few weeks. My sysctl.conf is as follows: >> >> > >You need to characterise "going down". Is it panicking? Is it >rebooting? Is it hanging? > >Consult the developers handbook for tips on how to obtain sufficient >debugging information to identify and debug a panic or hang. > >Kris > I had the same issue, kernel panic and server reboot after "tuning" to high sysctl variable (like maxsockbuf, but others too) but having only 1 GB of RAM. Another rebooting problem was caused by running tcpdump on high used router. Other problem can be caused by hardware problems (I had those too). I disabled once creation of coredump by kernel, and I had problem (with 6.2), when an userland app crash, the kernel panicked because of that. Last, some userland apps. can cause kernel panic and reboot. ovi