DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th March 2017
DannyBoy DannyBoy is offline
New User
 
Join Date: Jul 2016
Posts: 4
Default re0 watchdog timeout and dhclient send_packet no buffer

Hi guys

My server machine has been running 6.0 without problems for a good while until three days ago. Now I'm getting (so far) every 24 hours at around 19:50 GMT+2 this network error

Code:
re0: Watchdog timeout
dhclient: send_packet: No buffer space available
and my WAN connection drops. I can restore connection by running

Code:
sh /etc/netstart
but how do I figure out what the hell is causing the problem? I haven't changed any interface settings from defaults. This stuff just started to happen out of the blue.

I asked my ISP to bump up my network speed two weeks ago and it worked out just fine until now. Could this be related to the problem?

Last edited by DannyBoy; 14th March 2017 at 01:08 PM. Reason: Silly typo
Reply With Quote
  #2   (View Single Post)  
Old 14th March 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Hello, and welcome!

A watchdog timeout occurs when a peripheral device -- such as a NIC -- does not respond to a command within a set time. Generally, they are caused by hardware issues: in this case the NIC or its physical media attachment.

I expect that running out of mbufs occurs because the device has stopped processing data. You can monitor mbuf utilization with netstat -s or -ss, but that may not be helpful if buffer saturation happens rapidly due to a hardware problem.
Reply With Quote
  #3   (View Single Post)  
Old 14th March 2017
DannyBoy DannyBoy is offline
New User
 
Join Date: Jul 2016
Posts: 4
Default

Hi jggimi, and thanks!

What really struck me was that problem seems to be periodic. I attached file with output from netstat. I can't tell from it myself whether it's causing the problem or not, though
Attached Files
File Type: txt netstat-s.txt (11.3 KB, 60 views)

Last edited by DannyBoy; 14th March 2017 at 03:18 PM. Reason: Detail
Reply With Quote
  #4   (View Single Post)  
Old 14th March 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

I recently replaced an RJ45 connector on a cable. The problem was intermittent, and did not manifest as a watchdog timeout. But it manifested in different ways:
  • Initially, the interface would just transition by itself from "up" to "down" - dhclient would then exit.
  • The interface would just stop transmitting or receiving packets. The line would stay up and active.
I don't know if your problem is related to cable or connector, but it should be relatively easy to resolve if it the cable happens to be the root cause.
Reply With Quote
  #5   (View Single Post)  
Old 14th March 2017
DannyBoy DannyBoy is offline
New User
 
Join Date: Jul 2016
Posts: 4
Default

It's definitely worth a try to switch the cable. If the problem occurs one more time, I'll do that. Thanks for advice!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
bge0 watchdog timeout resetting philo_neo71 FreeBSD Installation and Upgrading 2 7th March 2017 02:25 AM
Buffer overflows in libXfont J65nko News 1 18th March 2015 11:43 AM
rxvt buffer overflow? arrow OpenBSD Security 5 1st October 2014 01:25 PM
Euro watchdog asks Google to HALT privacy tweak J65nko News 0 4th February 2012 12:27 AM
watchdog elerdin OpenBSD General 6 14th April 2011 04:19 PM


All times are GMT. The time now is 05:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick