<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Nginx Forum - Php-fpm Mailing List - English</title>
<description>Entries to and from php-fpm English mailing list</description><link>http://forum.nginx.org/list.php?3</link><lastBuildDate>Wed, 22 May 2013 03:59:16 -0400</lastBuildDate>
<generator>Phorum 5.2.16</generator>
<item>
<guid>http://forum.nginx.org/read.php?3,239325,239325#msg-239325</guid>
<title>ERROR: failed to ptrace(PT_IO) pid 81718: Bad address (14) (no replies)</title><link>http://forum.nginx.org/read.php?3,239325,239325#msg-239325</link><description><![CDATA[Hi all!<br />I don't know from where that error comes, but I've a lot of &quot;ERROR: failed to ptrace(PT_IO) pid 81718: Bad address (14)&quot; in my php-fpm-error.log<br /><br />Any ideas?<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>RedFoxy</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Sun, 19 May 2013 09:18:00 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,239319,239319#msg-239319</guid>
<title>PHP-FPM exited on signal 10 (SIGBUS)? (2 replies)</title><link>http://forum.nginx.org/read.php?3,239319,239319#msg-239319</link><description><![CDATA[Hello!<br />I'm tring to install again openx after the free service of openx.com clese… But I've some strange trouble, after the installation on a regular server with FreeBSD 9.1 + Nginx 1.4.1 + PHP 5.3.24, an online server that I use for some website like www.softairmania.it, www.redfoxy.it and other, i've a strange trouble, when I try to add a new zone I get a 502 bad gateway error…<br />Reading the Nginx error log I see:<br />2013/05/18 19:30:25 [error] 80541#0: *8500 upstream prematurely closed connection while reading response header from upstream, client: 87.10.110.222, server: samspot.softairmania.it, request: &quot;GET /www/admin/zone-edit.php?affiliateid=1 HTTP/1.1&quot;, upstream: &quot;fastcgi://unix:/home/serverweb/tmp/php-fpm.sock:&quot;, host: &quot;samspot.softairmania.it&quot;, referrer: &quot;http://samspot.softairmania.it/www/admin/affiliate-zones.php&quot;<br /><br />And in the php-fpm error log (in debug mode) I read:<br />[18-May-2013 19:30:25.116401] DEBUG: pid 80481, fpm_got_signal(), line 72: received SIGCHLD<br />[18-May-2013 19:30:25.116452] WARNING: pid 80481, fpm_children_bury(), line 252: [pool www] child 80483 exited on signal 10 (SIGBUS) after 918.184752 seconds from start<br />[18-May-2013 19:30:25.117784] NOTICE: pid 80481, fpm_children_make(), line 421: [pool www] child 80857 started<br />[18-May-2013 19:30:25.117824] DEBUG: pid 80481, fpm_event_loop(), line 411: event module triggered 1 events<br /><br />my php-fpm.conf is: http://pastebin.com/ADnfNXxb<br />and my php.ini: http://pastebin.com/LvedL8hk<br />and my php extension: http://pastebin.com/pJdECN0B<br /><br />thank's for all<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>RedFoxy</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Sun, 19 May 2013 09:16:00 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,239119,239119#msg-239119</guid>
<title>FastCGI - implementation (no replies)</title><link>http://forum.nginx.org/read.php?3,239119,239119#msg-239119</link><description><![CDATA[PHP-FPM is an externally spawned FastCGI-aware process.<br /><br />Over one fastCGI transport connection PHP-FPM can handle multiple<br />concurrent requests.<br />Web server does not have to spawn new processes with PHP FCGI, PHP-FPM will<br />spawn and control if necessary.<br /><br /><br />Going into details ....<br /><br />Using FastCGI on *nix platform ones can handle concurrent requests that way:<br /><br />socket() / bind() / listen()<br /><br />// BEGIN thread 1<br />accept()<br />// END thread 1<br /><br />// BEGIN thread 2<br />accept()<br />// END thread 2<br /><br /><br />I'm wondering is it possible, on windows platform, to handle multiple<br />concurrent fastcgi requests with only one process and multiple threads in<br />it (or with one management process and multiple spawned children) ?<br /><br />Can FastCGI module for IIS handle fastCGI application that way ?<br />Let's focus on pipes and leave tcp kind of sockets for a moment...<br /><br /><br />Does anyone can point me in to the right direction.<br /><br />Is it possible on Windows (without Cygwin, etc...) at all ?<br /><br />I don't want to investigate if it's possible with PHP-FPM but if it's<br />possible at all.<br /><br />Any help appreciated.<br /><br />/Adam<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>Anonymous User</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Mon, 13 May 2013 07:20:02 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,239054,239054#msg-239054</guid>
<title>PHP-FPM documentation (no replies)</title><link>http://forum.nginx.org/read.php?3,239054,239054#msg-239054</link><description><![CDATA[Hello all,<br />dou<br />Does anybody have a documentation which describes PHP-FPM software<br />architecture?<br /><br />I have some doubts regarding pools and master process interactions.<br /><br />Regards.<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>Renzo Racioppi</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Thu, 09 May 2013 13:48:02 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,239053,239053#msg-239053</guid>
<title>PHP-FPM documentation (3 replies)</title><link>http://forum.nginx.org/read.php?3,239053,239053#msg-239053</link><description><![CDATA[Hello all, does anybody have a documentation which describes PHP-FPM<br />software architecture?<br /><br />I have some doubts concerning pools and master process interactions...<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>Renzo Racioppi</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Tue, 14 May 2013 06:08:01 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,238828,238828#msg-238828</guid>
<title>apache+php-fpm and security in shared enviroment compared to apache+suexec+mod_fastcgi (4 replies)</title><link>http://forum.nginx.org/read.php?3,238828,238828#msg-238828</link><description><![CDATA[I've been using apache with suexec and mod_fcgid. It starts php handlers as<br />selected system user and listen to request via PIPES (fastcgi protocol). It<br />works well but can't share opcode between many handlers.<br />I've been investigating php-fpm aproach. What I can see is that in only<br />runs as tcp fastcgi server (like 127.0.0.1:9999) (under selected system<br />user) and apache has to conenct to it using FastCGIExternalServer or<br />fastcgi proxy mod. What the hell will stop other local users from<br />connecting to 127.0.0.1:9999 and passing their own code to handler that is<br />running as other system user? That seems totaly not secure in shared<br />enviroment. Am I missing something or what?<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>Anonymous User</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Tue, 07 May 2013 10:11:50 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,238704,238704#msg-238704</guid>
<title>php-fpm workers eating lots of memory even on zero traffic (1 reply)</title><link>http://forum.nginx.org/read.php?3,238704,238704#msg-238704</link><description><![CDATA[Hello, my php-fpm workers are taking large amount of memory even if there<br />has been zero traffic on server for some time. What is this memory? Is it<br />leaked memory or is it some sort of php cache (I use just APC cache which<br />should be in a shared memory somewhere though)? Or is it normal behaviour<br />of php-fpm that it does not realease memory?<br /><br />A defailed report with my config is here:<br />http://serverfault.com/questions/503185/php-fpm-workers-eating-lots-of-memory-even-on-zero-traffic<br /><br />Any help greatly appreciated!<br />clime<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>Michal Novotný</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Mon, 29 Apr 2013 23:22:56 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,238394,238394#msg-238394</guid>
<title>PHP5-FPM not producing an errors on startup (no replies)</title><link>http://forum.nginx.org/read.php?3,238394,238394#msg-238394</link><description><![CDATA[So I'm just setting up nginx and php5-fpm on my VPS, having moved over from Apache. I'm running Debian Squeeze, with the latest PHP from the dotdeb.org repo (that means PHP 5.4.13-1~dotdeb.1).<br /><br />I am having trouble getting php5-fpm going. When run /etc/init.d/php5-fpm start, I don't get any confirmation, nor any error signals. Same for running /etc/init.d/php5-fpm stop. If I pass it the status arg, it returns php5-fpm is not running ... failed!<br /><br />Now I can't see any errors in any log, so I'm at a losss as to how to even start to debug the error.<br /><br />Has anyone experience similar problems, or knows what I should do next?<br /><br />Many thanks!]]></description>
<dc:creator>txsl</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Mon, 15 Apr 2013 21:56:56 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,238304,238304#msg-238304</guid>
<title>PHP Sessions not &quot;saving&quot; / &quot;working&quot; (no replies)</title><link>http://forum.nginx.org/read.php?3,238304,238304#msg-238304</link><description><![CDATA[Hi all,<br /><br />I am running nginx and php-fpm on Centos 6.3.<br /><br />I am noticing a strange behaviour where php sessions are not working. To troubleshoot it, I did the basics:<br /><br />1. Made sure php-fpm was using the /tmp directory<br />2. chmod 777 /tmp<br />3. Set php-fpm to use the same user as nginx.<br /><br />None of this helped, so then I created a simple PHP file to help diagnose: sessiontest.php<br /><br />&lt;?php<br />session_start();<br />$_SESSION[&quot;count&quot;]++;<br />print_r($_SESSION);<br />echo session_id();<br />?&gt;<br /><br />When I run this file, in theory, the value should increase by 1 every single time. However, it does not.<br /><br />Does anybody have any suggestions?]]></description>
<dc:creator>binbash</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Thu, 11 Apr 2013 20:58:27 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,237995,237995#msg-237995</guid>
<title>PHP5-FPM + Litespeed? (no replies)</title><link>http://forum.nginx.org/read.php?3,237995,237995#msg-237995</link><description><![CDATA[Hello there,<br />anyone have by a chance tried to setup Litespeed with its &quot;External App&quot;<br />&quot;Fast CGI App&quot; along with remote PHP-FPM ?<br />If so - would it pass -user -group to php-fpm like the old mod_fastcgi did?<br /><br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>Luck Piecuch</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Mon, 01 Apr 2013 03:34:00 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,237594,237594#msg-237594</guid>
<title>Please tell me how can I configure php-fpm on dedicate server. (no replies)</title><link>http://forum.nginx.org/read.php?3,237594,237594#msg-237594</link><description><![CDATA[Please tell me how can I configure php-fpm on dedicate server.<br />I am looking for php-fpm and nginx settings.<br /><br /><br />I have 3 raspberry pi small servers with 512MB and 8GB usb sticks.<br />I wish to install nginx on one.<br />I wish to install php, php-fpm and php modules stuff on second.<br />Last one with mysql server only.<br /><br />Best regards<br />Antonio Apostoliu.<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>Anonymous User</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Wed, 20 Mar 2013 08:00:00 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,237593,237593#msg-237593</guid>
<title>Environment variables, php-fpm &amp; Nginx (no replies)</title><link>http://forum.nginx.org/read.php?3,237593,237593#msg-237593</link><description><![CDATA[I have an ubuntu server with a handful of custom environment set in<br />/etc/environment as per the ubuntu community recommendation&lt;https://help.ubuntu.com/community/EnvironmentVariables#System-wide_environment_variables&gt;<br /><br />When I use php from the command line I can use php's getenv() function to<br />access this variables.<br /><br />Also, if I run phpinfo() from the command line I see all of my variables in<br />the ENVIRONMENT section.<br /><br />HOWEVER:<br /><br />When trying to access the same data inside processes being run by php5-fpm<br />this data is not available. All I can see in the ENVIRONMENT section of<br />phpinfo() is:<br /><br />USER www-data<br />HOME /var/www<br /><br />I know the command line uses this ini:<br /><br />/etc/php5/cli/php.ini<br /><br />And fpm uses:<br /><br />/etc/php5/fpm/php.ini<br /><br />I've not managed to find any differences between the two that would explain<br />why the ENV variables are not coming through in both.<br /><br />Also if I run:<br /><br />sudo su www-data<br /><br />and then echo the environment variables I am expecting they are indeed<br />available to the www-data user.<br /><br />What do I need to do to get my environment variables into the php processes<br />run by fpm?<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>Pooky</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Wed, 20 Mar 2013 06:54:00 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,237293,237293#msg-237293</guid>
<title>Re: Digest for highload-php-en@googlegroups.com - 1 Message in 1 Topic (no replies)</title><link>http://forum.nginx.org/read.php?3,237293,237293#msg-237293</link><description><![CDATA[On many of the systems I work on (mostly Debian based) you will find error<br />messages in /var/log/php5-fpm.log , /var/log/apache/error.log , or custom<br />locations which I usually find with a recursive grep (a feature sadly<br />missing on my OpenIndiana machine, look for a find - exec work around in<br />that case). There are also the syslog and messages you can check in the<br />/var/log/ directory. Without further details on your system, it is hard to<br />say.<br /><br />-BradChesney79<br /><br />On Mar 13, 2013 5:25 AM, &lt;highload-php-en@googlegroups.com&gt; wrote:<br />&gt;<br />&gt; Today's Topic Summary<br />&gt;<br />&gt; Group: http://groups.google.com/group/highload-php-en/topics<br />&gt;<br />&gt; Core dumps location? [1 Update]<br />&gt; Core dumps location?<br />&gt; Robert &lt;robertlechte@gmail.com&gt; Mar 11 09:56PM -0700<br />&gt;<br />&gt; Hi all, just a quick noob question: I'm getting a bunch of SIGBUSs<br />&gt; happening from a php app I'm working on, I'm not sure what's causing this<br />&gt; so I want to look at core dumps. Am I right in thinking that &quot;log_level =<br />&gt; debug&quot; in will generate core dumps that I can look at? If so where would<br />I<br />&gt; find these?<br />&gt;<br />&gt;<br />&gt;<br />&gt; You received this message because you are subscribed to the Google Group<br />highload-php-en.<br />&gt; You can post via email.<br />&gt; To unsubscribe from this group, send an empty message.<br />&gt; For more options, visit this group.<br />&gt;<br />&gt; --<br />&gt;<br />&gt; ---<br />&gt; You received this message because you are subscribed to the Google Groups<br />&quot;highload-php-en&quot; group.<br />&gt; To unsubscribe from this group and stop receiving emails from it, send an<br />email to highload-php-en+unsubscribe@googlegroups.com.<br />&gt; For more options, visit https://groups.google.com/groups/opt_out.<br />&gt;<br />&gt;<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>Brad Chesney</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Wed, 13 Mar 2013 06:10:01 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,237248,237248#msg-237248</guid>
<title>Core dumps location? (3 replies)</title><link>http://forum.nginx.org/read.php?3,237248,237248#msg-237248</link><description><![CDATA[Hi all, just a quick noob question: I'm getting a bunch of SIGBUSs<br />happening from a php app I'm working on, I'm not sure what's causing this<br />so I want to look at core dumps. Am I right in thinking that &quot;log_level =<br />debug&quot; in will generate core dumps that I can look at? If so where would I<br />find these?<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>Robert</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Wed, 13 Mar 2013 07:56:01 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,237149,237149#msg-237149</guid>
<title>Many POST requests, fastcgi cache delay? (no replies)</title><link>http://forum.nginx.org/read.php?3,237149,237149#msg-237149</link><description><![CDATA[Hi,<br /><br />I have a site with many POST requests.Each visitor is generating one POST requests per second to get status of few things.<br />With status Im returning current datetime.<br /><br />Im reading about different options for caching and made few changes:<br />fastcgi_cache microcache;<br />fastcgi_cache_methods POST;<br />fastcgi_cache_bypass $no_cache;<br />fastcgi_no_cache $no_cache;<br />#fastcgi_cache_key $scheme$host$request_method$request_uri;<br />fastcgi_cache_key $server_name|$request_uri;<br />fastcgi_cache_valid 200 302 1s;<br />fastcgi_cache_valid 301 1s;<br />fastcgi_cache_valid any 1s;<br />fastcgi_max_temp_file_size 1M;<br />#fastcgi_cache_use_stale updating;<br />#fastcgi_cache_use_stale updating error timeout invalid_header http_500;<br />fastcgi_cache_use_stale error;<br />conf I pasted is in location /status.php<br /><br />However in firebug I see each second new request - but timer has 1 second delay.<br />I see for example:<br />09.03.2013 03:34:00<br />09.03.2013 03:34:00<br />09.03.2013 03:34:01<br />09.03.2013 03:34:01<br />09.03.2013 03:34:02<br />09.03.2013 03:34:02<br />and so on. While without cache I saw each second in response.<br /><br />Do you have any hints? :)]]></description>
<dc:creator>maur</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Sat, 09 Mar 2013 03:44:10 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,237038,237038#msg-237038</guid>
<title>why php-fpm use some udp port? (3 replies)</title><link>http://forum.nginx.org/read.php?3,237038,237038#msg-237038</link><description><![CDATA[like this:<br /><br />$ netstat -nlp<br /><br />udp 0 0 10.168.16.205:54144 0.0.0.0:*<br />20456/php-fpm: pool<br />udp 5664 0 0.0.0.0:54086 0.0.0.0:*<br />9687/php-fpm: pool<br />udp 0 0 0.0.0.0:54088 0.0.0.0:*<br />9687/php-fpm: pool<br />udp 5664 0 0.0.0.0:54103 0.0.0.0:*<br />19114/php-fpm: pool<br />udp 0 0 10.168.16.205:54104 0.0.0.0:*<br />19114/php-fpm: pool<br />udp 0 0 0.0.0.0:54105 0.0.0.0:*<br />19114/php-fpm: pool<br />udp 0 0 10.168.16.205:54109 0.0.0.0:*<br />17451/php-fpm: pool<br />udp 0 0 10.168.16.205:54110 0.0.0.0:*<br />18259/php-fpm: pool<br />udp 0 0 0.0.0.0:54111 0.0.0.0:*<br />18259/php-fpm: pool<br />udp 0 0 10.168.16.205:54135 0.0.0.0:*<br />23890/php-fpm: pool<br />udp 0 0 10.168.16.205:54136 0.0.0.0:*<br />22221/php-fpm: pool<br />udp 5664 0 0.0.0.0:54141 0.0.0.0:*<br />26125/php-fpm: pool<br />udp 0 0 10.168.16.205:54142 0.0.0.0:*<br />26125/php-fpm: pool<br />udp 0 0 0.0.0.0:54143 0.0.0.0:*<br />26125/php-fpm: pool<br /><br />does these for master/worker communication？<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>peixinchen</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Thu, 07 Mar 2013 05:20:01 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,236935,236935#msg-236935</guid>
<title>php-fpm is mixing configs of different vhosts. (4 replies)</title><link>http://forum.nginx.org/read.php?3,236935,236935#msg-236935</link><description><![CDATA[The newest problem is: php-fpm is mixing configs of different vhosts.<br />let me explain,<br />I have a vhost section like:<br /><br /><br />server {<br />listen 80;<br />server_name sub1.something.com;<br />.....<br />fastcgi_param PHP_ADMIN_VALUE &quot;open_basedir=somedir11&quot;;<br />}<br /><br />and another section similar but different server_name:<br /><br /><br />server {ne<br />listen 80;<br />server_name sub2.something.com;<br />.....<br />fastcgi_param PHP_ADMIN_VALUE &quot;open_basedir=somedir22&quot;;<br />}<br /><br /><br />the problem is this:<br />even the user goes to sub1.something.com, the open_basedir of second vhost<br />section (somedir22) is applied. It seems that, php or php-fpm or nginx or<br />whatever it is, remembering some previous state of PHP_ADMIN_VALUE.<br />what may be the problem ?<br />I also suspect this before, because I see logs in syslog, showing wrong<br />filenames.<br />for ex: php syslog(LOG_WARNING,&quot;log from file1&quot;) generates a log in syslog,<br />syslog(LOG_WARNING,&quot;log from file2&quot;)<br />I saw in past, logs are mixed somehow. wrong message is displayed with<br />wrong prefix (of syslog line).<br /><br />Is there a setting that causes php-fpm (or anything) remembers some other<br />state ?<br />Any suggestion ?<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>bvidinli</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Tue, 07 May 2013 14:49:27 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,236368,236368#msg-236368</guid>
<title>Heavy load because of concurrent users on Nginx and php-fpm causes 502 bad gateway error. (no replies)</title><link>http://forum.nginx.org/read.php?3,236368,236368#msg-236368</link><description><![CDATA[Hi,<br /><br />I have Nginx + PHP FPM installed on my server. We are putting load on server for long period for 30 concurrent users.<br /><br />For initial user it works fine but after some time it starts throwing 502 bad gateway error.<br /><br />I have placed some of the log of nginx php-fpm and slow log of php-fpm.<br /><br />There are entries getting logged in slow log of php-fpm because of long running script and load on server. I think this is the reason for 502 bad gateway error. But I dont know how to solve that problem.<br /><br />- What are the tweaks I need to make in php-fpm.conf so that this errors gets resolved?<br />- How to make nginx wait for long time for response from php-fpm?<br />- How to increase php-fpm max execution time?<br /><br />Here are the logs attached.<br /><br />========================= NGINX LOG=====================================<br /><br />2013/01/29 15:03:38 [error] 2493#0: *1046562 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 49.248.0.2, server: ***********.com, request: &quot;GET MY_SCRIPT_URI HTTP/1.1&quot;, upstream: &quot;fastcgi://127.0.0.1:9000&quot;, host: &quot;***********.com&quot;, referrer: &quot;MY_SCRIPT_URL&quot;<br /><br />2013/01/29 15:03:39 [error] 2493#0: *1046561 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 49.248.0.2, server: **********.com, request: &quot;GET MY_SCRIPT_URI HTTP/1.1&quot;, upstream: &quot;fastcgi://127.0.0.1:9000&quot;, host: &quot;***********.com&quot;, referrer: &quot;MY_SCRIPT_URL&quot;<br /><br />There are many errors of this type and they are repeating in entire file.<br /><br />============================== PHP FPM LOG =================================<br /><br />[14-Feb-2013 12:54:13] ERROR: failed to ptrace(PEEKDATA) pid 10748: Input/output error (5)<br />[14-Feb-2013 12:54:18] ERROR: failed to ptrace(PEEKDATA) pid 10112: Input/output error (5)<br />[14-Feb-2013 12:54:18] ERROR: failed to ptrace(PEEKDATA) pid 12147: Input/output error (5)<br />[14-Feb-2013 12:54:19] ERROR: failed to ptrace(PEEKDATA) pid 30857: Input/output error (5)<br />[14-Feb-2013 12:54:19] ERROR: failed to ptrace(PEEKDATA) pid 9568: Input/output error (5)<br />[14-Feb-2013 12:54:19] ERROR: failed to ptrace(PEEKDATA) pid 32519: Input/output error (5)<br />[14-Feb-2013 12:54:23] ERROR: failed to ptrace(PEEKDATA) pid 31361: Input/output error (5)<br />[14-Feb-2013 12:54:23] ERROR: failed to ptrace(PEEKDATA) pid 9014: Input/output error (5)<br />[14-Feb-2013 12:54:23] ERROR: failed to ptrace(PEEKDATA) pid 10789: Input/output error (5)<br />[14-Feb-2013 12:54:23] ERROR: failed to ptrace(PEEKDATA) pid 840: Input/output error (5)<br />[14-Feb-2013 12:54:23] ERROR: failed to ptrace(PEEKDATA) pid 953: Input/output error (5)<br />[14-Feb-2013 12:54:26] ERROR: failed to ptrace(PEEKDATA) pid 10927: Input/output error (5)<br />[14-Feb-2013 12:54:26] ERROR: failed to ptrace(PEEKDATA) pid 9012: Input/output error (5)<br />[14-Feb-2013 12:54:26] ERROR: failed to ptrace(PEEKDATA) pid 10861: Input/output error (5)<br />[14-Feb-2013 12:54:39] ERROR: failed to ptrace(PEEKDATA) pid 31361: Input/output error (5)<br />[14-Feb-2013 12:54:58] ERROR: failed to ptrace(PEEKDATA) pid 10102: Input/output error (5)<br />[14-Feb-2013 12:54:58] ERROR: failed to ptrace(PEEKDATA) pid 10918: Input/output error (5)<br />[14-Feb-2013 12:54:58] ERROR: failed to ptrace(PEEKDATA) pid 32519: Input/output error (5)<br />[14-Feb-2013 12:54:59] ERROR: failed to ptrace(PEEKDATA) pid 9326: Input/output error (5)<br />[14-Feb-2013 12:54:59] ERROR: failed to ptrace(PEEKDATA) pid 10789: Input/output error (5)<br />[14-Feb-2013 12:55:08] ERROR: failed to ptrace(PEEKDATA) pid 10943: Input/output error (5)<br />[14-Feb-2013 12:55:08] ERROR: failed to ptrace(PEEKDATA) pid 31850: Input/output error (5)<br />[14-Feb-2013 12:55:08] ERROR: failed to ptrace(PEEKDATA) pid 31898: Input/output error (5)<br />[14-Feb-2013 12:55:08] ERROR: failed to ptrace(PEEKDATA) pid 32737: Input/output error (5)<br />[14-Feb-2013 12:55:13] ERROR: failed to ptrace(PEEKDATA) pid 10748: Input/output error (5)<br />[14-Feb-2013 12:55:13] ERROR: failed to ptrace(PEEKDATA) pid 10117: Input/output error (5)<br /><br /><br />============================== PHP FPM SLOW LOG =================================<br /><br />[14-Feb-2013 12:55:13] [pool www] pid 10748<br />script_filename = MY_SCRIPT_PATH<br />[0x00007f446e8e06b0] curl_exec() MY_SCRIPT_PATH_1.php:317<br />[0x00007f446e8e0490] callService() MY_SCRIPT_PATH_2:1331<br />[0x00007f446e8e0148] convertToPurchaseOrders() MY_SCRIPT_PATH_3:15<br />[0x00007fff0102b4d0] convertToPurchaseOrders() unknown:0<br />[0x00007f446e8de0d8] call_user_func_array() MY_SCRIPT_PATH_4:359<br />[0x00007f446e8dd4d0] +++ dump failed<br /><br />[14-Feb-2013 12:55:13] [pool www] pid 10117<br />script_filename = MY_SCRIPT_PATH<br />[0x00007f446e8e06b0] curl_exec() MY_SCRIPT_PATH_1.php:317<br />[0x00007f446e8e0490] callService() MY_SCRIPT_PATH_2:1331<br />[0x00007f446e8e0148] convert() MY_SCRIPT_PATH_3:15<br />[0x00007fff0102b4d0] convert() unknown:0<br />[0x00007f446e8de0d8] call_user_func_array() MY_SCRIPT_PATH_4:359<br />[0x00007f446e8dd4d0] +++ dump failed<br /><br /><br /><br />Help is appriciated.<br /><br />Thanks in advance.]]></description>
<dc:creator>ehussain</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Wed, 20 Feb 2013 07:27:18 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,235866,235866#msg-235866</guid>
<title>Strange .ini file parsing (3 replies)</title><link>http://forum.nginx.org/read.php?3,235866,235866#msg-235866</link><description><![CDATA[Hi,<br /><br />I have a strange issue of php.fpm parsing a file ending in .ini whereas<br />this .ini file doesnt have anything to do with php<br /><br />*26 FastCGI sent in stderr: &quot;PHP message: WARNING: You have errors in you<br />INI file (/home/xxxxx/public_html/xxx/etc/xxxxx/magiczoomplus.settings.ini)<br />on line 1!&quot;<br /><br /><br />I renamed the file and the error was gone .<br /><br />So the question is - does php-fpm look for files ending in .ini ; if so how<br />to disable that and does this default behavior slow down things ?<br /><br />Thanks<br />--<br />Anoop P Alias (PGP Key ID : 0x014F9953)<br />GNU system administrator<br />http://UniversalAdm.in<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>Anoop Alias</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Fri, 26 Apr 2013 05:50:00 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,235805,235805#msg-235805</guid>
<title>FastCGI: comm with server &quot;/usr/lib/cgi-bin/php5-fcgi&quot; aborted: idle timeout (30 sec), FastCGI: incomplete headers (0 bytes) received from server &quot;/usr/lib/cgi-bin/php5-fcgi&quot; (2 replies)</title><link>http://forum.nginx.org/read.php?3,235805,235805#msg-235805</link><description><![CDATA[Hi all,<br />I cannot track down what is causing this error! I get the following on a<br />regular basis, plus I have extremely high CPU usage too (around 80%)!<br /><br />[Fri Feb 01 11:51:43 2013] [error] [client xx.xx.xx.xx] FastCGI: comm with<br />server &quot;/usr/lib/cgi-bin/php5-fcgi&quot; aborted: idle timeout (30 sec),<br />referer: http://mydomain.com/<br />[Fri Feb 01 11:51:43 2013] [error] [client xx.xx.xx.xx] FastCGI: incomplete<br />headers (0 bytes) received from server &quot;/usr/lib/cgi-bin/php5-fcgi&quot;,<br />referer: http://mydomain.com/<br /><br /><br />I have apache2 installed with php-fpm on an amazon m1.large ec2 ubuntu 64<br />12.04 server.<br />7.5 GiB memory<br />4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each)<br />64-bit platform<br />I/O Performance: High<br /><br />I also have APC installed and set to use up to 1gig of ram<br /><br />Here is some of my config settings:<br />/etc/apache2/httpd.conf<br />&lt;IfModule mod_fastcgi.c&gt;<br />AddHandler php5-fcgi .php<br />Action php5-fcgi /php5-fcgi<br />Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi<br />FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket<br />/tmp/php5-fpm.sock -pass-header Authorization<br />&lt;/IfModule&gt;<br /><br /><br />/etc/apache2/apache.conf<br /><br />MaxKeepAliveRequests 100<br />KeepAliveTimeout 5<br /># prefork MPM<br />&lt;IfModule mpm_prefork_module&gt;<br />StartServers 5<br />MinSpareServers 5<br />MaxSpareServers 10<br />MaxClients 150<br />MaxRequestsPerChild 0<br />&lt;/IfModule&gt;<br /><br />&lt;IfModule mpm_event_module&gt;<br />StartServers 2<br />MinSpareThreads 25<br />MaxSpareThreads 75<br />ThreadLimit 64<br />ThreadsPerChild 25<br />MaxClients 150<br />MaxRequestsPerChild 0<br />&lt;/IfModule&gt;<br /><br />/etc/php5/fpm/php-fpm.conf<br />pid = /var/run/php5-fpm.pid<br /><br /><br />/etc/php5/fpm/pool.d/www.conf<br /><br />listen = /tmp/php5-fpm.sock<br /><br />pm = dynamic<br />pm.max_children =150<br />pm.start_servers = 75<br />pm.min_spare_servers = 20<br />pm.max_spare_servers = 150<br /><br /><br />Can anyone help?<br />John<br /><br />--<br /><br />---<br />You received this message because you are subscribed to the Google Groups &quot;highload-php-en&quot; group.<br />To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.<br />For more options, visit https://groups.google.com/groups/opt_out.]]></description>
<dc:creator>otherjohn</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Fri, 01 Feb 2013 17:34:05 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,235600,235600#msg-235600</guid>
<title>Minimal Debian Wheezy Setup Using Stock Packages (no replies)</title><link>http://forum.nginx.org/read.php?3,235600,235600#msg-235600</link><description><![CDATA[You will need all the official repos for the packages specified. But a<br />working super basic Debian Wheezy system can be running fpm relatively easy.<br /><br />It took a while to get to this point because there is a lot of information<br />out there that does not work.<br />Most of this stuff should apply to the associated Ubuntu systems that will<br />be based on Debian Wheezy.<br /><br />And without delay:<br /><br />apt-get install libapache2-mod-fastcgi apache2-mpm-worker php5-fpm<br /><br />a2enmod actions<br /><br />vi /etc/apache2/mods-available/fastcgi.conf<br />FastCgiIpcDir /var/lib/apache2/fastcgi<br />AddHandler php5-fcgi .php<br />Action php5-fcgi /fcgi-bin<br /><br />vi /etc/apache2/sites-available/default<br />&lt;VirtualHost *:80&gt;<br />ServerAdmin webmaster@localhost<br />DocumentRoot /var/www<br />&lt;Directory /var/www/&gt;<br />Options Indexes FollowSymLinks MultiViews<br />AllowOverride All<br />Order allow,deny<br />allow from all<br />&lt;/Directory&gt;<br />&lt;Directory /fcgi-bin/&gt;<br />Order allow,deny<br />Allow from all<br />&lt;/Directory&gt;<br />FastCgiExternalServer /tmp/imaginary-file -socket /var/www/default.sock<br />-user www-data -group www-data<br />Alias /fcgi-bin /tmp/imaginary-file<br />LogLevel warn<br />ErrorLog /var/log/apache2/error.log<br />CustomLog /var/log/apache2/access.log combined<br />&lt;/VirtualHost&gt;<br /><br />vi /etc/php5/fpm/pool.d/www.conf<br />[www]<br />user = www-data<br />group = www-data<br />listen = /var/www/default.sock<br />pm = ondemand<br />pm.max_children = 5<br />pm.process_idle_timeout = 10s;<br />pm.max_requests = 500<br /><br />chown www-data:www-data /var/log/apache2/*.log<br />chown -R www-data:www-data /var/www<br />service php5-fpm restart<br />service apache2 restart<br /><br />https://gist.github.com/4642771<br /><br />--]]></description>
<dc:creator>Brad Chesney</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Sat, 26 Jan 2013 14:02:01 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,235599,235599#msg-235599</guid>
<title>session_start() slows my servers?? (4 replies)</title><link>http://forum.nginx.org/read.php?3,235599,235599#msg-235599</link><description><![CDATA[Hello<br /><br />I keep getting occasional slow downs on the server, with no apparant<br />relation to user count.<br />It was slow at 800 users per second and now with 1300 is instant.<br /><br />I started logging slow scripts in php-fpm and I catch, this :<br /><br />[26-Jan-2013 19:02:42] [pool www] pid 78697<br />script_filename = /var/www/html/v.php<br />[0x00007fe0dea8eb28] session_start() /var/www/html/include/config.php:62<br />[0x00007fe0dea8a5a8] +++ dump failed<br /><br />This is something in the beginning of any script, my slow down is 30!!!<br />seconds<br /><br />What is going on in there?<br /><br />Thanks for any tips<br /><br /><br />---------------------------------------------------------------<br />Cristian Rusu<br />Web Developement &amp; Electronic Publishing<br /><br />======<br />Crilance.com<br />Crilance.blogspot.com<br /><br />--]]></description>
<dc:creator>crirus</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Mon, 28 Jan 2013 03:30:00 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,235515,235515#msg-235515</guid>
<title>php-fpm processes max out even though CPU is not that high (6 replies)</title><link>http://forum.nginx.org/read.php?3,235515,235515#msg-235515</link><description><![CDATA[My company is looking at a combination of PHP-FPM/APC/nginx to respond to a<br />very large number of requests, very quickly, globally. In general we see a<br />huge performance increase over lighttpd, however once we get to around 200<br />req/sec things get wacky. All of the idle processes are taken up and we<br />start responding with 502 errors. We've increased shared memory, toyed<br />around with nginx/php-fpm config to no avail. Until we high around 200<br />req/sec everything looks really great, CPU levels are fine, memory is fine,<br />but once we hit that mark we get a lot of socket errors in the nginx error<br />log and many many 502 error. Any help would be GREATLY appreciated. Below I<br />have included some of our config, please let me know what else you need:<br /><br />php-fpm.conf<br /><br />[global]<br />pid = /var/run/php-fpm/php-fpm.pid<br />error_log = log/php-fpm_error.log<br />log_level = debug<br />;emergency_restart_threshold = 0<br />;emergency_restart_interval = 0<br />;process_control_timeout = 0<br /><br />process.max = 500<br /><br />include=/etc/php-fpm.d/*.conf<br /><br />[www]<br /><br />user = nobody<br />group = nobody<br />listen = /tmp/pool1.socket<br />listen.allowed_clients = 127.0.0.1<br />slowlog = /var/log/php-fpm/www-slow.log<br />request_slowlog_timeout = 1<br />catch_workers_output = yes<br />php_admin_value[error_log] = /var/log/php-fpm/www-error.log<br />php_admin_flag[log_errors] = on<br />rlimit_files = 50000<br />request_terminate_timeout = 30s<br /><br />pm = ondemand<br />pm.max_children = 300<br />pm.process_idle_timeout = 2s<br />pm.max_requests = 5000<br /><br />pm.status_path = /monitor/status.fpm<br />listen.backlog=0<br /><br />nginx.conf<br /><br />user nobody nobody;<br />worker_processes 10;<br />pid /var/run/nginx.pid;<br /><br />events {<br />worker_connections 1024;<br />}<br /><br /><br />http {<br />include mime.types;<br />default_type application/octet-stream;<br />index index.html index.php;<br />log_format main '$remote_addr - $remote_user [$time_local]<br />&quot;$request&quot; '<br />'$status $body_bytes_sent &quot;$http_referer&quot; '<br />'&quot;$http_user_agent&quot; &quot;$http_x_forwarded_for&quot;<br />$request_time';<br />error_log /var/log/nginx/error.log;<br />access_log off;<br />sendfile on;<br /><br />keepalive_timeout 0s;<br />fastcgi_read_timeout 360s;<br /><br />upstream phpfarm {<br />server unix:/tmp/pool1.socket weight=100 max_fails=5 fail_timeout=5;<br />}<br /><br />server {<br />listen 80;<br />listen 443 default_server ssl;<br />root /srv/www/;<br />fastcgi_busy_buffers_size 256k;<br />fastcgi_buffers 4 256k;<br />fastcgi_buffer_size 128k;<br />fastcgi_temp_file_write_size 256k;<br />proxy_buffering off;<br />tcp_nopush on;<br />tcp_nodelay on;<br />auth_digest_user_file user.passwd;<br />auth_digest_expires 300s;<br />location /monitor {<br />auth_digest 'Authorized users only';<br />location /monitor/status {<br />extended_status on;<br />access_log off;<br />allow all;<br />}<br />location /monitor/status.fpm {<br />fastcgi_pass phpfarm;<br />fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br />fastcgi_param PATH_INFO $fastcgi_script_name;<br />include fastcgi_params;<br />}<br />location /monitor/status/php-fpm {<br />alias /usr/share/fpm/;<br />allow all;<br />}<br />location ~ \.php$ {<br />try_files $uri =404;<br />fastcgi_pass phpfarm;<br />fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br />fastcgi_param PATH_INFO $fastcgi_script_name;<br />include fastcgi_params;<br />}<br />}<br /><br />location ~ \.php$ {<br />try_files $uri =404;<br />fastcgi_pass phpfarm;<br />fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br />fastcgi_param PATH_INFO $fastcgi_script_name;<br />include fastcgi_params;<br />}<br /><br />location = /favicon.ico {<br />return 204;<br />access_log off;<br />log_not_found off;<br />}<br />}<br />}<br /><br />--]]></description>
<dc:creator>Jim Hackett</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Thu, 24 Jan 2013 04:52:00 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,235300,235300#msg-235300</guid>
<title>Announcing cpXstack - The complete nginX+ PHP-FPM stack for cpanel (no replies)</title><link>http://forum.nginx.org/read.php?3,235300,235300#msg-235300</link><description><![CDATA[cpXstack<br /><br />cpXstack is a GPL licensed cpanel plugin developed by SysAlly (<br />http://SysAlly.net ) that implements the full LEMP ( Linux- nginX - MySQL<br />- PHP-FPM ) stack .<br /><br />More information about the project can be found at<br />http://cpxstack.sysally.net/<br /><br />Documentation at<br />http://manage.piserve.com/projects/cpxstack/wiki/Documentation<br /><br />The software is FREE (as in FREE beer ) for use .<br /><br />SysAlly provides :<br /><br />1. Installation Support - 10 USD<br />2. Technical Support - 10 USD/ Hr<br />3. Value Added Service - 25 checkpoint Server Optimization and security<br />hardening with PDF report + FREE cpXstack installation - worth 45 USD at<br />30 USD/server .<br /><br /><br />About SysAlly<br />SysAlly is a division of PiServe Technologies Private Limited that provides<br />RIM (Remote IT Infrastructure Management Services). At SysAlly, we are<br />proud of our ability to timely deliver Superior and cost-effective services<br />and products, thereby enhancing the business value to our esteemed clients.<br />Our products and services offer true value for money and involve low cost<br />of ownership.<br /><br /><br />--<br />Anoop P Alias (PGP Key ID : 0x014F9953)<br />GNU system administrator<br />http://UniversalAdm.in]]></description>
<dc:creator>Anoop Alias</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Sat, 19 Jan 2013 04:16:01 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,235160,235160#msg-235160</guid>
<title>Restrict PHP execution (2 replies)</title><link>http://forum.nginx.org/read.php?3,235160,235160#msg-235160</link><description><![CDATA[Hi-<br />I suspect this is a simple (read: stupid) question, but is there a<br />PHP-FPM equivalent to the mod_php directive for restricting PHP execution,<br />i.e.:<br /><br />&lt;Directory ${WWWDOCROOT}&gt;<br />...<br />php_admin_flag engine off<br /><br />...<br />&lt;/Directory&gt;<br /><br />I realize I can block access to files with a .php suffix so it never reaches FPM, but is there a closer equivalent? Thanks!<br /><br />-- dNb]]></description>
<dc:creator>David Blank-Edelman</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Thu, 17 Jan 2013 04:00:00 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,234856,234856#msg-234856</guid>
<title>open_basedir messes up all sites (3 replies)</title><link>http://forum.nginx.org/read.php?3,234856,234856#msg-234856</link><description><![CDATA[Hi,<br /><br />My fresh installation worked well for two weeks, and suddenly all sites started crashing to &quot;open_basedir_restriction in effect&quot;.<br /><br />What I had done was simply add a directive to couple of the domains (just an example below):<br /><br />server {<br />listen 81;<br />server_name .thiscustomer.com;<br /># set variable first<br />set $user_lib /home/thiscustomer/libs/;<br />...<br />location ~ \.php$ {<br /># now set open_basedir for THIS site<br />fastcgi_param PHP_ADMIN_VALUE &quot;open_basedir =$user_lib:/tmp:/usr/local/lib/php:&quot;;<br />.. normal stuff<br />}<br />}<br /><br />This had the effect that most sites got the wrong open_basedir after a hit to the above domain, as if the open_basedir value had gone global! It seemed to switch between the two sites I had made the change to, probably depending on which of them had got a visitor last.<br /><br />After removing the fastgi_param everything moved to normal again. After adding it again everything weng haywire again so the problem was very easy to reproduce. So the PHP_ADMIN_VALUE seems to be pretty dangerous and should be avoided.<br /><br />regards<br />Markku]]></description>
<dc:creator>mkn</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Sun, 05 May 2013 15:55:51 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,234711,234711#msg-234711</guid>
<title>For the community (no replies)</title><link>http://forum.nginx.org/read.php?3,234711,234711#msg-234711</link><description><![CDATA[Hello,<br /><br />Here is a sneak preview of cpXstack . The plugin for cpanel powered servers<br />to use the full potential of nginX + PHP-FPM<br /><br />===<br />http://youtu.be/UAmXOJIC93o<br />===<br /><br /><br />--<br />Anoop P Alias (PGP Key ID : 0x014F9953)<br />GNU system administrator<br />http://UniversalAdm.in]]></description>
<dc:creator>Anoop Alias</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Sat, 05 Jan 2013 01:58:00 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,234557,234557#msg-234557</guid>
<title>Suggest best php-fpm configuration (1 reply)</title><link>http://forum.nginx.org/read.php?3,234557,234557#msg-234557</link><description><![CDATA[Hi,<br /><br />I am srikanth working with a ecommerce company. We have a hardware loadbalancer which sends traffic to 2 web servers in round robin fashion. Two web servers which are dedicated to serve web requests. Database servers are seperate.<br />Here is the configuration of web boxes I have.<br /><br />Intel E5620 processor 2.40Ghz, 32GB (3*8GB+2*4GB) RAM , 300GB *4 HDD<br /><br />Also when i do nproc .. output is 8.<br /><br />We have ubuntu 12.04 OS, nginx[nginx/1.1.19] web server, php-fpm [PHP 5.3.10-1ubuntu3.4 (fpm-fcgi) ].<br /><br />Please guide me with the best configuration to handle 10000 requests per second.<br /><br />Srikanth]]></description>
<dc:creator>ssatturi</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Sat, 29 Dec 2012 01:25:59 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,234217,234217#msg-234217</guid>
<title>For nginx server php setcookie() is not working in chrome and IE (no replies)</title><link>http://forum.nginx.org/read.php?3,234217,234217#msg-234217</link><description><![CDATA[Hi,<br /><br />I am Shashikant, deployed the application on nginx server but I am facing a problem while setting cookies.<br />Cookie is successfully set on Firefox browser but failed to set in IE and chrome.<br /><br />Can you please help me, if any setting is required to set for nginx server server.<br /><br />Thanks &amp; Regards,<br />Shashikant]]></description>
<dc:creator>shashikant</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Wed, 19 Dec 2012 23:59:35 -0500</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?3,234118,234118#msg-234118</guid>
<title>unix socket creation upon SIGUSR2 (1 reply)</title><link>http://forum.nginx.org/read.php?3,234118,234118#msg-234118</link><description><![CDATA[php-fpm seems to be missing a feature that could be really useful in a<br />shared hosting environment like the one I'm currently setting up.<br /><br />When dynamically creating pools for new domains, the corresponding unix<br />socket isn't being created after having issued a SIGUSR2. It seems that<br />currently it is impossible to gracefully create a communication socket<br />on-the-fly, which means that php-fpm would have to be stopped/restarted.<br />This isn't very handy, for obvious reasons.<br /><br />Any insights into a graceful solution to this problem would be most<br />appreciated!]]></description>
<dc:creator>Ro Achterberg</dc:creator>
<category>Php-fpm Mailing List - English</category><pubDate>Wed, 19 Dec 2012 18:12:01 -0500</pubDate></item>
</channel>
</rss>