503 Error: How to Handle Exceeding Server Limits
A 503 error is a server issue that occurs when you attempt to use more resources than allowed on the server.
On your web hosting, various limits are set for how long your scripts can run or the maximum file size you can upload. At Nordicway, these limits are set considerably higher than usual, and most users should not experience problems when uploading files or running heavy scripts.
If you encounter this error, it's likely due to attempting to upload a very large file that requires a script to process its data. The first thing to consider is whether you can split the file. By dividing the file, it becomes smaller and less complex. This might help you stay within the limits when running your script or uploading.
You can test if the error is caused by the file size by reducing the file to a minimum and checking if it goes through without errors. If it does, your original file is likely too large.
If dividing your file or increasing your server's limits doesn't help, you have the option to raise the limits on your web hosting. This can be done via your PHP .ini file, which you can edit at Nordicway.
However, editing this file is not entirely risk-free. We recommend contacting us before making any changes.
You can edit the php .ini file by going to cPanel and selecting 'MultiPHP INI Editor.' Here, you can modify parameters such as:
- max_execution_time
- max_input_time
- max_input_vars
- memory_limit
- post_max_size
- upload_max_filesize
If you still experience 503 errors after increasing your server's limits and/or splitting your file, consider reaching out to a web developer or using our expert help feature to find a solution.