If you are using JavaPipe remote DDoS protection to mitigate DDoS against your minecraft server and you're experience constant disconnections then its possibly you're running an inferior JDK.
Please use Oracles JDK instead of OpenJDK for better performance and stability.