A 524 timeout error occurred
We are facing a very strange problem on our server.
We use it to host our SCORMS and there are 65GB of files.
We do not use databases or emails within this server, just hosting these files that are opened by students to study every day.
It happens that after a certain time, the cloudflare error A Timeout occurred Error code 524 appears and no one can access the hosted content.
At the time of the problem, the machine's resources are always low, there is plenty of space on the SSD, the load is below 1.00 and there is around 90% free memory.
When we go to Apache Status we can see a huge queue of processes and the content can only be accessed after resetting Apache through the global Apache configuration.
If I reset Apache at least once a day, the problem doesn't happen.
Today exclusively the server load reached 1000% for the first time and dropped after I went to Apache Configuration > Global Configuration and clicked on Rebuild Configuration and restart Apache.
The strange thing is that at our biggest peak in access, the server resources are coping normally.
Does anyone know what can it be?
We use the domain on cloudflare too.
-
Hey there! It sounds like the server is an experiencing an attack of some sort. What happens if you run "apachectl status" during the time the issue happens? You will need to let the issue continue without restarting or rebuilding Apache, which will likely interrupt services for a bit, but it's the only way to get good details on what the problem may be.
Once you have that output you can use our guide at https://support.cpanel.net/hc/en-us/articles/360052040234-Understanding-the-Apache-scoreboard to find out how to interpret that data.
You may also want to check the main Apache log at /etc/apache2/logs/error_log for more data while the problem happens.
0 -
Hi cPRex, they currently look like this:
KK_KKKKKKKKKK_KKKK_KKK_KKKK.K._K.KK.C__K.KKK_K___KK_K_K___K__K_K .K_KKKKKKKKK_KKKKK_KKK._K.KKK.KK_KW_KK_KKKKKKKKKKKK__K_K...KK.K. ..KK..KK..KKKKK..K_.._K_...KKKKKK_...K..KK__.K._.._KKK.K..K._K._ ._...K._....K....._.K....._...K....K............................ K......................................K.....................KK. ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ...................
0 -
Just above that area there would be a "Server uptime" section and a "Total accesses" section - does the amount of traffic shown there seem reasonable when considering how long the server has been online?
It might be a good idea to check the Apache log around the time when this issue happens (/etc/apache2/logs/error_log) to see if there are more details there, because the scoreboard output itself seems fine to me, even if that is all keepalive connections.
0
Please sign in to leave a comment.
Comments
3 comments