From owner-freebsd-questions@FreeBSD.ORG Fri Dec 17 13:47:24 2010 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 CD53B106564A for ; Fri, 17 Dec 2010 13:47:24 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 57D478FC1B for ; Fri, 17 Dec 2010 13:47:23 +0000 (UTC) Received: by wwf26 with SMTP id 26so609858wwf.31 for ; Fri, 17 Dec 2010 05:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=YmbGOW502vWrHSODxwC7o4WEwyZVZ6kp/YubFORlBy8=; b=G83OQHO8X33bu9ceVSVaJi6aQGslV7XlOdk/o8PtOsL5m6F+qMHz81A6CSitljg5Dg 5H1pyfDU/XDS4GCPkRvv8WBe1+KhC8oUj/8tpMQ+xOfbiOsQS1wRFYwkEVVlnrDopsVa LckydC1PvR1C3NkYrXqZ9uH4UJs2PdwerND5s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=IawKBue7NBGdF9tmACOkxF3xIKWoAKtF1oNShyB4u5eAkodtx24rtatglANsqm7TsG CU50qnA42jDYnCU9pLDLa7omqJT+LQc7bTEDruaIV2zAuxaDWhHJx2j+94i4fQsp1+If OvSW1aezhhhgGBDfLfxWuP7njzcSaig3/73Qs= MIME-Version: 1.0 Received: by 10.216.51.135 with SMTP id b7mr3893102wec.29.1292593643005; Fri, 17 Dec 2010 05:47:23 -0800 (PST) Received: by 10.216.72.198 with HTTP; Fri, 17 Dec 2010 05:47:22 -0800 (PST) In-Reply-To: References: Date: Fri, 17 Dec 2010 13:47:22 +0000 Message-ID: From: krad To: =?UTF-8?Q?Matej_=C5=A0erc?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 7.2-RELEASE amd64 hangs 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: Fri, 17 Dec 2010 13:47:25 -0000 On 16 December 2010 17:42, Matej =C5=A0erc wrote: > Hi, > > I am experiencing a strange issue that has never occurred to me in all th= e > years of using different versions of FreeBSD. > > One of our servers, which was running without any issues until yesterday, > stopped responding for two times now - yesterday and today. About three > days > ago another process of pulling out SNMP data from devices was added, but = I > was looking the system load and the system was working normally and also > processes were cmpleting successfully within the timeframe of 5 minutes > (much faster, they completed in about 2 minutes). I also want to mention > that those SNMP pulling processes were already working about a month or s= o > on the same server (no hardware was changed in the meantime) and I am > pretty > sure that it should work normally as it did. > > My main problem is, that there is abcolutely nothing in log files - no > errors, no warnings, nothing. No strange messages, every process just sto= ps > logging at one time and then continues after the reboot. Another > interesting > issue is that both hangs occured at approximately the same time, but ther= e > was nobody in the server room and also no one was logged into the server = at > that time except me. About 10 minutes before hang I was investigating > processes and everything was very normal - no large CPU eating or memory > eating processes. This might be interesting, even after every process sto= ps > responding, I was still able to ping the network interfaces and receive > ICMP > replies back. > > Of course my idea about it is that it must be connected to some hardware > problems - my suggestion was to make some memory tests. But I would like = to > hear some your oppinions about the entire situation. Could some power > supply > issues be doing it? The server is about a year old and has, as I already > mentioned, worked like a charm until now. How come there is no kernel pan= ic > since no daemon seems to be working? Why is network interface still up an= d > working? > > I was unable to go to the co-location facility so I can't say what was on > the screen at both times, but I suppose there was nothing else than > messages > I can read from log files. > > I know that 7.2 is pretty old version, but it was working until now on th= e > same hardware and we had no reason to change that. Now the system is afte= r > reboot again running smoothly and without any issues at all. > > Thank you very much for any information regarding the issue. > > BR, Matej > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > I'm not a huge fan of letting snmp spawn heavy weight scripts and processes as it is to easy for a remote machine to effectively dos the machine. I realise you are fairly sure the scripts arent an issue, but try croning the= m every 5 minutes, and writing the results to a file. SNMP can then simply retrieve the results from the file. This safeguard to to a certain extent, in that it stops many processes being spawned. All you have to watch after that is the job run time