uncomment this ;catch_workers_output = yes how many requests are you hitting it with do you think? it ends within 60 seconds roughly and you have it set to 1000 requests. so either something is crashing or running out of resources for some reason, or you're hitting your 1000 and it's not recycling. On Sun, Sep 12, 2010 at 2:03 PM, Utkarsh <www.qprojects.org@gmail.com> wrote: > php-fpm.cby mike - Php-fpm Mailing List - English
pastebin your php-fpm config (and anything else relevant) also turn up your log level to debug On Sun, Sep 12, 2010 at 1:06 PM, Utkarsh <www.qprojects.org@gmail.com> wrote: > I'm using PHP 5.3.3, php-fpm and nginx on my VPS. > > In the php-fpm.log, I'm seeing that fpm restarts every minute > > -------------- > Sep 12 19:15:01.139646 Finishing ... > Sep 12 19:15:01.148by mike - Php-fpm Mailing List - English
On Sun, Sep 12, 2010 at 6:07 AM, Maciej Lisiewski <maciej.lisiewski@gmail.com> wrote: > That would case a child process to be spawned everytime there is a request - > far from optimal. this is what mod_suphp does for apache, sadly.by mike - Php-fpm Mailing List - English
Yeah. One pool could hog a bunch of resources on a spike, and starve other pools. While I see a reasons of the idea of a global the implementation seems too messy for me. I'd rather define pools with strict quotas - and the total of max children together should equal your global limit you want. Then adjust children as needed if you got the original numbers wrong. On Sep 12, 2010, at 3:04 AM, Maciby mike - Php-fpm Mailing List - English
+1 I believe if spnego fails its supposed to fall back to digest. I'd like to have that implemented properly. On Sep 8, 2010, at 12:19 PM, Andriod Dev <lists@ruby-forum.com> wrote: > Jonas Pfenniger wrote: >> Hi there, >> >> is it planned to add digest auth at some time ? It's not that basic >> auth is not useful, but it's pretty weak on replay attacks. Nowadayby mike - Nginx Mailing List - English
On Wed, Sep 8, 2010 at 4:02 AM, Rahul Bansal <rahul.bansal@rtcamp.com> wrote: > -PHP-FPM debug really produced very less info which was not helpful at all. > On sidenote, why php error shows up in nginx error.log and not in php-fpm? 502 will be when nginx's connection is broken to the upstream (it was forcibly killed by request_terminate_timeout, etc.) - it's bad gateway. 504 is wheby mike - Nginx Mailing List - English
I have no clue if this is possible, however, it would be nice to have the option to (without restarting PHP engines) force the PHP engines to drop all their pconnect'ed resources. For example, we may have a hung MSSQL resource, or just want to force a reconnect. I am not sure php-fpm reload (graceful) does this. I am wondering if there is the possibility for this option, if it makes sense, or ifby mike - Php-fpm Mailing List - English
On Sat, Aug 28, 2010 at 3:14 AM, Ed W <lists@wildgooses.com> wrote: > I will believe you that this works, but it seems incredibly subtle and I for > one don't quite understand why it's working? > > My point is only that we need to document how/why this is the solution or > users will deviate (innocently) and re-introduce the problem It is a bit more complex to drop in and noby mike - Nginx Mailing List - English
Initial testing shows: cgi.fix_pathinfo = 0 and Igor's suggestion: location ~ ^(?<script>.+\.php)(?<path_info>.*)$ { fastcgi_pass 127.0.0.1:11000; fastcgi_param SCRIPT_FILENAME $document_root$script; fastcgi_param PATH_INFO $path_info; include fastcgi_params; } To be working properly. I need to check out PATH_INFO using old style and new sby mike - Nginx Mailing List - English
On Fri, Aug 27, 2010 at 11:39 AM, Igor Sysoev <igor@sysoev.ru> wrote: > location ~ ^(?<script>.+\.php)(?<path_info>.*)$ { > fastcgi_pass 127.0.0.1:11000; > fastcgi_param SCRIPT_FILENAME $script; Doesn't this typically have the $document_root$fastcgi_script_name - so the full system path? Thanks for the pointers, though. I will begin adopting this styby mike - Nginx Mailing List - English
On Fri, Aug 27, 2010 at 11:13 AM, Cliff Wells <cliff@develix.com> wrote: > It is subtle, but all fixes are, because the underlying vulnerability is > quite subtle. What user isn't going to look at that and say to > themselves "why do I need this if statement?". Just use the try_files > and add a comment to its purpose. The caveat with try_files is it means nginxby mike - Nginx Mailing List - English
Let's stop debating and start with a clean fix. It sounds like this is all that is needed. Anyone want to verify? php config: cgi.fix_pathinfo=0 then just make sure nginx splits the path info for you in case your app needs it with fastcgi_split_path_info: location ~ \.php$ { fastcgi_pass 127.0.0.1:11000; include fastcgi_params; fastcgi_split_path_info ^(.+\.php)(.*)$; # just throw thisby mike - Nginx Mailing List - English
Cool! Some people on IRC had asked about anything new in FPM. Do you keep a blog, wiki or roadmap anywhere on your ideas or just some bugs/feature requests in the PHP tracker? I think that the ondemand idea is the holy grail if you can pull it off. I think it should still keep it under the fpm umbrella :) On Aug 26, 2010, at 1:27 PM, Jérôme Loyet <ml@fatbsd.com> wrote: > 2010/8/26 Maby mike - Php-fpm Mailing List - English
On Thu, Aug 26, 2010 at 12:21 PM, MagnusVMI <ml@vmi.se> wrote: > Hi, > > We are a small webbhosting provider that are today running a Linux > cluster with apache2/suphp, on 2 webbfronts. > We have about 1200 different customers on this system. > > How can we deploy php-fpm instead of suphp? We need to isolate every > php to be runned as the customers user. I think thby mike - Php-fpm Mailing List - English
On Thu, Aug 26, 2010 at 4:07 AM, Ed W <lists@wildgooses.com> wrote: > Slow reply - apologies There is a quick hack, that should work, but does add at least another stat call or two. Basically it's one last additional "is this -really- a file" check. Of course it does require nginx to have filesystem access (not a remote fastcgi_pass) It was something along the lines of: locby mike - Nginx Mailing List - English
It seems (at least to me) that the past year has seen explosive growth in nginx usage and third party module development. I believe that for package management, as well as module adoption, it would be a definite move in the right direction to be able to load modules up on demand instead of having to custom compile nginx with the modules you want. That allows for module development to be done comby mike - Nginx Mailing List - English
I have a blog post here, and I'm open to ideas on how to improve. I'm wondering if things can be set on the global level, and overridden on the pool level. Basically anything in my common.conf, I would like to define globally, so that my pool configurations are literally only specifics for each pool. http://michaelshadle.com/2010/08/26/cleanest-configuration-for-the-new-php-fpm/ Jerome, Antony,by mike - Php-fpm Mailing List - English
I had thought of posting some recipes up at one point as well. # all other requests go to Wordpress if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?q=$1 last; rewrite /(.*)/$ /index.php?q=$1 last; break; } I don't think you need that; probably simpler to do try_files there. I haven't used wp supercache; I would make two configs, one for wordpress and one for wordpby mike - Nginx Mailing List - English
I say "a" is a better option out of the two. Follows nginx configuration style and I actually thought at first maybe [] were part of a special ipv6 markup. So that even confused me at first :) On Aug 25, 2010, at 12:27 AM, Matthias-Christian Ott <ott@mirix.org> wrote: > At the moment nignx does not allow IPv6 addresses to specified by > hostname in a listen directive, thatby mike - Nginx Development
email me off list i can try to help - mike503@gmail On Tue, Aug 24, 2010 at 11:27 AM, btafoya <nginx-forum@nginx.us> wrote: > I have the php code working to redirect correctly, but have run into a > obstacle I don't know how to resolve.... > > The is the incoming URL, or one of them... > > http://fcdev.premasolutions.com/alice-in-wonderland-movie-deluxe-alice-adult-costumeby mike - Nginx Mailing List - English
sounds like it's just some db queries. so really you'll intercept it in nginx, pass it off to php, and then redirect those requests (is it a 301 redirect?) to the proper URL. it's a very basic PHP/mysql setup. always start simple, so add in caching once things work... On Mon, Aug 23, 2010 at 9:03 PM, btafoya <nginx-forum@nginx.us> wrote: > That is more along the lines of what I was thinby mike - Nginx Mailing List - English
You are a crazy, crazy guy agentzh! :) On Mon, Aug 23, 2010 at 8:32 PM, agentzh <agentzh@gmail.com> wrote: >> Magento utilizes rewrite rules heavily but does the majority of the >> rewrite within the Front controller. The problem is that it is VERY >> in-efficient and a store with more than 10,000 products is severely >> delay. But, all information is referenced inby mike - Nginx Mailing List - English
you could cron a dump of the database into nginx rewrite rules, and then reload nginx... otherwise, mysql lookups will block, and most nginx modules are designed with non-blocking in mind On Mon, Aug 23, 2010 at 5:22 PM, btafoya <nginx-forum@nginx.us> wrote: > Any chance I can use a MySQL database table to do a lookup to return the > url to rewrite to? > > Let me explain the siby mike - Nginx Mailing List - English
quick note: sendmail_from is only used on windows, according to the manual http://www.php.net/manual/en/mail.configuration.php#ini.sendmail-from does /usr/sbin/sendmail exist inside of the jail? can you manually trigger it properly? check the php error logs. perhaps it will tell you something. turn up your error logging. On Fri, Aug 20, 2010 at 1:16 AM, Illó Gábor <stageline@gmail.com>by mike - Php-fpm Mailing List - English
On Thu, Aug 19, 2010 at 8:43 AM, Diemuzi <diemuzi@gmail.com> wrote: > Changing per pool values is a big part for me. I would rather restart > only the pool I changed the values in so that I do not possibly > disrupt the other pools running. it's not what you want exactly, but reloading (not restarting) php-fpm should be a graceful way to apply changes (it will do all pools, but graby mike - Php-fpm Mailing List - English
On Thu, Aug 19, 2010 at 8:40 AM, Diemuzi <diemuzi@gmail.com> wrote: > Quick background on what I'm using: > * Archlinux OS > * Apache 2.2.15 > * PHP 5.3.3 w/FPM support enabled > * mod_fastcgi 2.4.6 > > Prior to using FPM I was using a CGI/FastCGI (As shown in phpinfo from > Server API). Now it shows FPM/FastCGI. It appears to be working > correctly. > > My qby mike - Php-fpm Mailing List - English
sorry, this looks like a mess. http://michaelshadle.com/2009/03/19/finally-using-nginxs-try-files-directive/ use that. then throw in the memcache stuff if you need it On Tue, Aug 17, 2010 at 10:59 PM, flash <nginx-forum@nginx.us> wrote: > I'm having some difficulty with a wordpress behavior that I have not > been able to figure out. > > When I try to split off the second instby mike - Nginx Mailing List - English
i have try_files outside of location blocks plenty. the wiki probably just needs updating On Mon, Aug 16, 2010 at 1:07 PM, Ensiferous <nginx-forum@nginx.us> wrote: > Hey, > > I have a question about how try_files works in some cases. The standard > case seems to be > > server { > server_name foo; > > location / { >by mike - Nginx Mailing List - English
On Mon, Aug 16, 2010 at 9:43 AM, Raina Gustafson <raina@thequeensmen.com> wrote: > To date, I've been needing to manually re-start PHP-FPM about every > other day due to steadily increasing memory consumption over time. I'm > thinking about implementing a script to auto-restart it upon reaching > a certain threshold. I'm wondering if this is a ridiculously lazy > solution, orby mike - Nginx Mailing List - English
I don't consider it a "feature" though. This is one thing that bugs me about Chrome. At least IE has settings like "show friendly error pages" and such. It makes debugging things a pain when browsers assume their own custom behaviors when certain standards (yes, I consider error pages a standard in compliance with RFC) are to be interpreted. I'll see what I'm doing with msie_by mike - Nginx Mailing List - English