kbp2025 Posted 12 hours ago Posted 12 hours ago 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 12 hours ago Posted 12 hours ago VPS admin would need to check on this for you. 1 Quote
Krydos Posted 11 hours ago Posted 11 hours ago 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 11 hours ago Author Posted 11 hours ago 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 2 hours ago Author Posted 2 hours ago 6 hours ago, Krydos said: Is the VPS running faster now? Now it's good Quote
MoneyBroz Posted 1 hour ago Posted 1 hour ago Glad it's working for you now, marking as solved. 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.