Question
Server getting slow after X hours
Hi,
They are terrible days to figure out the issue. I could not.
My API needs to received many requests with low latency. About 300K requests/day. After received > 5K requests, my server is getting slow. After 2 or 3 hours, my server cannot receive any request. All are showing pending.
My Server 2GB/2CP ubuntu 14.
I do check CPU and RAM - they show < 30%. My API is on spring mvc, my server is jetty (using jetty - maven plugin)
Some configs before starting server:
export MAVEN_OPTS=“-Xmx2048m -Xms1024m”
mvn -DhttpPort=80 jetty:run
Thanks
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×