Re: Nginx worker processors D state and high I/O utilization !!

2013-07-15 Thread shahzaib shahzaib
Yes we're using raid-10. On Tue, Jul 16, 2013 at 10:17 AM, Steve Holdoway wrote: > How are you using them?? Raid 10? > > On the offchance, is > > http://www.greengecko.co.nz/content/western-digital-can-i-have-my-2-days-back > relevant? > > Cheers, > > Steve > > On Tue, 2013-07-16 at 10:10 +0500

Re: Nginx worker processors D state and high I/O utilization !!

2013-07-15 Thread Steve Holdoway
How are you using them?? Raid 10? On the offchance, is http://www.greengecko.co.nz/content/western-digital-can-i-have-my-2-days-back relevant? Cheers, Steve On Tue, 2013-07-16 at 10:10 +0500, shahzaib shahzaib wrote: > We're using 4XSata HDD 7200 rpm and yes it is hardly crossing > 20MB/sec. C

Re: Nginx worker processors D state and high I/O utilization !!

2013-07-15 Thread shahzaib shahzaib
We're using 4XSata HDD 7200 rpm and yes it is hardly crossing 20MB/sec. Could you please guide me a bit about the Max speed of SATA read? Thanks for prompt reply. On Tue, Jul 16, 2013 at 10:06 AM, Steve Holdoway wrote: > Your disk maxes out at 20MB/sec read? > > On Tue, 2013-07-16 at 09:59 +050

Re: Nginx worker processors D state and high I/O utilization !!

2013-07-15 Thread Steve Holdoway
Your disk maxes out at 20MB/sec read? On Tue, 2013-07-16 at 09:59 +0500, shahzaib shahzaib wrote: > Hello, > > > We're using nginx-1.2.8 to serve large static files for video > streaming. However all nginx worker_processes are in "D" state and HDD > I/O utilization is 99%. > > [root@DNTX0

Nginx worker processors D state and high I/O utilization !!

2013-07-15 Thread shahzaib shahzaib
Hello, We're using nginx-1.2.8 to serve large static files for video streaming. However all nginx worker_processes are in "D" state and HDD I/O utilization is 99%. [root@DNTX010 ~]# ps aux |grep nginx root 3046 0.0 0.0 20272 688 ?Ss 20:39 0:00 nginx: master process ngi

Re: EXSLT func:function not registered for XSLT filter module

2013-07-15 Thread Maxim Dounin
Hello! On Sat, Jul 13, 2013 at 12:19:51PM +0200, Kate F wrote: > Hi, > > I'm trying to use EXSLT's with nginx's xslt filter > module. The effect I think I'm seeing is that my functions are > seemingly ignored. [...] > Looking at ngx_http_xslt_filter_module.c I see exsltRegisterAll() is > call

SSL Reverse Proxy issues

2013-07-15 Thread mosiac
So I have a nginx.conf file that has multiple server blocks in it and they all are working except this one, and this one is half working so I assume I'm just missing one thing. Basically what happens is you can goto the server name that is set and the proxy pass works for that first site, but that

Re: Strange log file behavior

2013-07-15 Thread Grant
>> Any other ideas? > > Not sure if relevant, but in Gentoo's bug tracker are some open bugs > regarding current logrotate versions: > > https://bugs.gentoo.org/show_bug.cgi?id=476202 > https://bugs.gentoo.org/show_bug.cgi?id=474572 > https://bugs.gentoo.org/show_bug.cgi?id=476720 > > Seems to be u

Reg: SCGI application running error in NGINX server

