Hi
Jeff Stearns wrote:
> If you use OpenVPN on Linux 2.2 or 4 2.4 or Solaris, you may be
> suffering from a bug which causes connections to hang under heavy load.
> The symptoms are very similar to the MTU problems discussed frequently
> in these mailing lists. But it turns out that this bug is not caused by
> MTU problems. It's a bug in the tun/tap driver.
I looked into tun 1.15 which I believe is fixed in this aspect
...
unsigned int mask = POLLOUT | POLLWRNORM;
if (!tun)
return -EBADFD;
DBG(KERN_INFO "%s: tun_chr_poll\n", tun->name);
poll_wait(file, &tun->read_wait, wait);
if (skb_queue_len(&tun->readq))
mask |= POLLIN | POLLRDNORM;
return mask;
...
so the solution might be to use a more recent tun driver. I believe this
is now part of the official kernel distribution.
cheers
Erich