Welcome! Log In Create A New Profile

Advanced

Re: Nginx keep crashes when it is used in uwsgi

October 30, 2014 12:49PM
Thanks a lot Maxim,you identified the issue (Monitd is the issue), after stopping the monit i have not faced the issue. Thanks for the prompt and trust on the Nginx...

I have used following configurations:

server
{
listen 8090;
server_name uwsgi;

add_header Access-Control-Allow-Origin "*";
add_header Access-Control-Allow-Methods "GET, OPTIONS, POST";
add_header Access-Control-Allow-Headers "origin, authorization, accept";
# Django media
location /media
{
alias /usr/lib/python2.6/site-packages/django/contrib/admin/media;
}
location /static
{
alias /idap/Release/build/gp/webapp/content;
}
# Finally, send all non-media requests to the Django server.
location /
{
uwsgi_pass unix:/var/uwsgi/app.sock;
include /idap/activeRelease/conf/uwsgi/uwsgi_params;
}
}

----

[root@Stage03 ~]# /idap/activeRelease/nginx/sbin/nginx -V -c /idap/activeRelease/conf/nginx/idap_gp_nginx.conf
nginx version: nginx/1.7.6
configure arguments: --prefix=/home/amaran/src/idap/build --error-log-path=/ilogs/nginx/error.log --http-log-path=/ilogs/nginx/access/access.log --http-client-body-temp-path=/ilogs/nginx/cbdy --http-proxy-temp-path=/ilogs/nginx/proxy --http-fastcgi-temp-path=/ilogs/nginx/fastcgi --http-uwsgi-temp-path=/ilogs/nginx/uwsgi --http-scgi-temp-path=/ilogs/nginx/scgi --pid-path=/idap/activeRelease/tmp/pid --lock-path=/idap/activeRelease/tmp/lock --with-pcre=../pcre-8.36 --with-debug --add-module=nginx-backtrace-master/
[root@Stage03 ~]# /idap/activeRelease/nginx/sbin/nginx -V -c /idap/activeRelease/conf/nginx/idap_gp_nginx.conf
Subject Author Posted

Nginx keep crashes when it is used in uwsgi

arulmarans October 30, 2014 08:17AM

Re: Nginx keep crashes when it is used in uwsgi

Maxim Dounin October 30, 2014 09:16AM

Re: Nginx keep crashes when it is used in uwsgi

arulmarans October 30, 2014 10:34AM

Re: Nginx keep crashes when it is used in uwsgi

Maxim Dounin October 30, 2014 11:40AM

Re: Nginx keep crashes when it is used in uwsgi

arulmarans October 30, 2014 12:49PM

Re: Nginx keep crashes when it is used in uwsgi

arulmarans October 30, 2014 10:41AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready