we are getting "A LOT" of requests from one particular IP address. I turned on the access log to see what's what, and this is what I see repeatedly (i.e. thousands of times - like its in a loop): 168.9.38.5 - - [20/Oct/2009:10:53:43 -0500] 200 "GET / HTTP/1.0" 23201 "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLRby iberkner - Nginx Mailing List - English
We are currently running Nginx as a front end LB to a single PHP App Server. When we need a bit more horse power, I can divert traffic to the LB itself to process PHP requests with a minor change in the config. We are serving close to 2mm page views a day and growing. The Nginx configuration is a dual core, dual CPU AMD processor system, 32 bit with 8GB of RAM. We are also using it for deliverby iberkner - Nginx Mailing List - English
I'm pretty sure I installed it via PECL with no problems ? but I will have to revert back to my notes. We're giving eaccelerator a spin, just to see how things go. On Tue, Sep 15, 2009 at 5:12 AM, Michael Shadle <mike503@gmail.com> wrote: > > I use APC without any issues with PHP-FPM (the patch) on all versions > up to 5.2.10 > > Never had any issues (except when using apby iberkner - Php-fpm Mailing List - English
Thanks, that's not what I mean. For testing purposes, we'd like to have our work computers go to a particular upstream server at all times. I think that the ip_hash directive for the most part accomplishes that, but doesn't force one server over the other. Whichever one you end up with is the one you get... am I wrong? thanks On Mon, Sep 14, 2009 at 10:00 PM, Joshua Zhu <zhuzhaoyuan@gmail.by iberkner - Nginx Mailing List - English
Hi All, Just putting this out there... we're running Joomla and currently using APC. Does it make sense to switch to eAccelerator? I've seen and heard a mixed bag of reviews either way. We are using php-fpm of course. Any real world experience would be appreciated. Thanks!by iberkner - Php-fpm Mailing List - English
Does a higher weight mean higher priority or the other way around? Thanksby iberkner - Nginx Mailing List - English
this is what i have: upstream handlephp { server 127.0.0.1:9000; server 192.168.1.3:9000; } server { location ~ \.php$ { include fcgi; fastcgi_pass http://handlephp; } } This gives configuration error of: invalid upstream in host, on the fastcgi_pass line. When I change it to: proxy_pass http://handlephp, I don't get the configuration error but the website gives a "bad gby iberkner - Nginx Mailing List - English
Thank you so much for the detailed response as well as suggested nginx configuration, I will try it. There's no question that this is a problem with something somewhere and I will need to figure out what. Right now I don't have the bandwidth and b/c its clogging up the error log file, I want to clear that up and move on. I don't think that its happening due to crawlers as the pages that are comby iberkner - Nginx Mailing List - English
Great, I'll give that a shot. Thanks! On Thu, Sep 10, 2009 at 7:35 PM, István <leccine@gmail.com> wrote: > couple of days ago we had this thread: > > http://forum.nginx.org/read.php?2,5405 > > the init script you might to want: > > http://forum.nginx.org/file.php?2,file=92,filename=nginx.init,download=1 > > regards, > Istvan > > > On Thu, Sep 10, 20by iberkner - Nginx Mailing List - English
Hi All, Simple question, I think. Our error log is flooded with file not found requests for __utm.gif. This is part of google analytics and for some reason, the requested pages (some) are trying to load it locally. I have yet to figure this problem out in terms of the "why" but for now, I want to remove it from my error log. 2 options: 1. Put a copy of the file in our root directoryby iberkner - Nginx Mailing List - English
Istvan, see below: Linux server2.mydomain.com 2.6.18-128.4.1.el5PAE #1 SMP Tue Aug 4 20:58:34 EDT 2009 i686 athlon i386 GNU/Linux nginx version: nginx/0.8.14 Thanks! On Thu, Sep 10, 2009 at 6:46 PM, István <leccine@gmail.com> wrote: > uname -anginx -v > > pls. > > > On Thu, Sep 10, 2009 at 11:23 PM, Ilan Berkner <iberkner@gmail.com> wrote: > >> Reloadinby iberkner - Nginx Mailing List - English
Reloading nginx daemon configuration...cat: /var/run/nginx.pid: No such file or directory kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l can't reload. Any idea why? I can't stop it or restart it, I have to kill it and start.by iberkner - Nginx Mailing List - English
Yes, newbie to linux (a year into it, still learning every day). I searched on Google but am unclear on server settings that impact this vs. nginx settings and what the numbers should be, etc. On Thu, Sep 10, 2009 at 11:16 AM, István <leccine@gmail.com> wrote: > i would start with google, look up the "how to ask smart questions" > > and if you founded it and read it comby iberkner - Nginx Mailing List - English
how to handle? 2009/09/10 10:09:30 9691#0: accept() failed (24: Too many open files)by iberkner - Nginx Mailing List - English
1.6mm page views per day and growing (all dynamic php), this does not inclue a large number of static files (mostly mp3 files) being served as well. Nginx is serving both PHP and static files all from the same server. Main bottleneck right now is PHP processes getting overloaded, probably due to high number of connections (we are working on reducing this number - we have some inefficiencies wherby iberkner - Nginx Mailing List - English
Hi All, We serve MANY .mp3 file and images. These files hardly ever change so I'm thinking about serving them off of a "cookieless" domain per suggestion of the yslow component. 1. Does it make sense in general to do this? 2. How would you do it in Nginx? Currently we just have one webserver, we are thinking about adding another.by iberkner - Nginx Mailing List - English
Hi, Is it better to use a hardware load balancer in front of multiple nginx boxes, each running their own php processes or is it better to use nginx's upstream functionality and round robin php requests?by iberkner - Nginx Mailing List - English
Hi All, I finally figured out how to read the "stats" that nginx provides, although they are basic, its awesome. Our web server CPU and load get high when our traffic spikes and I'm just curious if someone could give me a "reasonable" quantification as to when its time to get another web server. What's holding up our web server are the PHP processes which are being held up bby iberkner - Nginx Mailing List - English
I wish I knew about this a month ago :-) Thanks!!!! On Thu, Sep 3, 2009 at 11:35 AM, raffael <nginx-forum@nginx.us> wrote: > Compile nginx with stub_status module > http://wiki.nginx.org/NginxHttpStubStatusModule and use it :) > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,5474,5575#msg-5575 > > >by iberkner - Nginx Mailing List - English
I believe that's correct. On Thu, Sep 3, 2009 at 1:36 AM, Ilan Berkner <iberkner@gmail.com> wrote: > Thanks Igor, problem solved, turns out I needed to add the Verisign > intermediate key. > > 2009/9/3 Igor Sysoev <is@rambler-co.ru> > >> On Wed, Sep 02, 2009 at 11:59:28PM -0400, Ilan Berkner wrote: >> >> > We recently switched from GoDaddy SSL certby iberkner - Nginx Mailing List - English
Thanks Igor, problem solved, turns out I needed to add the Verisign intermediate key. 2009/9/3 Igor Sysoev <is@rambler-co.ru> > On Wed, Sep 02, 2009 at 11:59:28PM -0400, Ilan Berkner wrote: > > > We recently switched from GoDaddy SSL certificate to Verisign's. > > Installation on Nginx went well. > > > > Some users and browsers are reporting that the "cerby iberkner - Nginx Mailing List - English
We recently switched from GoDaddy SSL certificate to Verisign's. Installation on Nginx went well. Some users and browsers are reporting that the "certificate was signed by an unknown authority". You can try this by going to https://www.spellingcity.com. It doesn't seem that we had this issue with the GoDaddy certificate... is there anything else I need to do with Nginx SSL configuratiby iberkner - Nginx Mailing List - English
The problem that we're experiencing is that our single web server is getting "flooded" (not in a bad way) with a lot of incoming connections, our site is growing (yey). So I'm trying to figure out the best way to accommodate the growth. In our case, nginx itself is humming along just fine, but PHP is choking on requests both due to quantity of requests (it can't process them fast enougby iberkner - Nginx Mailing List - English
Maybe I'm not explaining myself correctly, maybe your suggestions are the right way to go, but I see a lot of nginx examples such as this: upstream phpproviders { server 127.0.0.1:3000; server 127.0.0.1:3001; server 127.0.0.1:3002; } In this example, different port numbers are used, but you can use different ip addresses. inside the location / tag you would specify:by iberkner - Nginx Mailing List - English
So the time has come for us to add another web server (number 2) to our configuration to help with the amount of connections we're getting. I'm looking for some basic recommendations in terms of configuration of nginx. That is: 1. Do I run exactly the same configuration on both boxes and load balance externally (i.e. nginx + php-fpm on each box + dedicated mysql server) or 2. Do I run nginx + phby iberkner - Nginx Mailing List - English
Perhaps not the appropriate forum... but why / where did you hear that it was "stupid" to do / use SEF? Thanks On Sat, Aug 29, 2009 at 12:36 AM, AMP Admin wrote: > A few years we went along with the buzz about writing search engine > friendly urls. Well now I think thatby iberkner - Nginx Mailing List - English
we had sent out a news letter where a href tag that was supposed to go to another domain ended up looking like this: http://www.ourdomain.com/www.theirdomain.com Is there an easy way in nginx to redirect this type of request to the www.theirdomain.com website? or maybe I should just create a file with the " www.theirdomain.com" name and do a meta tag refresh on it? thanks!by iberkner - Nginx Mailing List - English
Igor, Thank you for the fast response, I'm not exactly clear regarding your question. Currently we're passing all of our requests to PHP via fastcgi. 2009/8/21 Igor Sysoev > On Fri, Aug 21, 2009 at 09:08:42AM -0400, Ilan Berkner wrote: > > > I've come across this setting for nginx, but am not sure if this will > solve > > it? > > > > proxy_set_hby iberkner - Nginx Mailing List - English
I've come across this setting for nginx, but am not sure if this will solve it? proxy_set_header X_FORWARDED_PROTO https; 2009/8/21 Igor Sysoev > On Thu, Aug 20, 2009 at 09:05:18PM -0400, Ilan Berkner wrote: > > > So we're doing a credit card transaction and it comes back from paypal on > > the return trip with that error (on our end). The reason is that theby iberkner - Nginx Mailing List - English