Skip to contentSkip to conversation

When the link used for openvpn goes down, the daemon hangs

Openvpn-devel Alberto Gonzalez Iniesta 2 participants 3 messages Nov 2, 2004 – Nov 3, 2004

lore
Share & tools
lore
#0 lore raw

Hi again,

Another bug report received in the Debian BTS [1]. Quoting:

|when the link which was used for openvpn transport goes down, it hangs
|in a D state
|
|root      2037  0.0  0.2  3376 1620 pts/1    D    10:45   0:04 openvpn
|
|and there is no way to kill it, I have to reboot. Other programs (eg.
|wavemon) can handle this situation more sanely.

Regards,

Alberto

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278933

Signature · 5 lines
Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
agi@(inittab.org|debian.org)| en GNU/Linux y software libre
Encrypted mail preferred    | http://inittab.org

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3
#1 lore raw
Quoted 10 lines · Alberto Gonzalez Iniesta

Hi again,

Another bug report received in the Debian BTS [1]. Quoting:

|when the link which was used for openvpn transport goes down, it hangs
|in a D state
|
|root      2037  0.0  0.2  3376 1620 pts/1    D    10:45   0:04 openvpn
|
|and there is no way to kill it, I have to reboot. Other programs (eg.
|wavemon) can handle this situation more sanely.

Any idea how to reproduce it?

OpenVPN normally has no problem with intermittent links.

James

#2 lore raw
Quoted 13 lines · James Yonan
Quoted 10 lines · Alberto Gonzalez Iniesta

Hi again,

Another bug report received in the Debian BTS [1]. Quoting:

|when the link which was used for openvpn transport goes down, it hangs
|in a D state
|
|root      2037  0.0  0.2  3376 1620 pts/1    D    10:45   0:04 openvpn
|
|and there is no way to kill it, I have to reboot. Other programs (eg.
|wavemon) can handle this situation more sanely.
Quoted 3 lines

Any idea how to reproduce it?

OpenVPN normally has no problem with intermittent links.

No idea, James. I wasn't able to reproduce it. I can unplug the ethernet cable, ifconfig ethX down, but OpenVPN will not hang and it will recover once the cable is back or the interface is up.

Signature · 5 lines
Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
agi@(inittab.org|debian.org)| en GNU/Linux y software libre
Encrypted mail preferred    | http://inittab.org

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3