please don't suspend the account in case of accidental excessive memory and cpu usage, but please stop execution immediately and send 'Error 508 Resource Limit is Reached' to the client
You can find the new forum at https://www.helionet.org/
Posted 14 May 2021 - 10:20 AM
please don't suspend the account in case of accidental excessive memory and cpu usage, but please stop execution immediately and send 'Error 508 Resource Limit is Reached' to the client
Posted 14 May 2021 - 11:30 AM
This isn't really an option for us because (with exception to Wordpress) many times the load that gets people suspended isn't caused by excessive inbound traffic to an account. Very often it'll be caused by things like broken cron jobs, scripts stuck in infinite loops, or by poorly written continuously running programs (node.js, python discord bots, etc.), which more often than not don't have an incoming connection.
That said, you could definitely implement your own code that checks the server load and make your application refuse service with a 508 if you wish. This would be an effective way to help reduce your account's chance of suspension. If your app disables itself and doesn't produce any load beyond spitting out the error and exiting when the server gets busy, you'll lower your chances of suspension drastically (during high load, the server suspends accounts in order with the heaviest users first until load is acceptable again).
Please do not PM me for support. Posting on our forums lets all of us learn.
Do you play Minecraft? | Server Monitors | And the Dumbass of the Decade award goes to...
Posted 01 June 2021 - 03:29 AM
I'm using serverless php, how to make 'Error 508 Resource Limit is Reached' to the client, if the usage process almost exceeds the reasonable limit?
Posted 21 June 2021 - 09:17 AM
This isn't really an option for us because (with exception to Wordpress) many times the load that gets people suspended isn't caused by excessive inbound traffic to an account. Very often it'll be caused by things like broken cron jobs, scripts stuck in infinite loops, or by poorly written continuously running programs (node.js, python discord bots, etc.), which more often than not don't have an incoming connection.
That said, you could definitely implement your own code that checks the server load and make your application refuse service with a 508 if you wish. This would be an effective way to help reduce your account's chance of suspension. If your app disables itself and doesn't produce any load beyond spitting out the error and exiting when the server gets busy, you'll lower your chances of suspension drastically (during high load, the server suspends accounts in order with the heaviest users first until load is acceptable again).
Server load to be picked from http://heliohost.grd.net.pl/monitor/ ?
Please let me know how to check for server load caused by my website (individually or if not possible overall)
Posted 21 June 2021 - 02:03 PM
0 members, 0 guests, 0 anonymous users