• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Apache2 + FastCGI initial request slow

ilijamt

Basic Pleskian
If I open any page the first execution is longer, I test like so.

Code:
time curl http://marimatoska.com
real    0m4.861s
user    0m0.004s
sys    0m0.004s

But on the next request it is

Code:
time curl http://marimatoska.com
real    0m1.682s
user    0m0.000s
sys    0m0.008s

After 20 seconds or so it's slow again, after the KeepAlive times out.

On a fresh installation of Plesk, after a backup restore.

Code:
Product version: 12.0.18 Update #51
    Update date: 2015/06/18 17:01
     Build date: 2015/01/26 15:00
   Build target: Debian 7.0
       Revision: 333059
   Architecture: 64-bit
Wrapper version: 1.1

I've learned one thing, the Plesk backup sucks, after restore nothing works as it should work.

Not even a response for any of the issues I've had from the Plesk guys.
 
Hmm... I don't understand how backup/restore is connected here, but anyway a lot of different reasons of this behaviour may be here - from hardware problems to some specific nginx/apache settings.
Deep investigation and troubleshooting directly on server is required. As possible scenario - try to switch site to nginx + php-fpm.
 
Same machine, same hardware, same configuration, just full system restore from backup.

The system was installed from the same image as the first install, so it can't be the OS.

This wasn't present before, the time to first byte, was always less then a second, now first request averages 5 seconds.

I wasn't using PHP+nginx before.

I tried also to use PHP+nginx it reduces the time to 2-3 seconds instead of 5. But before restoring from backup the response on the same site was less then a second.

And before you say bandwith, i tried it from the system itself so there couldnt be bandwith issues.

The hardware was tested and it is writing properly, so the only conclusion is something was not setup properly after the restore.
 
Also one additional fact, if I install plesk using the same image, and then create the domain from the GUI, and then setup the database and copy the files over, then it works like before.
But if I do this on a system where I restored a full backup same problem again.

Also this issue is also gone if I don't do a full system backup restore.

http://talk.plesk.com/threads/changing-php-handler-doesnt-work-from-gui.333351/

So how can this stuff works on a clean install, but then suddenly after a restore it doesn't, something must mess up the configuration.
 
I can only recommend to create a request to support team to do in-depth investigation to find the reason and to fix it. Please create a ticket to support at https://www.odin.com/support/request/ .
You may have free support, please check what kind of Plesk license you use for available support options at http://kb.odin.com/en/121580 .
If there’s no free support in your case, you can order Plesk per-incident support at http://www.odin.com/support/buy-support/ Support team will contact you as soon as purchase is processed, and they will do the best to resolve it.
If it is found that your problem was caused by product bug w/o available solution or workaround from Parallels, then your purchase will be re-funded.
 
Back
Top