[PATCH] The directives such as user, rlimit_core should also be effective on master process

2014-08-05 Thread Kunal Pariani
# HG changeset patch # User Kunal Pariani # Date 1407194790 25200 # Mon Aug 04 16:26:30 2014 -0700 # Node ID f25ab24517bb5e45b1b7fa1a1502b907f2cff213 # Parent f8764e20fcd7f87d98fe97f82b2a8d0a77ed9097 The directives such as user, rlimit_core should also be effective on master process diff -

Re: [PATCH] The directives such as user, rlimit_core should also be effective on master process

2014-08-05 Thread Maxim Dounin
Hello! On Tue, Aug 05, 2014 at 02:26:59AM -0500, Kunal Pariani wrote: > # HG changeset patch > # User Kunal Pariani > # Date 1407194790 25200 > # Mon Aug 04 16:26:30 2014 -0700 > # Node ID f25ab24517bb5e45b1b7fa1a1502b907f2cff213 > # Parent f8764e20fcd7f87d98fe97f82b2a8d0a77ed9097 > The di

Re: [PATCH] Perl: NULL-terminate argument list

2014-08-05 Thread Piotr Sikora
Hey Maxim, any progress on this? The original patch fixes consistent and 100% reproducible crashes for me, so it cannot be that bad ;) Best regards, Piotr Sikora ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinf

Regarding using of nginx http load balancer

2014-08-05 Thread Pankaj Kaushik
Hi Team, I would like to use nginx http load balancer. I want to parse http uri and based on some key present in uri, i want the backened server to be selected dynamically. I want to use consistent hash mechanism which will hash the key present in uri and gives me the server ip corresponding to

Re: [PATCH] Core: add support for expressing size in gigabytes

2014-08-05 Thread Piotr Sikora
Hey Maxim, > Memory sizes in gigabytes are almost always wrong, and we > intentionally don't understand gigabytes here as an additional > safety belt. > > I don't think this should be added. I disagree. For me (and, most likely, others) this just means that I need to replace "1g" or "2g" with "10

Re: Regarding using of nginx http load balancer

2014-08-05 Thread Piotr Sikora
Hey, > I want to parse http uri and based on some key present in uri, i want the > backened server to be selected dynamically. > > I want to use consistent hash mechanism which will hash the key present in > uri and gives me the server ip corresponding to that. What's wrong with "hash" [1]? [1]

[PATCH] Style: use ngx_str_set()

2014-08-05 Thread Piotr Sikora
# HG changeset patch # User Piotr Sikora # Date 1407228679 25200 # Tue Aug 05 01:51:19 2014 -0700 # Node ID 42d455aafd7fc9c3ab204c6bf7f60a8aafb5179c # Parent f8764e20fcd7f87d98fe97f82b2a8d0a77ed9097 Style: use ngx_str_set(). Signed-off-by: Piotr Sikora diff -r f8764e20fcd7 -r 42d455aafd7f

Re: Regarding using of nginx http load balancer

2014-08-05 Thread Pankaj Kaushik
Hey Piotr, On Tue, Aug 5, 2014 at 2:21 PM, Piotr Sikora wrote: > > What's wrong with "hash" [1]? > > [1] http://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash > > As mentioned in the syntax at above link:- Syntax:*hash* *key* [consistent]; Default:—Context:upstream In my scenari

Re: [PATCH] Perl: NULL-terminate argument list

2014-08-05 Thread Maxim Dounin
Hello! On Tue, Aug 05, 2014 at 01:39:23AM -0700, Piotr Sikora wrote: > Hey Maxim, > any progress on this? The original patch fixes consistent and 100% > reproducible crashes for me, so it cannot be that bad ;) Somebody have to investigate these crashes to find out where the problem is. As prev

Re: Regarding using of nginx http load balancer

2014-08-05 Thread Roman Arutyunyan
On 05 Aug 2014, at 12:58, Pankaj Kaushik wrote: > Hey Piotr, > > > > On Tue, Aug 5, 2014 at 2:21 PM, Piotr Sikora wrote: > > What's wrong with "hash" [1]? > > [1] http://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash > > > > As mentioned in the syntax at above link:- > > Syn

Re: [PATCH] Perl: NULL-terminate argument list

