kbp2025 Posted yesterday at 06:03 PM Posted yesterday at 06:03 PM When I load my websites which are hosted on my vps. They shows 504 (Gateway time-out) errors many times and after some time it's getting normal and it shows website perfectly. Fix this please ! Quote
wolstech Posted yesterday at 06:08 PM Posted yesterday at 06:08 PM VPS admin would need to check on this for you. 1 Quote
Krydos Posted yesterday at 06:50 PM Posted yesterday at 06:50 PM I took a look at your VPS, and it is indeed very slow. This is because MariaDB and PHP-8.3 are using all your memory, and your load is very high. Between MariaDB and PHP-8.3 they are using 3081 MB of memory and your VPS only has 2048 MB memory, and the OS and everything else needs to have some memory to operate too. When I checked you only have 300 MB free, and 1.4 GB is swapped. You should aim to have only 0-50 MB swapped, and definitely more free memory than only 300 MB. Here are some options to increase the speed of your VPS: I would recommend increasing your memory to 3 GB or 4 GB at https://heliohost.org/dashboard/upgrade/ You could modify the MariaDB config to use less memory if you don't want to upgrade the memory. You could modify the PHP-8.3 config to use less memory and/or have less FPM workers if you don't want to upgrade the memory. In order to free up some memory for you, I restarted MariaDB, but it will likely just swell back up to the same memory usage as before unless you modify the MariaDB config as I suggested in option 2. 1 Quote
kbp2025 Posted yesterday at 07:02 PM Author Posted yesterday at 07:02 PM 10 minutes ago, Krydos said: I took a look at your VPS, and it is indeed very slow. This is because MariaDB and PHP-8.3 are using all your memory, and your load is very high. Between MariaDB and PHP-8.3 they are using 3081 MB of memory and your VPS only has 2048 MB memory, and the OS and everything else needs to have some memory to operate too. When I checked you only have 300 MB free, and 1.4 GB is swapped. You should aim to have only 0-50 MB swapped, and definitely more free memory than only 300 MB. Here are some options to increase the speed of your VPS: I would recommend increasing your memory to 3 GB or 4 GB at https://heliohost.org/dashboard/upgrade/ You could modify the MariaDB config to use less memory if you don't want to upgrade the memory. You could modify the PHP-8.3 config to use less memory and/or have less FPM workers if you don't want to upgrade the memory. In order to free up some memory for you, I restarted MariaDB, but it will likely just swell back up to the same memory usage as before unless you modify the MariaDB config as I suggested in option 2. Yeah. Give option 2 and also option 3 for better perform. Can you do it for me please. Quote
kbp2025 Posted 15 hours ago Author Posted 15 hours ago 6 hours ago, Krydos said: Is the VPS running faster now? Now it's good Quote
MoneyBroz Posted 14 hours ago Posted 14 hours ago Glad it's working for you now, marking as solved. 1 Quote
kbp2025 Posted 2 hours ago Author Posted 2 hours ago I still get this error. Please fix it permanently. Quote
Krydos Posted 2 hours ago Posted 2 hours ago A few things I wanted to note: 99% of your load is coming from the one Wordpress site travel-lk.com. I would recommend switching to another software other than Wordpress if you want better performance for the whole VPS. If you refuse to get rid of Wordpress, you really should add some more memory. Decreasing the resources MariaDB and PHP 8.3 are allowed to use helps keep the system from swapping, which increases the speed, but in order to get truly fast speed you should still increase the memory. Your system is still pretty swapped. Over 1000 MB in swap right now, but it's mostly spamd processes, named, etc. which you probably aren't even using anyways. Just like in point 1 and 2 you really should increase the memory until your system doesn't need to swap at all. Quote
kbp2025 Posted 2 hours ago Author Posted 2 hours ago 25 minutes ago, Krydos said: A few things I wanted to note: 99% of your load is coming from the one Wordpress site travel-lk.com. I would recommend switching to another software other than Wordpress if you want better performance for the whole VPS. If you refuse to get rid of Wordpress, you really should add some more memory. Decreasing the resources MariaDB and PHP 8.3 are allowed to use helps keep the system from swapping, which increases the speed, but in order to get truly fast speed you should still increase the memory. Your system is still pretty swapped. Over 1000 MB in swap right now, but it's mostly spamd processes, named, etc. which you probably aren't even using anyways. Just like in point 1 and 2 you really should increase the memory until your system doesn't need to swap at all. Shut travel-lk then. I don't need it. The customer has abandoned it. But others I want as they are. Quote
wolstech Posted 1 hour ago Posted 1 hour ago (edited) I'll have Krydos take another look, but considering what was posted in your last topic and the fact the issue returned, it sounds like what you're running might just be too heavy. I'm not sure if there's further reduction possible or not. If not, the permanent fix may require buying an upgrade. I'm not sure if a trial would be possible for the upgrade to see if it would actually fix the issue before buying it. Escalating again to see if any further improvement can be made. Edited 1 hour ago by wolstech Clarify 1 Quote
Krydos Posted 1 hour ago Posted 1 hour ago 29 minutes ago, kbp2025 said: Shut travel-lk then. I don't need it. You can remove it yourself. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.