Funny the IIS error 524 is specific to Cloud fare. Wonder if it's a marketing name for an Azure farm - and I'm no stranger to that.
The farm front ends should be load balanced and if your hitting the same front end server the monopolizing process is running on, you're impacted.
Could be someone trying to crack the database. Router logs may show DNS attack as well but the router should be handling that (if correctly set up). Hopefully the legitimate code hitting the database is hardened so it can't be hacked.
Here's some suggestions
https://community.cloudflare.com/t/c...occurred/42342