{"id":764,"date":"2017-04-02T00:20:12","date_gmt":"2017-04-01T21:20:12","guid":{"rendered":"https:\/\/www.linux-destek.com\/?p=764"},"modified":"2017-04-02T00:20:12","modified_gmt":"2017-04-01T21:20:12","slug":"plesk-onyx-php-fpm-limitlerini-arttirmak","status":"publish","type":"post","link":"https:\/\/www.48k.com.tr\/plesk-onyx-php-fpm-limitlerini-arttirmak\/","title":{"rendered":"Plesk Onyx php fpm limitlerini artt\u0131rmak"},"content":{"rendered":"
Bir websitenin fpm pool ayarlar\u0131nda kar\u015f\u0131n\u0131za \u00e7\u0131kabilecek birka\u00e7 method vard\u0131r.Bunlardan ondemand tipi en \u00e7ok \u00f6nerilen y\u00f6ntemdir.A\u015fa\u011f\u0131da bir websitenin nas\u0131l pool ayarlar\u0131n\u0131n yap\u0131laca\u011f\u0131n\u0131 g\u00f6receksiniz.<\/p>\n
\u00d6ncelikle<\/p>\n
\/opt\/plesk\/php\/5.6\/etc\/php-fpm.d\/alanadiniz.com.conf<\/p>\n
dosyas\u0131ndan bahsedelim.Bu hostinginize \u00f6zel fpm konfigurasyon dosyas\u0131d\u0131r.<\/p>\n
; By default use ondemand spawning (this requires php-fpm >= 5.3.9)
\npm = ondemand
\npm.max_children = 5
\npm.process_idle_timeout = 10s
\n; Following pm.* options are used only when ‘pm = dynamic’
\npm.start_servers = 1
\npm.min_spare_servers = 1
\npm.max_spare_servers = 1<\/p><\/blockquote>\nDeneme yapmak i\u00e7in bu dosyada de\u011fi\u015fiklik yapabilirsiniz.Ancak httpmng \u00e7al\u0131\u015ft\u0131rd\u0131\u011f\u0131n\u0131zda veya plesk hosting ayarlar\u0131ndan birini de\u011fi\u015ftirip ok butonuna t\u0131klad\u0131\u011f\u0131n\u0131z anda yapt\u0131\u011f\u0131n\u0131z de\u011fi\u015fikliklerin yok olaca\u011f\u0131n\u0131 unutmay\u0131n.Kal\u0131c\u0131 konfiguraston i\u00e7in zaten dosyan\u0131n en ba\u015f\u0131nda ne yapman\u0131z gerekti\u011fi yaz\u0131yor.<\/p>\n
; ATTENTION!
\n;
\n; DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
\n; SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.<\/p>\n; If you need to customize this file, use either custom PHP settings tab in
\n; Panel or override settings in \/var\/www\/vhosts\/system\/alanadiniz.com\/conf\/php.ini.
\n; To override pool configuration options, specify them in [php-fpm-pool-settings]\n; section of \/var\/www\/vhosts\/system\/alanadiniz.com\/conf\/php.ini file.<\/p>\nYapman\u0131z gereken<\/p>\n
\/var\/www\/vhosts\/system\/alanadiniz.com\/conf\/php.ini dosyas\u0131n\u0131 nano veya vi ile a\u00e7\u0131p en alta indikten sonra \u00f6rnek olarak;<\/p>\n
[php-fpm-pool-settings]\npm.max_children = 100<\/p><\/blockquote>\nyazmak olacakt\u0131r.Max children zaten ondemand methoduyla ilgili oldu\u011fundan dolay\u0131 di\u011fer parametreleri yazma gere\u011fi duymuyorum.Onlar zaten fpm conf dosyas\u0131nda var.Dosyay\u0131 kaydettikten sonra son olarak yap\u0131lan de\u011fi\u015fikli\u011fin uygulanmas\u0131n\u0131 sa\u011fl\u0131yorum.<\/p>\n
\/usr\/local\/psa\/bin\/php_settings -u<\/p><\/blockquote>\n
<\/p>\n
Hepsi bu kadar.\u0130laveten bu ayarlar cloudlinux ile gelen cagefs-lve i\u00e7in ge\u00e7erli de\u011fildir.Cloudlinux php-fpm yi an itibariyle hala desteklemiyor.<\/p>\n
E\u011fer whm\/cpanel kullan\u0131yorsan\u0131z web aray\u00fczden yap\u0131labiliyor.Plesk Onyx ‘de bunu web arabirimine ta\u015f\u0131yaca\u011f\u0131n\u0131 duyursa da hala b\u00f6yle bir kolayl\u0131k g\u00f6rememekteyiz.<\/p>\n","protected":false},"excerpt":{"rendered":"
Bir websitenin fpm pool ayarlar\u0131nda kar\u015f\u0131n\u0131za \u00e7\u0131kabilecek birka\u00e7 method vard\u0131r.Bunlardan ondemand tipi en \u00e7ok \u00f6nerilen y\u00f6ntemdir.A\u015fa\u011f\u0131da bir websitenin nas\u0131l pool ayarlar\u0131n\u0131n yap\u0131laca\u011f\u0131n\u0131 g\u00f6receksiniz. \u00d6ncelikle \/opt\/plesk\/php\/5.6\/etc\/php-fpm.d\/alanadiniz.com.conf dosyas\u0131ndan bahsedelim.Bu hostinginize \u00f6zel fpm konfigurasyon dosyas\u0131d\u0131r. ; By default use ondemand spawning (this requires php-fpm >= 5.3.9) pm = ondemand pm.max_children = 5 pm.process_idle_timeout = 10s ; Following pm.* […]<\/p>\n","protected":false},"author":1,"featured_media":730,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[499,449,574,615,356],"tags":[620,621,622,490,407,397,491,623],"class_list":["post-764","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-hosting","category-linux-sunucu-yonetimi","category-linux-web-hosting","category-linux-web-sunucu-problemleri-ve-cozumleri","category-plesk-kucuk-ipuclari","tag-fpm-limitlerini-arttirmak","tag-increasing-php-fpm-limits-in-commandline-plesk-onyx","tag-komut-satirindan-fpm-limitlerini-arttirmak","tag-odin","tag-php-fpm","tag-plesk","tag-plesk-12","tag-plesk-onyx"],"_links":{"self":[{"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/posts\/764"}],"collection":[{"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/comments?post=764"}],"version-history":[{"count":0,"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/posts\/764\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.48k.com.tr\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/media?parent=764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/categories?post=764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/tags?post=764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}