Hi all pleskers,
I have just migrated around 40 domains from my old VPS with Plesk 12.5 to another hosting provider with Plesk Onyx - Centos 7 64b + CloudLinux - with the same RAM (2GB).
From the first moment and during the testing phase, I noticed that the majority of the websites needed 20-30 seconds for the first load. After first load they load a few pages fast then occasionally they take again some time for further page loads.
When I switched DNS, 502 errors and other loading issues appeared for all the websites (except one). RAM and Swap consumption was high. Hosting provider said that my 2 GB are not enough - but all the sites are low traffic ones and they were able to run fast and with no issues for years in the old VPS.
So after switching, loading the sites (most of them Joomla ones) was a pain both front-end/back-end.
Still there was a site (relative heavy one) that had no problem to load - actually loading all the time faster than ever (faster than in the old VPS) and was still loading even when all others were reporting 502 errors or taking 20-30 seconds to load.
The VPS provider was slow to respond in my requests to investigate the issue - so I checked what could make the difference for this website. It was the only site that is using the handler OS Vendor php5.4 FPM server by Apache. I assigned more domains to this handler and guess what: No loading issues anymore instead websites are loading amazingly fast plus averaged RAM and SWAP consumption was dropping.
I reported my findings to the hosting provider and asked to create a similar configuration for the other php handlers, as I don't want to use php5.4. It is supposed to be a fully managed VPS with a very high reputable web host with great and fast support - but after 5 days the answer they managed to come with is that they played with the handlers by switching the sites and they find that indeed the sites perform better with FPM than Fast-CGI and that I should be using FPM handlers. They also said that it makes sense for the sites to load faster with php5.4 because it is older (??? like running an older OS on an old PC so it's faster ???) and that they simply leave default configurations for wider compatibility with web applications and that a developer is needed to adjust any configs.
Well not the level of answer that I was expecting...
Now I have switched most of the sites to php 7 with FPM, things look better but yet they are not as fast as when running under the said php5.4 handler, and still there pages -especially the system info page in the backend of Joomla that takes more than 30 seconds to load.
Anyhow, I have some basic experience with Plesk and Linux etc, I have root access and I am willing to try to find a solution myself - so to enjoy those speeds I see with that handler with all other handlers.
I am after any advises, guidance and suggestions.
I may have specific questions on the way ... but if someone could start by giving some general insights on the topic that would be great.
I have just migrated around 40 domains from my old VPS with Plesk 12.5 to another hosting provider with Plesk Onyx - Centos 7 64b + CloudLinux - with the same RAM (2GB).
From the first moment and during the testing phase, I noticed that the majority of the websites needed 20-30 seconds for the first load. After first load they load a few pages fast then occasionally they take again some time for further page loads.
When I switched DNS, 502 errors and other loading issues appeared for all the websites (except one). RAM and Swap consumption was high. Hosting provider said that my 2 GB are not enough - but all the sites are low traffic ones and they were able to run fast and with no issues for years in the old VPS.
So after switching, loading the sites (most of them Joomla ones) was a pain both front-end/back-end.
Still there was a site (relative heavy one) that had no problem to load - actually loading all the time faster than ever (faster than in the old VPS) and was still loading even when all others were reporting 502 errors or taking 20-30 seconds to load.
The VPS provider was slow to respond in my requests to investigate the issue - so I checked what could make the difference for this website. It was the only site that is using the handler OS Vendor php5.4 FPM server by Apache. I assigned more domains to this handler and guess what: No loading issues anymore instead websites are loading amazingly fast plus averaged RAM and SWAP consumption was dropping.
I reported my findings to the hosting provider and asked to create a similar configuration for the other php handlers, as I don't want to use php5.4. It is supposed to be a fully managed VPS with a very high reputable web host with great and fast support - but after 5 days the answer they managed to come with is that they played with the handlers by switching the sites and they find that indeed the sites perform better with FPM than Fast-CGI and that I should be using FPM handlers. They also said that it makes sense for the sites to load faster with php5.4 because it is older (??? like running an older OS on an old PC so it's faster ???) and that they simply leave default configurations for wider compatibility with web applications and that a developer is needed to adjust any configs.
Well not the level of answer that I was expecting...
Now I have switched most of the sites to php 7 with FPM, things look better but yet they are not as fast as when running under the said php5.4 handler, and still there pages -especially the system info page in the backend of Joomla that takes more than 30 seconds to load.
Anyhow, I have some basic experience with Plesk and Linux etc, I have root access and I am willing to try to find a solution myself - so to enjoy those speeds I see with that handler with all other handlers.
I am after any advises, guidance and suggestions.
I may have specific questions on the way ... but if someone could start by giving some general insights on the topic that would be great.