leshik wroteI think, this is a bug, definitely
Following everything you describe .. I am
inclined to agree .. but I do not have ~3000 clients so cannot reproduce the problem.
leshik wrotethe server restarts because of monit restarts it or because of segfault. There is nothing special about that situation
These are
only suggestions but perhaps .. if the server stays offline for long enough that all the clients timeout/restart the server will hand out
fresh IPs.. you can adjust your --
keepalive and
monit.
Also, consider removing --
persist-key & --
persist-tun from your
client config.
And/or try --
connect-freq or even
as advised in the manual --
tls-auth
And a really long-shot .. perhaps improve the server process priority with --
nice (or the other options like --
fast-io) and even try using --
ifconfig-pool-persist in this instance.
And if all these suggestions fail .. by all means, report a bug.