2014-08-05 Thread Piotr Sikora
Hey Maxim, > Somebody have to investigate these crashes to find out where the > problem is. As previously suggested, nginx code matches perlembed > samples, and it looks like as either perl itself or perlembed bug. > I also suspect that the patch fixes things due to some > side effect, not becaus

Re: Regarding using of nginx http load balancer

2014-08-05 Thread Pankaj Kaushik
Hey Roman, I do not actually get the idea how to use map in below scenario. Suppose i have two form of uri as mentioned below:- URI 1 : http://abc.10.23.32.22:2000/testFile URI 2 : http://10.20.32.23:2000/def/testFile So i want to fetch out following substring from above mentioned URI's as a k

Re: Regarding using of nginx http load balancer

2014-08-05 Thread Roman Arutyunyan
On 05 Aug 2014, at 15:11, Pankaj Kaushik wrote: > Hey Roman, > > I do not actually get the idea how to use map in below scenario. > > Suppose i have two form of uri as mentioned below:- > > URI 1 : http://abc.10.23.32.22:2000/testFile > > URI 2 : http://10.20.32.23:2000/def/testFile > > So

[nginx] Mail: discard pipelined commands after SMTP STARTTLS.

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/3f5d0af4e40a branches: changeset: 5787:3f5d0af4e40a user: Maxim Dounin date: Tue Aug 05 12:22:07 2014 +0400 description: Mail: discard pipelined commands after SMTP STARTTLS. The bug had appeared in nginx 1.5.6 (04e43d03e153). Reported by Chri

[nginx] nginx-1.7.4-RELEASE

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/cbb146b12029 branches: changeset: 5788:cbb146b12029 user: Maxim Dounin date: Tue Aug 05 15:13:04 2014 +0400 description: nginx-1.7.4-RELEASE diffstat: docs/xml/nginx/changes.xml | 129 + 1 files ch

[nginx] Updated PCRE used for win32 builds.

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/358186e79635 branches: stable-1.6 changeset: 5793:358186e79635 user: Maxim Dounin date: Fri Jul 04 22:34:03 2014 +0400 description: Updated PCRE used for win32 builds. diffstat: misc/GNUmakefile | 2 +- 1 files changed, 1 insertions(+), 1 del

[nginx] Version bump.

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/af00bfa9b701 branches: stable-1.6 changeset: 5790:af00bfa9b701 user: Maxim Dounin date: Tue Aug 05 12:20:22 2014 +0400 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] release-1.7.4 tag

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/930ce13f19ab branches: changeset: 5789:930ce13f19ab user: Maxim Dounin date: Tue Aug 05 15:13:05 2014 +0400 description: release-1.7.4 tag diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff --gi

[nginx] Reset of r->uri.len on URI parsing errors.

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/b8188afb3bbb branches: stable-1.6 changeset: 5794:b8188afb3bbb user: Maxim Dounin date: Fri Jul 18 20:02:11 2014 +0400 description: Reset of r->uri.len on URI parsing errors. This ensures that debug logging and the $uri variable (if used in 400

[nginx] Mail: added a check for the number of arguments in MAIL/...

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/d68cd5070f3d branches: stable-1.6 changeset: 5791:d68cd5070f3d user: Maxim Dounin date: Wed May 21 21:56:20 2014 +0400 description: Mail: added a check for the number of arguments in MAIL/RCPT. Missed during introduction of the SMTP pipelining s

[nginx] Updated OpenSSL used for win32 builds.

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/82f7240614de branches: stable-1.6 changeset: 5792:82f7240614de user: Maxim Dounin date: Tue Jun 17 11:38:55 2014 +0400 description: Updated OpenSSL used for win32 builds. diffstat: misc/GNUmakefile | 2 +- 1 files changed, 1 insertions(+), 1

[nginx] Mail: discard pipelined commands after SMTP STARTTLS.

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/4b8a54df08de branches: stable-1.6 changeset: 5795:4b8a54df08de user: Maxim Dounin date: Tue Aug 05 12:22:07 2014 +0400 description: Mail: discard pipelined commands after SMTP STARTTLS. The bug had appeared in nginx 1.5.6 (04e43d03e153). Report

[nginx] release-1.6.1 tag

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/0bf52ed7a36c branches: stable-1.6 changeset: 5797:0bf52ed7a36c user: Maxim Dounin date: Tue Aug 05 15:18:34 2014 +0400 description: release-1.6.1 tag diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines):

[nginx] nginx-1.6.1-RELEASE

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/0cf84a39c1db branches: stable-1.6 changeset: 5796:0cf84a39c1db user: Maxim Dounin date: Tue Aug 05 15:18:34 2014 +0400 description: nginx-1.6.1-RELEASE diffstat: docs/xml/nginx/changes.xml | 46 ++

Re: [PATCH] The directives such as user, rlimit_core should also be effective on master process

2014-08-05 Thread Quanah Gibson-Mount
--On Tuesday, August 05, 2014 12:58 PM +0400 Maxim Dounin wrote: Hello! On Tue, Aug 05, 2014 at 02:26:59AM -0500, Kunal Pariani wrote: # HG changeset patch # User Kunal Pariani # Date 1407194790 25200 # Mon Aug 04 16:26:30 2014 -0700 # Node ID f25ab24517bb5e45b1b7fa1a1502b907f2cff213

Re: [PATCH] The directives such as user, rlimit_core should also be effective on master process

2014-08-05 Thread Igor Sysoev
On 05 Aug 2014, at 21:10, Quanah Gibson-Mount wrote: > --On Tuesday, August 05, 2014 12:58 PM +0400 Maxim Dounin > wrote: > >> Hello! >> >> On Tue, Aug 05, 2014 at 02:26:59AM -0500, Kunal Pariani wrote: >> >>> # HG changeset patch >>> # User Kunal Pariani >>> # Date 1407194790 25200 >>> #

[nginx] Access log: allowed logs to syslog with "if=" (ticket #5...

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/b1f8285297a7 branches: changeset: 5799:b1f8285297a7 user: Maxim Dounin date: Wed Aug 06 00:22:36 2014 +0400 description: Access log: allowed logs to syslog with "if=" (ticket #596). diffstat: src/http/modules/ngx_http_log_module.c | 17 +

[nginx] Version bump.

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/3ef33f32dde8 branches: changeset: 5798:3ef33f32dde8 user: Maxim Dounin date: Tue Aug 05 22:50:25 2014 +0400 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines):

[nginx] Perl: NULL-terminate argument list.

2014-08-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/0570e42ffeed branches: changeset: 5800:0570e42ffeed user: Piotr Sikora date: Thu Jun 19 04:16:36 2014 -0700 description: Perl: NULL-terminate argument list. perl_parse() function expects argv/argc-style argument list, which according to the C s

Re: [PATCH] Perl: NULL-terminate argument list

2014-08-05 Thread Maxim Dounin
Hello! On Tue, Aug 05, 2014 at 03:33:18AM -0700, Piotr Sikora wrote: > Hey Maxim, > > > Somebody have to investigate these crashes to find out where the > > problem is. As previously suggested, nginx code matches perlembed > > samples, and it looks like as either perl itself or perlembed bug. >

Re: [PATCH] Style: use ngx_str_set()

2014-08-05 Thread Maxim Dounin
Hello! On Tue, Aug 05, 2014 at 01:52:59AM -0700, Piotr Sikora wrote: > # HG changeset patch > # User Piotr Sikora > # Date 1407228679 25200 > # Tue Aug 05 01:51:19 2014 -0700 > # Node ID 42d455aafd7fc9c3ab204c6bf7f60a8aafb5179c > # Parent f8764e20fcd7f87d98fe97f82b2a8d0a77ed9097 > Style: u

Re: [PATCH] Style: use ngx_str_set()

2014-08-05 Thread Piotr Sikora
Hey Maxim, > I don't like at least some of the changes, and I would rather say > no. Which one and why? I suspected that you might not like some of the changes, but I decided to send them all together instead of one by one... It doesn't have to be all or nothing. I also think that it's a good pr

Regarding nginx control pannel

2014-08-05 Thread Pankaj Kaushik
Hi Guys, I want to see gui for nginx where i want to look at how ngnix is distributing load among set of given servers. Can anybody let me now from where i can get nginx gui or some kind of control panel for that. Thanks, Panky ___ nginx-devel mailing