i couldn't imagine that php-fpm has anything to do with that. have you tried a non php-fpm build and see if you get the same issue? to rule out php-fpm. On Wed, Jan 27, 2010 at 9:42 AM, Gordon Pettey <petteyg359@gmail.com> wrote: > Anybody using mysqlnd along with FPM patch 0.6~5.3? I've got PHP 5.3.1 > patched with FPM that works great with libmysql, but if I try to use > mysqlnd,by mike - Php-fpm Mailing List - English
On Mon, Jan 25, 2010 at 2:53 PM, Juan Fco. Giordana <juangiordana@gmail.com> wrote: > Maybe posting in php-fpm mailing list can be of more help. he's not running php-fpm though :) might be able to help, but then again, it's people who have moved away from php-cgi and standalone/etc. and moved to php-fpm. _______________________________________________ nginx mailing list nginx@nginx.orgby mike - Nginx Mailing List - English
This is true. I was getting confused with SIGCHLD. Some people have posted on here with very quick recycle rates with SIGCHLDs... On Sat, Jan 23, 2010 at 1:17 PM, Davy Campano <dcampano@gmail.com> wrote: >>Recycling in only 9 seconds seems pretty quick. > It looks like he is receiving a SIGSEGV which would be a segmentation fault, > so it wouldn't be related to recycling. I haby mike - Php-fpm Mailing List - English
Recycling in only 9 seconds seems pretty quick. Sent from my iPhone On Jan 23, 2010, at 9:48 AM, alexd <alexander.dean@gmail.com> wrote: > Hi, > > I have successfully installed php-fpm using the version available in > PHP core via SVN. However now I'm getting intermittent 502 bad gateway > problems in Nginx. Taking a look at php-fpm.log shows the following > happening atby mike - Php-fpm Mailing List - English
that's one nginx instance with multiple server blocks. :p sounded to me like the OP was asking about multiple nginx instances. On Thu, Jan 21, 2010 at 9:15 PM, Dongkuo Ma <luc.mdk@gmail.com> wrote: > Yes > for example > > server { > listen 80; > server_name www.domain.com; > ... > } > > server { > listen 80; > server_nameby mike - Nginx Mailing List - English
Sure you can. But I wouldn't advise it. nginx is extremely efficient. You should be able to handle both needs using the same instance. On Thu, Jan 21, 2010 at 9:07 PM, Max <maxbear@gmail.com> wrote: > Hello, > > Can I run multiple nginx in a server? One server wll be used for mp4 > streaming and the other one will be used for web server. Is it a good idea > to use multiple ngby mike - Nginx Mailing List - English
I run 0.8.x, no complaints. I would say the only stability question is if you plan on trying one of the new features in 0.8.x. That'd be my only concern, but even then, nginx is pretty solid so I would give it a go first. On Thu, Jan 21, 2010 at 8:27 PM, Max <maxbear@gmail.com> wrote: > Hello, > > I want to upgrade from 0.6. I just want to ask whether I should use ver 0.7 > orby mike - Nginx Mailing List - English
Just in case you didn't get the email announcement: http://michaelshadle.com/2010/01/17/spnego-for-nginx-a-start-at-least/ On Wed, Jan 13, 2010 at 3:29 PM, ajmawer <nginx-forum@nginx.us> wrote: > Hi Mike, > > That would be great. If more people get eyes on the code then it can hopefully get to a stage of being integrated and allow other community members to continue development. &by mike - Nginx Mailing List - English
/me wonders why nginx can't automatically allocate the RAM needed for server_names based on the configuration? it's static (except for wildcarded/regex matched ones, that's the only variable here) On Mon, Jan 18, 2010 at 2:34 PM, Cliff Wells <cliff@develix.com> wrote: > On Mon, 2010-01-18 at 13:42 -0800, merlin corey wrote: > >> And I always wonder when I see it in configurationby mike - Nginx Mailing List - English
I have the source and some background, instructions and examples here: http://michaelshadle.com/2010/01/17/spnego-for-nginx-a-start-at-least/ Please feel free to contact me off-list, or on-list (if applicable) to discuss this. It is definitely not ready for prime time, your mileage may vary, etc... but I wanted to get it out there so people could start messing around with it, maybe find a criticaby mike - Nginx Mailing List - English
On Tue, Jan 12, 2010 at 3:20 AM, Momchil Ivanov <slogster@gmail.com> wrote: > if you are running it with root, your shell has set rlimit_max greater than > that value, therefore you might try the following in sapi/cgi/fpm/fpm_unix.c > add : > r.rlim_max = (rlim_t) wp->config->rlimit_files; > after: > 165 r.rlby mike - Php-fpm Mailing List - English
Try the 5.2.11 patch - it might work. I am not sure if I have yet, I think I wanted to try but I forget if I did. :) On Thu, Jan 14, 2010 at 7:43 AM, skaffen <atomicbiscuit@googlemail.com> wrote: > Hello > > I'm using php-fpm-0.6 patch against 5.2.11 with nginx on Centos 5.4. > and am loving it. Clean and fast. > > I'd like to upgrade to 5.2.12 to get those latest securitby mike - Php-fpm Mailing List - English
I've had cgi.fix_pathinfo = 1 in my php.ini (not specifically in php-fpm.conf) for years... On Wed, Jan 13, 2010 at 2:20 PM, JayReitz <jreitz@gmail.com> wrote: > I just noticed a typo in my post. The PHP setting is actually > cgi.fix_pathinfo not fix_pathinfo. > > On Jan 13, 2:12 pm, JayReitz <jre...@gmail.com> wrote: >> This was subject was covered briefly in anoby mike - Php-fpm Mailing List - English
I can send you some info tonight. I have it "sort of" working but cannot validate it is working fully. Been asking the coder to finish up with finalizing it enough to release to the public as a "have fun using it and enhancing it" project... On Tue, Jan 12, 2010 at 1:17 PM, ajmawer <nginx-forum@nginx.us> wrote: > Hi Mike, > > Just wondering if there was any proby mike - Nginx Mailing List - English
On Mon, Jan 11, 2010 at 4:12 PM, Momchil Ivanov <slogster@gmail.com> wrote: > Which reads as: if there is a setting in the fpm conf, get that and try to set > it. The linux manpage of setrlimit(2) says it returns: > So if you are running with root on gnu/linux, you are most probably getting > the EINVAL error in which case the code might be fixed to try increasing > rlimiby mike - Php-fpm Mailing List - English
On Mon, Jan 11, 2010 at 8:28 AM, Grzegorz Nosek <grzegorz.nosek@gmail.com> wrote: > So, is there a simple way to filter out non-HTTP requests from the > access log? http://wiki.nginx.org/HWLoadbalancerCheckErrors doesn't seem > to work unfortunately (I tried something along this way already and > checked this exact config now). I have this as well, but from some hardware load bby mike - Nginx Mailing List - English
Oddly enough, I just set this up in /etc/security/limits.conf and in /etc/sysctl.conf Rebooted, wouldn't take. Even added ulimit -n 131072 to /etc/profile and /etc/rc.local - just for kicks. Still won't take. 2010/01/10 23:01:25 1120#0: getrlimit(RLIMIT_NOFILE): 1024:1024 Jan 10 23:01:27.546913 fpm_stdio_child_said(), line 167: child 1219 (pool www-data) said into stderr: "Jan 10 23:01by mike - Php-fpm Mailing List - English
what version of php-fpm are you using? the patch? the launchpad version? On Sun, Jan 10, 2010 at 3:27 PM, alexd <alexander.dean@gmail.com> wrote: > Thanks Michael, I tried what you suggested (on Debian Lenny) but no > joy (no errors running your commands but same usage error on trying > "sudo php-fpm start"). > > Basically my problem isn't with adding the service foby mike - Php-fpm Mailing List - English
I just do ln -s /usr/local/sbin/php-fpm /etc/init.d/php-fpm update-rc.d -f php-fpm remove update-rc.d -f php-fpm defaults on Ubuntu or Debian based seems to work... On Sun, Jan 10, 2010 at 7:21 AM, alexd <alexander.dean@gmail.com> wrote: > Hi, > > New to the group - having been using Nginx + spawn-fcgi for some time, > I'm now trying to catch up and get php-fpm working! I've fby mike - Php-fpm Mailing List - English
I said pastebin. The XML is stripped in gmail :) It does look like you have 5 children with 102400 requests apiece. That's pretty unbalanced. I think the usual amount of requests people have is 500. Perhaps increase your children to 10 and your requests to 1000? However it still means you're doing an insane amount of requests a second to be cycling through 102400 requests in a minute. Thby mike - Php-fpm Mailing List - English
It does work when I am restarting from my shell though. Your suggestion is to put it inside of php-fpm and nginx init scripts? In theory it shouldn't be needed if limits.conf and sysctl.conf are defined and it's configured inside of php-fpm and nginx as they will ask for that rlimit and it will not reject it. So really if I put it in those I can remove it from /etc/profile then anyway. Iby mike - Php-fpm Mailing List - English
i do a ulimit -n 131072 in /etc/profile but it whines when i login to any shell :) i didn't want to alter the default init script for nginx or php-fpm so i was looking to alter it somewhere else, i also wanted to make sure any user that nginx or php-fpm might be running as would inherit it. i'll have to test this out next time i reboot. On Sat, Jan 9, 2010 at 4:31 PM, wolfenstock <nginx-foruby mike - Php-fpm Mailing List - English
can you pastebin your php-fpm.conf? putting it in email strips it out at least in gmail. perhaps you configured apache_like instead of static (in which case it's totally ignored :)) On Sat, Jan 9, 2010 at 4:27 PM, lnxa <nginx-forum@nginx.us> wrote: > my vps server is 128 ram only! > mike! max_requests, max_children how to set? > > Posted at Nginx Forum: http://forum.nginx.by mike - Php-fpm Mailing List - English
That is really annoying you have to do it in both limits.conf -and- sysctl.conf That's probably been the missing thing in my config - some of my machines whine about the rlimit stuff and some don't. I bet the machines that don't have all of my extra sysctl.conf tweaks and the ones that whine don't :) On Sat, Jan 9, 2010 at 4:21 PM, lnxa <nginx-forum@nginx.us> wrote: > # ulimit -n >by mike - Php-fpm Mailing List - English
102,400 requests and you're still going through a child at 60 seconds? that would mean you're doing approximately 1706 requests/second... i wouldn't think you could support that many with only 5 children. On Sat, Jan 9, 2010 at 3:42 PM, lnxa <nginx-forum@nginx.us> wrote: > 102400 > 5 > thanks > > Posted at Nginx Forum: http://forum.nginx.org/read.php?3,39076,39261#msg-39261by mike - Php-fpm Mailing List - English
On Sat, Jan 9, 2010 at 4:42 AM, lnxa <nginx-forum@nginx.us> wrote: > Jan 08 10:56:22.518969 fpm_children_bury(), line 215: child 2734 (pool default) exited on signal 15 SIGTERM after 59.594192 seconds from start > Is the php-fpm setting has any problem? recycling after 60 seconds is pretty quick. what is your max_requests setting and how many children do you have configured? thaby mike - Php-fpm Mailing List - English
That's one thing that hasn't been officially decided. For now, I think Antony said to email him with any bugs since it's not in php.net as a category. Antony Dovgal <tony@daylessday.org> On Wed, Jan 6, 2010 at 9:15 PM, 任晓磊 <julyclyde@gmail.com> wrote: > 2010/1/7 Oleg Roschupkin <jjahson@gmail.com>: >> AFAIK script is now in /ext/init.d.php-fpm, but it is not inby mike - Php-fpm Mailing List - English
post the config On Wed, Jan 6, 2010 at 12:37 PM, Luka Horvatic <lists@ruby-forum.com> wrote: > I have antihotlink code but there for some reason www part of domain was > reporting 403 error,also it seems this doesnt just prevent image > hotlinking,it also produces 403 when someone click link which leads to > domain.Any way to set this properly? > -- > Posted via http://wwwby mike - Nginx Mailing List - English
So that sounds like a bug then? "backlog with -1 is supposed to take the sysctl value but does not" ? On Tue, Jan 5, 2010 at 10:44 AM, tachu <tachu1@gmail.com> wrote: > I figured out that the -1 value of the backlog that supposedly should > take the somaxconn value from the sysctl doesnt work. If i increase > the backlog on the fpm config to 4096 the errors disappear. myby mike - Php-fpm Mailing List - English
On Tue, Dec 29, 2009 at 4:07 PM, Maxim Dounin <mdounin@mdounin.ru> wrote: > The last one is the address added by last proxy. As we trust last > proxy - we use address added by it. > > The first address is the address as it came from client. You > probably don't want to trust it at all. > > If you want to pass original ip address of client through multiple > proxiby mike - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|