Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Mar 2006 16:52:18 -0800
From:      "Jin Guojun [VFFS]" <g_jin@lbl.gov>
To:        me@carrollkong.com
Cc:        FreeBSD <freebsd@swaggi.com>, freebsd-hardware@freebsd.org
Subject:   Re: FreeBSD shutting down unexpectedly
Message-ID:  <440B87C2.3060704@lbl.gov>
In-Reply-To: <440A9B0A.4050303@rcn.com>
References:  <1141517664.1407@swaggi.com> <440A9B0A.4050303@rcn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Corcoran wrote:

> FreeBSD wrote:
>
>> Hi everyone,
>> I'm having a problem with my FreeBSD server shutting down for no 
>> reason. This started happening recently (within the last month) so 
>> I'm not sure if the hardware is dying or if there's another 
>> underlying problem. The server is a rackmountable 1U chassis at a 
>> remote location connected to an APC UPS. When I lose connectivity and 
>> go to physically inspect the server, it's powered off completely as 
>> if there was a power outage. However, each time I can confirm that 
>> the UPS did not lose power and there were no voltage spikes (the APC 
>> can be managed via telnet and SNMP so there are logs I can look at). 
>> So far the only way I've been able to reproduce the problem is by 
>> running "portsdb -Uu" to update the ports DB after a cvsup of the 
>> ports tree. I suppose this is a CPU/disk intensive task so maybe I 
>> have a dying hard drive? Running this command used to take about 10 
>> minutes for me, now when I run it about 5 minutes later the box 
>> powers off mysteriously. There's nothing in /var/log/me
>
> ssa
>
>>  ges and after I bring it back up, dmesg does not show anything 
>> unusual. I setup a console server to monitor this server's console 
>> but there was absolutely nothing on the console during the last such 
>> "crash".
>> I'm looking for some suggestions on how to troubleshoot this problem, 
>> perhaps I can enable crash dump files or some sort of debugging? 
>> Here's some output:
>
> <snip>
>
>> Any suggestions would be welcome. 
>
>
> You may have a failing, or underpowered, power supply, which could cause
> flakiness when you have large amounts of CPU and/or disk activity.

It sound like a power related issue. Another thing to try is to remove 
the UPS,
even though you think it is OK.
5 years ago, we bought 25 APC and more than 7 had some problems. Some of
them turned machine off, while monitor meter did not show losing power.
APC may have improved their product now, but try to isolate it first.
If the server still has the same problem, than the power supply may be 
degraded
(check the fan and temperature).
Dying hard drive generally will not cause power shuting down.

    -Jin





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?440B87C2.3060704>