I am in the process of slowly setting up a replacement cPanel/WHM server to move all of hosting to from a server that was compromised last month. Every time i get close to prime time for the full migration another test seems to fail. This time we deployed a brand new WordPress site to the new server rather than deploying it on our old server, and immediately we had problems. The first ~30% of the front page's source code loads, and then it hangs for 5 minutes before finishing.
In my testing I found that there was a locally hosted video file embedded on the front page and it took roughly 5 minutes to download. Sure enough, removing the embed causes the site to load nearly instantly.
In the interim we loaded this site on the old cPanel server as the customer was hot to have it up. It works flawlessly as expected on there, video embed and all.
So I started poking around with firefox dev tools and recording performance and network requests, but nothing seems out of the ordinary and I don't see any sort of error listed. After more testing, it seems like up until i request a page with the video embedded, the site works fine. I can load up a few tabs and it all works. As soon as that video file is requested, ALL requests to that domain are hung up and waiting on the video to finish downloading. All subsequent tabs, etc. If I go over to another machine while the first machine is still loading the site it seems to work ok until once again I request a page with the embedded video. So it seems that per client, everything works until the video file is requested and then suddenly all requests for that client are somehow queued up behind the video.
I have no idea what I may have done to cause this behavior, and it just seems highly bizarre, but I would really like to get it sorted out as we really need to get off that old server as soon as possible.
In my testing I found that there was a locally hosted video file embedded on the front page and it took roughly 5 minutes to download. Sure enough, removing the embed causes the site to load nearly instantly.
In the interim we loaded this site on the old cPanel server as the customer was hot to have it up. It works flawlessly as expected on there, video embed and all.
So I started poking around with firefox dev tools and recording performance and network requests, but nothing seems out of the ordinary and I don't see any sort of error listed. After more testing, it seems like up until i request a page with the video embedded, the site works fine. I can load up a few tabs and it all works. As soon as that video file is requested, ALL requests to that domain are hung up and waiting on the video to finish downloading. All subsequent tabs, etc. If I go over to another machine while the first machine is still loading the site it seems to work ok until once again I request a page with the embedded video. So it seems that per client, everything works until the video file is requested and then suddenly all requests for that client are somehow queued up behind the video.
I have no idea what I may have done to cause this behavior, and it just seems highly bizarre, but I would really like to get it sorted out as we really need to get off that old server as soon as possible.
Last edited by a moderator: