Strange uwsgi mountpoint for my django site with nginx -


i hit strange issue site(nginx1.7+uwsgi2.0+django1.6).

today see there strange log entries in uwsgi logs. snippet here:

mon aug 31 10:43:17 2015 - wsgi app 1 (mountpoint='zc.qq.com|') ready in 0 seconds on interpreter 0xf627c0 pid: 18360 zc.qq.com {address space usage: 421933056 bytes/402mb} {rss usage: 102522880 bytes/97mb} [pid: 18360|app: 1|req: 1/7] 61.132.52.107 () {42 vars in 684 bytes} [mon aug 31 10:43:17 2015] /cgi-bin/common/attr?id=260714&r=0.6131902049963026 => generated 0 bytes in 6113 msecs (http/1.1 301) 4 headers in 210 bytes (2 switches on core 0) zc.qq.com {address space usage: 421933056 bytes/402mb} {rss usage: 102522880 bytes/97mb} [pid: 18360|app: 1|req: 2/8] 61.132.52.105 () {44 vars in 986 bytes} [mon aug 31 10:43:29 2015] /cgi-bin/common/attr?id=260714&r=0.1676001222494321 => generated 0 bytes in 3 msecs (http/1.1 301) 4 headers in 210 bytes (2 switches on core 0) 

actually, zc.qq.com nothing site. so, how guy comes server? sits here wsgi app, so, keep restarting own django app, thus, takes django app more 5 secs respond http request.

i see pid strange app 18360. so, here:

[root@localhost uwsgi]# ps -ef|grep uwsgi root     18352     1  0 10:40 ?        00:00:00 uwsgi -x /home/uwsgi/uwsgi2.xml root     18353 18352  0 10:40 ?        00:00:00 uwsgi -x /home/uwsgi/uwsgi2.xml root     18354 18352  0 10:40 ?        00:00:00 uwsgi -x /home/uwsgi/uwsgi2.xml root     18355 18352  0 10:40 ?        00:00:00 uwsgi -x /home/uwsgi/uwsgi2.xml root     18356 18352  0 10:40 ?        00:00:00 uwsgi -x /home/uwsgi/uwsgi2.xml root     18357 18352  0 10:40 ?        00:00:12 uwsgi -x /home/uwsgi/uwsgi2.xml root     18358 18352  0 10:40 ?        00:00:00 uwsgi -x /home/uwsgi/uwsgi2.xml root     18359 18352  0 10:40 ?        00:00:13 uwsgi -x /home/uwsgi/uwsgi2.xml root     18360 18352  1 10:40 ?        00:00:18 uwsgi -x /home/uwsgi/uwsgi2.xml root     18871 18818  0 11:07 pts/2    00:00:00 grep uwsgi 

it comes uwsgi...but here uwsgi config file:

<uwsgi>   <socket>/var/run/uwsgi.socket</socket>   <listen>100</listen>   <master>true</master>   <vhost>true</vhost>   <no-site>true</no-site>   <pidfile>/usr/local/nginx/uwsgi.pid</pidfile>   <processes>8</processes>   <profiler>true</profiler>   <memory-report>true</memory-report>   <enable-threads>true</enable-threads>   <logdate>true</logdate>   <limit-as>6048</limit-as>   <daemonize>/home/django.log</daemonize> </uwsgi> 

and, here snippet in nginx.conf(domainname sample here)

server {         listen  80;         server_name www.mysite.com;         location / {             uwsgi_pass   unix:///var/run/uwsgi.socket;             include     uwsgi_params;             uwsgi_param uwsgi_chdir /home/mysite;             uwsgi_param uwsgi_script wsgi;            access_log  off;         }         location /static/ {         root            /home/mysite/;         access_log      off;         log_not_found   off;         autoindex on;     }  } 

so, nothings in config files related zc.qq.com or other strage domains(i see proxyjudge.info).

anyone hit before?

thanks. wesley

it because have enabled virtualhosting , dynamic apps not make check nginx side. first request non-configured (in uwsgi) domain, result in new app load


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -