Il giorno 18/mag/2012, alle ore 12:05, Lewis ha scritto:

> 
> 
> 
> That's the news from Lake Woebegone.  
> 
> On the surface, nginx looks much easier to set up than apache.  But, uwsgi 
> seems much more difficult than mod_wsgi.
> 
> Thanks for everyone's help.
> 

From your latest config i have to assume you have finally followed my advice on 
reading the Quickstart.
Finally your config does not look a copy&paste :) I would make it even simpler, 
but for now is enough.

By the way, do not you think ps aux has helped you showing the problem ?

/usr/local/bin/uwsgi -x /etc/uwsgi/uwsgi-conf.xml -p /var/run/uwsgi.pid

why that -p ?

from the --help:

-p|--processes <n>               spawn <n> uwsgi worker processes
-p|--workers <n>                 spawn <n> uwsgi worker processes

So:

/usr/local/bin/uwsgi -x /etc/uwsgi/uwsgi-conf.xml

should do the trick.

After that (i suppose it will start working). Re-read your config, check 
official docs, and tell me if you really think all of this stuff does not make 
sense or
is over-hard ;)   You simply pointed your eyes to the wrong places (and that is 
a common problem, do not worry) and you have been beaten by some "funny"
distro choice.

--
Roberto De Ioris
http://unbit.it
JID: robe...@jabber.unbit.it

Reply via email to