• 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.

Resolved fpm buffer settings and proxy buffer

Servus

Basic Pleskian
Hello!
Sorry I edited this thread full. I'm new at nginx and I read that some plesk user paste this in additional nginx directives in domain apache+nginx settings.
I do not know muc about FPM settings at all. All the time with apache and nginx together I had no problems with it but very often slow browsing, special with images. (by only 100 visitors).
Could you please help finding the correct fpm settings serverwide for all domains if it's possible. My server is Ubuntu 16.04 with 16g ram. I use now only nginx with php 7.1.8. and disabled apache for each domain and also in service plan settings. I know it is less but I want to make it possible for 1000-2000 visitors at maximum prime time. Only make it possible.
Code:
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
location ~ .php$ {
 fastcgi_buffer_size 128k;
 fastcgi_buffers 4 256k;
 fastcgi_busy_buffers_size 256k;
}
Thanks in advice
 
Last edited:
Hi Servus,

if you desire to tweak your nginx with the additional settings serverwide, pls. leave out the
Code:
location ~ .php$ {
}
( ... as "location - definitions" are not allowed inside the "nginx.conf" ! ) - part and insert into your "/etc/nginx/nginx.conf":
Code:
        proxy_buffer_size   128k;
        proxy_buffers   4 256k;
        proxy_busy_buffers_size   256k;
... into the "http" - section.​

If you furthermore desire to insert additional "PHP-FPM" - settings, pls. do this over the "Additional nginx directives" at your domain specific "Apache and nginx Settings":
Code:
location ~ .php$ {

    fastcgi_buffer_size 128k;
    fastcgi_buffers 4 256k;
    fastcgi_busy_buffers_size 256k;
    fastcgi_temp_file_write_size 256k;
    
}
 
Feel good to know this. That is very important for me. Thank you very much. Thumby up :)
Hope the values are correct. I looked in very much support articles of plesk and take this ones which look all right for my server.
You added fast_cgi_file_write_size
therefor I hope you saw these all values and accept them as correct in normal installations.
Thanks your ver ymuch for it;)
 
Back
Top