We have an Apache webserver running Perl + Template Toolkit and a MySQL database for user access on a VM running Windows 2012 R2.
We have recently made some tweaks to the Perl code, nothing big, just a few edits and extra templates and some design changes (CSS etc). this was tested for several months on an identical dev server and we didn't see any issues.
We went live with the changes and everything was fine for about a week but now we are seeing an odd issue where the site hangs when navigating between pages then works fine for a bit and then hangs again. No pattern to this at all. Sometimes its fine for a few minutes, other times its seconds before it hangs again.
CPU usage is about 15%, Ram is at 80% but always as been as we only have 2GB on here. Neither of them peak or change when the browser hangs.
The issue we are seeing is if we browse the website using the local IP then we see this issue.
If we browse the site using localhost in the same browser (different tab) we never see this issue.
So we can be sat with the site hanging on the IP tab but still able to browse about in the other tab on localhost.
Our db is tiny (only about 200 users, the site isn't hugely busy and nothing else has changed.
Before we go rolling the system back, should we be looking anywhere in particular that could cause this disparity between browsing using the local IP and localhost?
Reset the IP stack, reinstalled VMtool drivers and reset up the interface.
Disabled anti virus, checked all over for issues.
We have stopped Apache and replaced our code with the original files and it was fine. No hangs. So we put the new files back in place and it is still working ok.
Seems the restart of Apache has cleared the issue for now but we expect it to come back at some stage. Will continue to test.