Welcome! Log In Create A New Profile

Advanced

Re: timeout with UWSGI?

Alex Hall
May 11, 2016 10:50AM
Ah, that explains it. Thanks.

nginx -V
nginx version: nginx/1.6.2
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -fstack-protector-strong
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2'
--with-ld-opt=-Wl,-z,relro --prefix=/usr/share/nginx
--conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log
--error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock
--pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi
--http-proxy-temp-path=/var/lib/nginx/proxy
--http-scgi-temp-path=/var/lib/nginx/scgi
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit
--with-ipv6 --with-http_ssl_module --with-http_stub_status_module
--with-http_realip_module --with-http_auth_request_module
--with-http_addition_module --with-http_dav_module --with-http_geoip_module
--with-http_gzip_static_module --with-http_image_filter_module
--with-http_spdy_module --with-http_sub_module --with-http_xslt_module
--with-mail --with-mail_ssl_module
--add-module=/build/nginx-T5fW9e/nginx-1.6.2/debian/modules/nginx-auth-pam
--add-module=/build/nginx-T5fW9e/nginx-1.6.2/debian/modules/nginx-dav-ext-module
--add-module=/build/nginx-T5fW9e/nginx-1.6.2/debian/modules/nginx-echo
--add-module=/build/nginx-T5fW9e/nginx-1.6.2/debian/modules/nginx-upstream-fair
--add-module=/build/nginx-T5fW9e/nginx-1.6.2/debian/modules/ngx_http_substitutions_filter_module


On Wed, May 11, 2016 at 10:44 AM, Andrew Hutchings <ahutchings@nginx.com>
wrote:

> Hi Alex,
>
> nginx -V uses stderr, so try:
>
> nginx -V 2>/tmp/out.txt
>
> This will redirect stderr to the file instead of stdout.
>
> Kind Regards
> Andrew
>
> On 11/05/16 15:34, Alex Hall wrote:
>
>> Ineeed. Sorry about that. The problem is that I can't capture the output
>> of nginx -V, as--for some reason--the > symbol is only producing an
>> empty file. I can't copy and paste directly from or to the prompt
>> either. If you tell me what you're looking for in nginx -V, I can tell
>> you that value, but there's a lot of information there.
>>
>> My site configuration file is:
>>
>> server {
>> include restrictions/localOnly;
>> listen 80;
>> server_tokens off;
>> server_name myapp.mysite.com http://myapp.mysite.com;
>> location / {
>> include uwsgi_params;
>> uwsgi_pass 127.0.0.1:9876 http://127.0.0.1:9876;
>> }
>>
>> location /static {
>> alias /var/www/myapp/app/static;
>> }
>>
>>
>> }
>>
>>
>>
>> On Wed, May 11, 2016 at 3:24 AM, Francis Daly <francis@daoine.org
>> <mailto:francis@daoine.org>> wrote:
>>
>> On Tue, May 10, 2016 at 05:09:21PM -0400, Alex Hall wrote:
>>
>> Hi there,
>>
>> > We may be finding the problem... I'm not sure what you mean by
>> 'upstream
>> > service'.
>>
>> Somehow, you tell nginx to talk to "the next server". It can be with
>> "proxy_pass" or "fastcgi_pass" or, most likely here, "uwsgi_pass".
>>
>> "the next server" is the upstream, in this context.
>>
>> And the directive is whichever *_pass you use here.
>>
>> Cheers,
>>
>> f
>> --
>> Francis Daly francis@daoine.org <mailto:francis@daoine.org>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org <mailto:nginx@nginx.org>
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>>
>>
>>
>> --
>> Alex Hall
>> Automatic Distributors, IT department
>> ahall@autodist.com <mailto:ahall@autodist.com>
>>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>>
> --
> Andrew Hutchings (LinuxJedi)
> Technical Product Manager, NGINX Inc.
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



--
Alex Hall
Automatic Distributors, IT department
ahall@autodist.com
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

timeout with UWSGI?

Alex Hall May 10, 2016 03:32PM

Re: timeout with UWSGI?

Francis Daly May 10, 2016 04:32PM

Re: timeout with UWSGI?

Alex Hall May 10, 2016 05:12PM

Re: timeout with UWSGI?

Francis Daly May 11, 2016 03:26AM

Re: timeout with UWSGI?

Aleksandar Lazic May 11, 2016 09:56AM

Re: timeout with UWSGI?

Alex Hall May 11, 2016 10:04AM

Re: timeout with UWSGI?

Aleksandar Lazic May 11, 2016 10:24AM

Re: timeout with UWSGI?

Alex Hall May 11, 2016 10:36AM

Re: timeout with UWSGI?

Andrew Hutchings May 11, 2016 10:46AM

Re: timeout with UWSGI?

Alex Hall May 11, 2016 10:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 178
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready