|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
OpenBSD keeps locking up/crashing
Hi There
I'm still using 4.8-stable with a GENERIC kernel. I'm gonna do a fresh install of 5.0 soon rather than upgrade twice(I'm using it for such a simple purpose that it will be quicker that way). Anyway i thought i'd make sure that i didn't have a misconfiguration first, to save time in future. I'm just using this OpenBSD to separate a few servers from an internal subnet. So OpenBSD just has 2 NICs. One attached to a switch, that the servers and Internet gateway are attached to and one attached to a swith that the internal clients are attached to. Anyway quite often network connectivity goes down for the internal clients. The only system that is noticably causing this is the afore mentioned OpenBSD firewall/router. By noticable i mean that the console won't accept or echo characters from the keyboard. This box is the default install of 4.8. The only alterations i've made to it are disabling password authentication on ssh, enabling routing and configuring pf. Oh and i brought it up to the latest stable/patch version a few times, following exactly the method in the FAQ. It does run O.K. It just crashes/locks up about once a day on average. The output of: Code:
# df -h I'm really puzzled. I know it is extremely unlikely to have been hacked, if this is even possible at all. Also the Internet gateway doesn't crash hhmmm. Also i couldn't find anything in the mail or logs relating to anything like what's been going on. But i didn't untar the old logs. I'll post pf.conf if you realy think that firewall rules can cause an OpenBSD system to crash?. Sorry that's not much data to go on. The main question is can a misconfigured pf cause peroidic system outages?. If so could you advise me on pf if i post my pf.conf? Thank you very much for your time regards unixjingleman |
|
||||
Correction: crash(8), not crash(9).
Additional info: crash dumps will be saved to disk for post mortem analysis, if:
|
|
|||
X was not chosen at install as this is a dedicated firewall.
Maybe it's best that i install 5.0 and then get back to you guys if the problem reproduces intself. This isn't because i don't want to post dmesg output or anything daft like that i've just realized that i don't want to take up any more of your time when a simple "wipe-and-reload" might solve all and you could be spending the time doing what you want/need to do. You seem like you know what you're on about so i'll definately post back if the same happens again. Thank you very much for the replies they weren't wasted as i've learnt more about OpenBSD and am very greatfull to have access to this information for the future, not just for the afore mentioned scenario. cheers |
|
|||
5.1 is due to be released in less than 2 weeks. Depending on the urgency/tolerability of your situation 5.1 would be supported for one year rather than the 6 months+ 12 days that remain for 5.0.
|
|
||||
As X is not a factor, then this appears to be a "hang". That's narrowed it down considerably.
You could re-install, or upgrade, whichever you find convenient. However, you may still be able to obtain possibly useful information from the 4.8 system if you can force the kernel to enter ddb or to execute a crash dump. (This might be via the sysctl ddb.console or via the machdep.kbdreset sysctl, as applicable.) Just finding out where the kernel may be looping might help isolate a root cause -- for example, if the kernel is looping in a hardware driver, that might be indicative of a problem with that hardware component. Last edited by jggimi; 18th April 2012 at 01:04 PM. Reason: clarity |
|
|||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
System crashing constantly on P4/xeon | Mr-Biscuit | OpenBSD General | 6 | 5th April 2010 03:33 AM |
BBC activates iPlayer Flash verification - Locking out open source | J65nko | News | 0 | 25th February 2010 08:51 PM |
Error in locking Authority | jerryw | OpenBSD Installation and Upgrading | 4 | 14th November 2009 06:25 PM |
Locking a Computer | JMJ_coder | General software and network | 8 | 21st September 2008 03:33 AM |
FAM keeps crashing with courier-imap | krreagan | FreeBSD General | 0 | 14th May 2008 11:15 PM |