2013-07-15 Thread P Amarnath
Hi, I got this error in log file while running SCGI client in address 172.16.8.180 and nginx running on 172.16.8.143. /Error/: *upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.16.8.180, server: 172.16.8.143, request: "POST / HTT

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-15 Thread John Doe
From: Atul Bansal >On Jul 15, 2013 4:01 PM, "John Doe" wrote: >>Do you need apache at all? >>Can you describe your processing chain? >>=> nginx => php-cgi ? >I want to run wordpress sites on this server. The processing sud be fast and efficient. Websites sud be able to open up speedly. So, pls

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-15 Thread Adrián Navarro
Given how lost you are I'd say go with Apache altogether, and forget nginx, as you'll have to deal with wp-specific config later on. And you seem pretty much lost. But if you want to stick to nginx, go with a correct configuration: forget apache and remove the proxy_pass. And if you want to

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-15 Thread Atul Bansal
Thanks.. So, which option should I go here: 1. Install only Nginx and remove Apache completely 2. Http request will be from Apache to Nginx 3. Http request will be from Nginx to Apache. 4. Any other best way Thanks' Atul Bansal www.techofweb.com www.wordpressthemeit.com www.oceanofweb.com On Jul 1

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-15 Thread Jim Ohlstein
On 7/15/13 7:51 AM, Atul Bansal wrote: Ok... So please suggest solution here.. I need to setup sites on nginx so tht processing of sites sud b fast I mean no disrespect, but the solution is to get a competent sysadmin. This can all be fixed in about 5-10 minutes. Your configuration is *com

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-15 Thread Maxim Dounin
Hello! On Mon, Jul 15, 2013 at 06:41:59PM +0530, Atul Bansal wrote: > Any helps here You should actually start Apache on your server - to do so on Linux you have to configure it to listen on a port different from one nginx is listening on (or to configure nginx to listen on an ip address inst

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-15 Thread Adrián Navarro
Remove the proxy_pass and its section altogether. Your config has duplicate routing: first a proxy_pass (apache? But to itself) then a fastcgi route. If you want pure nginx, remove the location..part with the proxy pass and reboot nginx. Sent from my BlackBerry -Original Message- Fr

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-15 Thread Atul Bansal
Hi Any helps here Thanks' Atul Bansal www.techofweb.com www.wordpressthemeit.com www.oceanofweb.com On Jul 15, 2013 5:21 PM, "Atul Bansal" wrote: > Ok... So please suggest solution here.. > I need to setup sites on nginx so tht processing of sites sud b fast > > Much Thanks > > Thanks' > Atul

Re: Strange log file behavior

2013-07-15 Thread Igor Sverkos
Hi, > Any other ideas? Not sure if relevant, but in Gentoo's bug tracker are some open bugs regarding current logrotate versions: https://bugs.gentoo.org/show_bug.cgi?id=476202 https://bugs.gentoo.org/show_bug.cgi?id=474572 https://bugs.gentoo.org/show_bug.cgi?id=476720 Seems to be upstream bug

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-15 Thread Atul Bansal
Ok... So please suggest solution here.. I need to setup sites on nginx so tht processing of sites sud b fast Much Thanks Thanks' Atul Bansal www.techofweb.com www.wordpressthemeit.com www.oceanofweb.com On Jul 15, 2013 5:15 PM, "Ruslan Ermilov" wrote: > On Sun, Jul 14, 2013 at 12:53:27AM +0200,

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-15 Thread Ruslan Ermilov
On Sun, Jul 14, 2013 at 12:53:27AM +0200, Atul B. wrote: > I dont think another nginx is already running as when I stopped my nginx > instance, i cannot see niginx running using the mentioned command... > The log error that i am getting is when I try to run any php file in my > browser. > However

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-15 Thread Maxim Dounin
Hello! On Sun, Jul 14, 2013 at 12:53:27AM +0200, Atul B. wrote: > I dont think another nginx is already running as when I stopped my nginx > instance, i cannot see niginx running using the mentioned command... > The log error that i am getting is when I try to run any php file in my > browser.

Re: Proxy returns 504 then blocks next connections

2013-07-15 Thread Maxim Dounin
Hello! On Mon, Jul 15, 2013 at 12:46:41AM -0400, abstein2 wrote: > The script is an ASPX script and, to my knowledge, it doesn't use sessions. > I don't control the script, but I can't duplicate the behavior when running > against the proxied server. It only occurs when going through the proxy. I

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-15 Thread Atul Bansal
I want to run wordpress sites on this server. The processing sud be fast and efficient. Websites sud be able to open up speedly. So, pls suggest me anything here. Thanks On Jul 15, 2013 4:01 PM, "John Doe" wrote: > From: Atul Bansal > > >httpd.conf > >Listen [::]:80 default_server ipv6only=on;

Re: Strange log file behavior

2013-07-15 Thread Grant
>> >> I noticed that most of my rotated nginx log files are empty (0 bytes). >> >> >> >> My only access_log directive is in nginx.conf: >> >> >> >> access_log /var/log/nginx/localhost.access_log combined; >> >> >> >> Also nginx is currently logging to >> >> /var/log/nginx/localhost.access_log.1 ins

Re: Strange log file behavior

2013-07-15 Thread Maxim Dounin
Hello! On Mon, Jul 15, 2013 at 02:49:47AM -0700, Grant wrote: > >> I noticed that most of my rotated nginx log files are empty (0 bytes). > >> > >> My only access_log directive is in nginx.conf: > >> > >> access_log /var/log/nginx/localhost.access_log combined; > >> > >> Also nginx is currently l

Re: connect() to 127.0.0.1:80 failed (99: Cannot assign requested address

2013-07-15 Thread John Doe
From: Atul Bansal >httpd.conf >Listen [::]:80 default_server ipv6only=on; > >default.conf >    listen       80 default_server; >        proxy_pass   http://127.0.0.1; >        fastcgi_pass   127.0.0.1:9000; So, apache listens on ipv6 :80 and nginx tries to listen on ipv4/v6 :80 and pass to ipv

Re: Strange log file behavior

2013-07-15 Thread Grant
>> I noticed that most of my rotated nginx log files are empty (0 bytes). >> >> My only access_log directive is in nginx.conf: >> >> access_log /var/log/nginx/localhost.access_log combined; >> >> Also nginx is currently logging to >> /var/log/nginx/localhost.access_log.1 instead of localhost.access

HTTP Upload Progress bug

2013-07-15 Thread alexandernst
I'm using NGINX 1.4.1 with the HTTP Upload Progress module but I'm getting some strange result when GETing the current progress. The uploaded size is always 0, while the total size is the size of the file I'm uploading. I know that the file is being uploaded because of wireshark, and also because o