Server overload for 4 hours (possible attack?)

server overload for 4 hours (possible attack?) .
Clearing the Cloudflare cache completely fixes the issue. Any explanation as to why it was solved that way?