Random Reboots FreeBSD 6.1 RELEASE

miked

Verified User
Joined
Apr 14, 2005
Messages
20
Hello,

Hoping that someone can help me. My server:
Dual Zeon 2.8ghz, 2GB RAM, RAID 0,1, FreeBSD 6.1 RELEASE, Directadmin v1.27.2 is randomly rebooting. Sometimes it happens every other day, sometimes every 2 weeks. When it first started happening every other day I thought that it was FrontPage Ext. as two times in a row it was running when it crashed/rebooted. But I disabled that and still happening.

Most recently is just happened. Could find nothing in the logs, and I happened to be running a top when it crashed and nothing major:
secure# top
last pid: 13568; load averages: 0.11, 0.16, 0.13 up 3+13:28:25
16:15:07
107 processes: 1 running, 106 sleeping
CPU states: 0.2% user, 0.0% nice, 0.5% system, 0.0% interrupt, 99.3% idle
Mem: 405M Active, 1195M Inact, 234M Wired, 62M Cache, 112M Buf, 107M Free
Swap: 4096M Total, 396K Used, 4095M Free

PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
7275 root 1 96 0 28288K 27064K select 0 0:07 0.78% perl
434 clamav 6 20 0 57400K 54372K kserel 0 63:52 0.00% clamd
705 mysql 7 20 0 44432K 21872K kserel 0 1:23 0.00% mysqld
586 root 1 96 0 23380K 21336K select 0 1:08 0.00% perl
655 root 1 8 0 860K 284K nanslp 2 0:34 0.00%
da-popb4smt
325 root 1 96 0 1300K 840K select 2 0:28 0.00% syslogd
54595 apache 1 20 0 43432K 36764K lockf 2 0:19 0.00% httpd
58585 apache 1 4 0 44316K 37644K sbwait 2 0:18 0.00% httpd
620 root 1 8 0 1400K 900K wait 2 0:16 0.00% vm-pop3d
57440 apache 1 20 0 44136K 37464K lockf 2 0:16 0.00% httpd
55025 apache 1 4 0 43528K 36864K sbwait 2 0:13 0.00% httpd
69446 apache 1 4 0 43244K 36656K sbwait 2 0:13 0.00% httpd
58588 apache 1 20 0 44676K 37964K lockf 2 0:13 0.00% httpd
61994 apache 1 20 0 44972K 38384K lockf 2 0:12 0.00% httpd
67206 apache 1 20 0 70376K 63712K lockf 2 0:12 0.00% httpd
62002 apache 1 20 0 43880K 37176K lockf 2 0:12 0.00% httpd
58589 apache 1 20 0 44444K 37748K lockf 2 0:12 0.00% httpd

SpamAssasin? I do have SpamBlocker and SpamAssassin running (Still getting blasted with spam, can't wait for SpamBlocker 3)

Any help would be greatly appreciated!

THanks,

Mike
 
Hey Mike,


We just started experiencing the VERY same symptoms, We run FreeBSD 6.1
and 2 weeks ago the machine started randomly rebooting with nothing in the logs. I'm starting to think something may be causing the kernel to panic and the machine reboot.. i havent ruled out hardware but the machine was recently checked for hardware errors and also had the motherboard replaced as we had other issues with FreeBSD 6.0 randomly locking up.. so we upgraded to 6.1 and the problem was solved.. now 8 months later we're getting this rebooting problem.

It's only happened twice to the machine we have running DA and both times were early 06/01/2007 5:50AM and then again 14/01/2007 6:14 AM.

The machine is running FreeBSD 6.1 P6, it's a Dell PowerEdge 2550
Dual P3 1.3 Ghz, 2GB Memory, 4 x 36GB Raid5.

Let me know if you find any new leads, i'm going to probably post to freebsd-questions@ aswell.

Rob.
 
Hi Namesniper,

How often were your reboots, and over what period of time? How long have you been running 6.2?

Any issues with 6.2?

BTW Thanks for the reply!

Thanks,

mike
 
Last edited:
I have noticed first random reboot yesterday and upgraded to 6.2 almost immediately.

Why not not try to upgrade to 6.2 ?
 
interesting. i have the same issue. not sure why. /var/log/messages says nothing as to why it rebooted. it led me to believe the datacenter had power issues (which they admitted once).
did your log files say anything to why it rebooted? how did you upgrade to 6.2? cvsup the source & make world?
 
If your experiencing random reboots take a very good look at the cron jobs you are running. I solved the problem by disabling cron jobs for all users and only running properly configured crons as many users run cron jobs that are very messy.
To check weather this could be the reason take a look at /var/log/cron there may not be errors but the system may crash at the exact point when a certain cron is ran.

Hope this helps some people

Chris
 
the bizarre thing with this one though, i found another thread on here which says how to email details of all cronjobs on all users to an address. ran that, and there's no cron jobs other than one that's aside from default. and the one that's not default only runs at midnight. these reboots can happen at any time of the day, what appears to have absolutely no pattern whatsoever. it'd been 50+ days once before it rebooted, and before that it failed to stay up longer than 2 weeks. same again now. utterly confused, and dc admins are clueless. (or at least, either they know what's doing it and aren't telling me, or aren't bothering to look at it in great detail, which makes them useless anyway)
 
Back
Top