After my server has been moved to the new location/hardware it is extremely slow with Perl scripts. My entire server is depends on a few Perl scripts. They are small and quite fast. They do not use any database. But for the last two weeks the performance is seriously degraded. It takes ages for the scripts to get back with a page. All static HTML pages are fine and appears quite fast, but not my Perl scripts. And that doesn't matter what Internet service provider I'm using. I've got the same issue from multiple ISP's in my city. Even a simple script which just prints "TEST" on the screen requires 30 - 40 SECONDS to finish running.
And the script contains only the following code:
print "Content-type: text/html", "\n\n";
And that requires 30-40 seconds to run!!!
Any idea how that can be fixed?