OpenVZ Forum


Home » General » Support » crash + dmesg shows: unregister_netdevice: waiting for lo to become free
crash + dmesg shows: unregister_netdevice: waiting for lo to become free [message #20313] Sat, 15 September 2007 19:05 Go to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
Hi, I had a server crash badly on me, the dmesg was totally full of exactly this:

unregister_netdevice: waiting for lo to become free. Usage count = 3

I found another post on the forum from last year about this but it doesn't sound like my problem. I had to physically reboot this server, and the load spiked from 4 to 1000 within a few minutes of hitting the problem.

HW: 2x quad core xeon 5345
32GB mem
2.6.18 + patch-ovz028stab039.1-combined
32bit kernel

I am going to set up netconsole in case there is more info the next time it crashes. Can anyone tell me if this error message means anything specific to the crash?

crash/errors in dmesg started at 10:10 below:

09:30:01 AM runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15
09:40:01 AM 10 2738 3.47 3.65 3.72
09:50:01 AM 29 2707 3.94 4.20 4.03
10:00:01 AM 19 2818 4.04 3.92 3.95
10:10:01 AM 6 2711 163.93 81.95 35.53
10:20:01 AM 14 3055 428.87 319.18 175.23
10:30:01 AM 37 3284 701.79 590.49 380.14
10:40:01 AM 6 3556 947.43 850.56 612.12
10:50:01 AM 9 3769 973.66 504.74 844.07
11:00:01 AM 11 3991 109.53 765.49 138.86

09:30:01 AM CPU %user %nice %system %iowait %idle
09:40:01 AM all 7.80 3.10 22.83 2.00 64.28
09:50:01 AM all 8.76 3.08 22.87 1.60 63.69
10:00:01 AM all 8.33 3.15 23.10 1.78 63.65
10:10:01 AM all 8.38 3.06 23.29 4.06 61.21
10:20:01 AM all 7.99 1.70 10.82 4.19 75.30
10:30:01 AM all 6.00 0.93 2.23 2.17 88.67
10:40:01 AM all 5.62 1.01 2.13 1.88 89.36
10:50:01 AM all 5.96 1.43 2.13 3.40 87.08
11:00:01 AM all 6.02 1.12 1.90 2.11 88.85


Thanks!
Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters

[Updated on: Sat, 15 September 2007 19:08]

Report message to a moderator

Re: crash + dmesg shows: unregister_netdevice: waiting for lo to become free [message #20344 is a reply to message #20313] Mon, 17 September 2007 07:05 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
Hello Rick,

thank you for your bugreport.
We have noticed this issue too. The following patch should resolve it:
http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Fl inux-2.6.git;a=commitdiff_plain;h=aa6e4a96e7589948fe770744f7 bb4f0f743dddaa
thank you,
Vasily Averin
Re: crash + dmesg shows: unregister_netdevice: waiting for lo to become free [message #20494 is a reply to message #20344] Wed, 19 September 2007 06:22 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
Thank you Vasily, I will add this patch to my kernel. The crash has only happened two times in several months but we will see what happens Grin

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: crash + dmesg shows: unregister_netdevice: waiting for lo to become free [message #28723 is a reply to message #20313] Thu, 27 March 2008 00:11 Go to previous messageGo to next message
TheWiseOne is currently offline  TheWiseOne
Messages: 66
Registered: September 2005
Location: Pennsylvania
Member
Was this patch ever applied to the OpenVZ source? Is this the same bug as described in http://bugzilla.openvz.org/show_bug.cgi?id=846? It looks like it has the same error message and behavior.

Matt Ayres
TekTonic
Re: crash + dmesg shows: unregister_netdevice: waiting for lo to become free [message #28727 is a reply to message #28723] Thu, 27 March 2008 04:57 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
Matt,

this messages points to missed decrement of the reference counter on netdevice. in old case it was caused by acessing to /proc/net/anycast6 file and was fixed long time ago. New issue have the same behaviour but obviously have some another reasons.

btw. you can look at the kerenel sources via http://git.openvz.org
It lacks last changes, but I believe it will be fixed soon.

Thank you,
Vasily Averin
Re: crash + dmesg shows: unregister_netdevice: waiting for lo to become free [message #29978 is a reply to message #28723] Sun, 04 May 2008 07:47 Go to previous message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
Matt,

your bug is definitely different. The above mentioned patch is applied to 023stab043 kernel.

Though, there is another relevant patch, namely

commit

applied to 023stab054.

Regards,
Den

[Updated on: Sun, 04 May 2008 07:49]

Report message to a moderator

Previous Topic: Using iptable module connlimit in VE
Next Topic: [kernel: Out of socket memory] Is there a solution?
Goto Forum:
  


Current Time: Fri Nov 07 00:05:08 GMT 2025

Total time taken to generate the page: 0.17570 seconds