{"id":976,"date":"2022-09-09T17:07:09","date_gmt":"2022-09-09T17:07:09","guid":{"rendered":"https:\/\/sunucucozumleri.com\/?p=976"},"modified":"2022-10-09T19:12:30","modified_gmt":"2022-10-09T19:12:30","slug":"mod_fcgid-cant-apply-process-slot-for-var-www-cgi-bin-cgi_wrapper-cgi_wrapper-hatasinin-cozumu","status":"publish","type":"post","link":"https:\/\/sunucucozumleri.com\/blog\/mod_fcgid-cant-apply-process-slot-for-var-www-cgi-bin-cgi_wrapper-cgi_wrapper-hatasinin-cozumu\/","title":{"rendered":"mod_fcgid: can&#8217;t apply process slot for \/var\/www\/cgi-bin\/cgi_wrapper\/cgi_wrapper hatas\u0131n\u0131n \u00e7\u00f6z\u00fcm\u00fc"},"content":{"rendered":"<p>Merhabalar,<br \/>\n<strong>mod_fcgid: can&#8217;t apply process slot for \/var\/www\/cgi-bin\/cgi_wrapper\/cgi_wrapper<\/strong>\u00a0hatas\u0131 plesk panel kullan\u0131c\u0131lar\u0131n\u0131n genellikle s\u0131kl\u0131kla kar\u015f\u0131la\u015fm\u0131\u015f oldu\u011fu bir uyar\u0131 olarak kar\u015f\u0131m\u0131za \u00e7\u0131kmaktad\u0131r.<\/p>\n<p>\u0130lgili hatay\u0131 alman\u0131z\u0131n ba\u015fl\u0131ca sebepleri a\u015fa\u011f\u0131daki gibi olabilir.<\/p>\n<p>1- Yaz\u0131l\u0131msal Hatalar<br \/>\n2- Sunucunuz art\u0131k ihtiyac\u0131n\u0131za yeterli gelmeyebilir.<br \/>\n3-\u00a0FcgidMaxRequestsPerProcess veya FcgidBusyTimeout de\u011ferleri sunucunuza g\u00f6re \u00e7ok d\u00fc\u015f\u00fck ayarlanm\u0131\u015f olabilir.<br \/>\n4- DDOS atak al\u0131yor olabilirsiniz.<\/p>\n<p>\u00c7\u00f6z\u00fcm<br \/>\n3. ihtimalimiz olan FcgidMaxRequestsPerProcess ve FcgidBusyTimeout\u00a0\u00a0de\u011ferlerini art\u0131ral\u0131m.<\/p>\n<pre>nano -w \/etc\/httpd\/conf.d\/fcgid.conf\r\n<\/pre>\n<p>\/usr\/local\/psa\/admin\/bin\/httpdmng \u2013reconfigure-domain alanadiniz.com<\/p>\n<p>\u0130lgili de\u011ferleri art\u0131rd\u0131ktan sonra,<\/p>\n<pre>service apache2 <a href=\"https:\/\/sunucucozumleri.com\/blog\/reboot-ve-restart-arasindaki-farklar-nedir\/\">restart<\/a>\r\nservice httpd restart\r\n<\/pre>\n<p>komutlar\u0131yla apache servisini yeniden ba\u015flatal\u0131m.<\/p>\n<p>4.\u00a0<strong>DDOS atak tespiti i\u00e7in<\/strong><\/p>\n<pre>tail -n 10000 \/var\/www\/vhosts\/sunucucozumleri.com\/statistics\/logs\/access_log |cut -f 1 -d ' '|sort|uniq -c|sort -nr|more\r\n<\/pre>\n<p>Yukar\u0131da \u00e7al\u0131\u015ft\u0131rd\u0131\u011f\u0131m\u0131z komuttan \u00f6rnek \u00e7\u0131kt\u0131 a\u015fa\u011f\u0131daki gibi olacakt\u0131r.<\/p>\n<pre>6533 xxx.xxx.xxx.xxx \r\n2832 xxx.x.x.x.x\r\n95 x.x.x.x\r\n72 x.x.xx.xxx\r\n<\/pre>\n<p>En \u00e7ok ba\u011flant\u0131 sa\u011flayan IP adreslerini engelleyebilirsiniz.<\/p>\n<p>E\u011fer WordPress kullan\u0131yorsan\u0131z ekstra olarak a\u015fa\u011f\u0131daki konuya da g\u00f6z atabilirsiniz.<\/p>\n<p><a href=\"https:\/\/sunucucozumleri.com\/knowledgebase\/12\/Wordpress-Kaynak-Tuketimini-Duurelim---Fix-High-CPU-Load-In-WordPress.html\" target=\"_blank\" rel=\"noopener\"><strong>WordPress Kaynak T\u00fcketimi D\u00fc\u015f\u00fcrme<\/strong><\/a><br \/>\nWordpress \u0130\u00e7in ek olarak a\u015fa\u011f\u0131daki i\u015flemler de yap\u0131labilir ve s\u00fcre\u00e7 g\u00f6zlemlenebilir.<br \/>\n1 &#8211; wp-includes\/cron.php dosyas\u0131n\u0131 d\u00fczenlemek<\/p>\n<pre>spawn_cron( $local_time );\r\n<\/pre>\n<p>Sat\u0131r\u0131n\u0131<\/p>\n<pre>\/\/ spawn_cron( $local_time );\r\n<\/pre>\n<p>\u015feklinde g\u00fcncelleyebiliriz.<\/p>\n<pre>if ( strpos($_SERVER['REQUEST_URI'], \u2018\/wp-cron.php\u2019) !== false || ( defined(\u2018DISABLE_WP_CRON\u2019) &amp;&amp; DISABLE_WP_CRON ) ) \r\n<\/pre>\n<pre>if ( strpos($_SERVER['REQUEST_URI'], \u2018\/wp-cron.php\u2019) === false || ( defined(\u2018DISABLE_WP_CRON\u2019) &amp;&amp; DISABLE_WP_CRON ) )\r\n<\/pre>\n<p>\u015feklinde g\u00fcncelleyebiliriz.<br \/>\n2 &#8211; WordPress ana dizininde bulunan wp-config.php dosyas\u0131na<\/p>\n<pre>('DISABLE_WP_CRON',true);\r\n<\/pre>\n<p>komutunu eklememiz gerekmektedir.<\/p>\n<p>Bol trafikler.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Merhabalar, mod_fcgid: can&#8217;t apply process slot for \/var\/www\/cgi-bin\/cgi_wrapper\/cgi_wrapper\u00a0hatas\u0131 plesk panel kullan\u0131c\u0131lar\u0131n\u0131n genellikle s\u0131kl\u0131kla kar\u015f\u0131la\u015fm\u0131\u015f oldu\u011fu bir uyar\u0131 olarak kar\u015f\u0131m\u0131za \u00e7\u0131kmaktad\u0131r. \u0130lgili hatay\u0131 alman\u0131z\u0131n ba\u015fl\u0131ca sebepleri a\u015fa\u011f\u0131daki gibi olabilir. 1- Yaz\u0131l\u0131msal Hatalar 2- Sunucunuz art\u0131k ihtiyac\u0131n\u0131za yeterli gelmeyebilir. 3-\u00a0FcgidMaxRequestsPerProcess veya FcgidBusyTimeout de\u011ferleri sunucunuza g\u00f6re \u00e7ok d\u00fc\u015f\u00fck ayarlanm\u0131\u015f olabilir. 4- DDOS atak al\u0131yor olabilirsiniz. \u00c7\u00f6z\u00fcm 3. ihtimalimiz &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1456,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-976","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"acf":[],"_links":{"self":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts\/976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/comments?post=976"}],"version-history":[{"count":0,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts\/976\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/media\/1456"}],"wp:attachment":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/media?parent=976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/categories?post=976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/tags?post=976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}