I Currently have a service with a very high traffic (about 1000 connections/second, and this is not reducable with optimization anymore). Until 1 week ago, I was at AWS and had twiched some of my apache/NGNIX configurations to handle that load. There was no issue at all.
I now want to change host and I went with OVH ; the new server config is 4x better than the latter (128GO RAM, 24 Core last gen processor with 30mb cache...)
Now comes the issue ; on the new server I somehow get 503 errors (by apache) as soon as I pass the 600 connections per second. - First of all : Of course I know I must loadbalance the connections and I intend too ; but I want a clean config before i replicate it. - Apache is configured to handle 4000 concurrent connections and it does when I stress test simple
So my Hypothesis : - Either OVH (new host) blocks my internal connections when too often. But they tell me they only block if I go over the 1GB/S bandwith (I don't - far from it) - Either Apache configuration is a bit different and makes server go into 503 faster than before (maby it doesnt like the 0,5 second between connecting to mysql and getting an result). Indeed there is a major difference ; on the new server (Ubuntu) my apache is behind an NGNIX reverse proxy and is in a docker-container whereas before it was a simple LAMP
Does someone have an explanation of what is happening? I am totally lost & depressed.
Thank you so much in advance.