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