Re: Memory leaks when used as a shared library

2015-07-31 Thread xfeep
BTW, after start nginx by valgrind it won't print memory leaks report until we stop nginx by $ objs/nginx -c work-dir/test.conf -p work-dir Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260692,260693#msg-260693 ___ nginx mailing list nginx@

Memory leaks when used as a shared library

2015-07-31 Thread xfeep
Hi, I want to build nginx into a shared library for this feature of nginx-clojure: https://github.com/nginx-clojure/nginx-clojure/issues/86 . But i found that there's memory leaks after stop server but without exit the process. Then I tried valgrind to check a simple test without any 3rd party m

Re: ssh load-balancing

2015-07-31 Thread jerrywyman
Thanks Maxim, I'll give that a try. Much appreciated, Jerry Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260683,260691#msg-260691 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Perl + fcgi + nginx - what am I doing wrong?

2015-07-31 Thread Francis Daly
On Fri, Jul 31, 2015 at 02:55:02PM -0400, youradds wrote: Hi there, Good that you found and fixed the problem. > I had: > > fastcgi_param SCRIPT_FILENAME > /srv/www/site.net/www/cgi-bin/$fastcgi_script_name; > > but it wasn't in the cgi-binIt should have been: > > fastcgi_param SCRIPT_FIL

Re: ssh load-balancing

2015-07-31 Thread Maxim Konovalov
On 7/31/15 8:05 PM, Jerry Wyman wrote: > Hi, > > I’m new to nginx and am trying to load-balance ssh sessions to an > autoscaling group of ECS instances in AWS. > [...] Just curious: is it just a test or a real use-case? Why does anybody want to load-balance ssh? -- Maxim Konovalov http://nginx

Re: Perl + fcgi + nginx - what am I doing wrong?

2015-07-31 Thread youradds
haha yup - that was it! Just tweaked the config for it, and it works perfectly. Still got some fun and games to do with the modules that need installing- but at least I can finally access it from the browser, to test it all. Thanks again! Andy Posted at Nginx Forum: http://forum.nginx.org/read.

Re: Perl + fcgi + nginx - what am I doing wrong?

2015-07-31 Thread youradds
Hi, Ah now I feel like a total muppet! I had: fastcgi_param SCRIPT_FILENAME /srv/www/site.net/www/cgi-bin/$fastcgi_script_name; but it wasn't in the cgi-binIt should have been: fastcgi_param SCRIPT_FILENAME /srv/www/site.net/www/$fastcgi_script_name; Reboot it, and it works fine now.,

Re: Perl + fcgi + nginx - what am I doing wrong?

2015-07-31 Thread Erick Ocrospoma
Hi, On 31 July 2015 at 07:55, youradds wrote: > Hi, > > I've already got a live + dev site running under nginx and perl (with > fcgi), > but I can't for the life of me work out why its not working this time > around. I've setup a new dev server. I wont bore you with all of the > details, but suf

Re: ssh load-balancing

2015-07-31 Thread Maxim Dounin
Hello! On Fri, Jul 31, 2015 at 05:05:22PM +, Jerry Wyman wrote: > I’m new to nginx and am trying to load-balance ssh sessions to > an autoscaling group of ECS instances in AWS. > > Having trouble getting my config files right. I don’t get any > errors on startup, but my access.logs shows t

Re: Perl + fcgi + nginx - what am I doing wrong?

2015-07-31 Thread youradds
Hi Fancis, Thanks for the reply! > What is shown when you "diff" the working old nginx.conf and the failing > new nginx.conf? Not a huge amount tbh. The live one has: pid /var/run/nginx.pid; and new dev has: pid /run/nginx.pid; New one has: ## # SSL Settings ##

ssh load-balancing

2015-07-31 Thread Jerry Wyman
Hi, I’m new to nginx and am trying to load-balance ssh sessions to an autoscaling group of ECS instances in AWS. Having trouble getting my config files right. I don’t get any errors on startup, but my access.logs shows this lines for each attempt and the command line gives me this : ssh ec2-u

Re: Perl + fcgi + nginx - what am I doing wrong?

2015-07-31 Thread Francis Daly
On Fri, Jul 31, 2015 at 08:55:44AM -0400, youradds wrote: Hi there, > I've already got a live + dev site running under nginx and perl (with fcgi), > but I can't for the life of me work out why its not working this time > around. What is shown when you "diff" the working old nginx.conf and the fa

Re: Perl + fcgi + nginx - what am I doing wrong?

2015-07-31 Thread youradds
FWIW - this is what I get when I run it via SSH: root@server:/var/run# perl /srv/www/site.net/www/index.pl Content-Type: text/html FOO ...yet I get a 403 in the browser (and nothing in the site error_log) TIA Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260678,260681#msg-260681 _

Perl + fcgi + nginx - what am I doing wrong?

2015-07-31 Thread youradds
Hi, I've already got a live + dev site running under nginx and perl (with fcgi), but I can't for the life of me work out why its not working this time around. I've setup a new dev server. I wont bore you with all of the details, but suffice to say I have installed (via apt-get); sudo apt-get

Re: Free O’Reilly animal book about nginx

2015-07-31 Thread Mark Mielke
I requested it a few days ago. It was a little confusing. The link was circular... You get a link to request a copy which gets you a link to request a copy. But the email had a pdf attachment and that was the book if I recall correctly... I really like nginx and the thinking of the people behind it

Re: Free O’Reilly animal book about nginx

2015-07-31 Thread Maxim Konovalov
Hi, [...] > Thank you, but the download doesn't start on my Firefox. > Check your mailbox instead. You should receive a link to the preview. -- Maxim Konovalov http://nginx.com ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/

Re: Free O’Reilly animal book about nginx

2015-07-31 Thread Gregory Edigarov
On 07/30/2015 10:34 PM, Igor Sysoev wrote: Nearly 20 years ago I read my first O’Reilly book, Learning Perl. Back then I never would have dreamed O’Reilly would someday publish a book written about the software I created, yet here we are today. I am honored to announce that l