Hello people,

I still seem to be facing problems with my TG site even using uwsgi
(I was using TG's webd's before)

Currently, we are running the site with just a master process,
with this settings:

(venv)vodo@main:/srv/vodo-net/config$ cat uwsgi/uwsgi.ini
[uwsgi]
socket = /var/run/vodo/uwsgi.socket
pidfile=/var/run/vodo/uwsgi.pid
wsgi-file = /srv/vodo-net/vodo_uwsgi.py
daemonize = /var/log/vodo/uwsgi.log
enable-threads = true
chmod-socket = true
virtualenv = /srv/venv

If I try adding:

master = true
processes = 10

I get a 'commands out of sync' exception.

Full backtrace here:
http://dpaste.com/701086/

Additionally, if I run just one process for uwsgi, there seems to be a
leak somewhere because uwsgi gets to take up all memory
until the OOM finally kills it.

Could someone give any hints on how to debug this?
How could I do profiling to my app?

I must say I have no experience with profiling though, but could get
to learn it, of course.

Thanks again for all the help!
Rama

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to