FreeBSD crashes very often
I'm bit new to FreeBSD, I have used Linux and now I have FreeBSD powered server. I have set up firewall and all other web services to it that I need and everything works perfectly.... almost. FreeBSD reboots suddenly about every 3 day. I don't understand why it is doing that. I don't even actually know where should I start looking the problem. I have checked log files but I have seen nothing special in them. At boot it says that / has not been dismounted properly and my database has gone upside down because these reboots. I don't want to change back to Linux because everything else works so perfectly.
My FreeBSD version is 4.9 Here is my Sysinfo. |
I had once FreeBSD 4.9 (or was it 4.8) rebooting spontaneously. Still don't know what the trouble was, except I noticed that the partition for root filesystem was getting pretty crowded. I re-installed and gave the root filesystem twice the amount of space than I did in the first installation. After that the reboots stopped. Dunno what the problem was and what fixed it -- the re-installation or making the root partition bigger.
|
Thanks for you're answer Dead Parrot. My root file system doesn't look very crowded and I don't want to re-install whole system. I'd still like to hear some more opinions what could cause this and if I don't find solution maybe I have to try re-install (or maybe try some of new technology releases).
Could this be hardware issue? |
Post your dmesg. Does it crash while you are running xwindows? What programs are you running at the time of the crash. Are you using nvidia-drivers with nvidia-agp? etc...
|
Looks like your 3COM card is having some errors. Is that an (E)ISA card? If you don't need that second card, I'd remove it. If you do need 2 NICs, I'd consider replacing the ep(4) card with a PCI NIC, fxp(4) (Intel Pro/100) are generally considered to be very good cards.
Do your logs say anything about a panic? It sounds like you might be experiencing kernel panics. |
Quote:
Here's my dmesg: Quote:
|
I installed FreeBSD 5.1 and changed network card to another for testing... I can't yet say whether it reboots itself or but but there seems to be a lot of errors in sysinfo now: sysinfo...
|
Whoa, that is a *lot* of errors. I should have mentioned that Realtek-based cards are generally not recommended (poor quality), but still there shouldn't be *that* many... did you properly configure each card on a separate subnet?
|
ifconfig gives me this:
Code:
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 |
Hmm, no inet4 IP on the second card then? Are you using it for anything? If not, shut it down (or remove it?).
I take it the box hasn't crashed yet, right? |
It is for pppoe connection.
And no, the box hasn't crashed yet but last time it was up for 3 days and then crashed. EDIT: I changed old card back and see if it works but it seems that there is already one error. I just don't understand what is going on. |
I had similiar such issues with various network cards ( Specifically a Realtek8139 and a 3Com ). I bought a Intel Etherexpress PRo 10/100.
While they are pricy, they work. I've had that card in one of my servers for four years now, never had a single problem with it and maintained uptimes over a year. I'd dish out the cash for a good card, and I know FreeBSD works excelent with the Intel card. Jason |
All times are GMT -5. The time now is 09:45 PM. |