On 10 feb, 21:24, Carlos Daniel Ruvalcaba Valenzuela
<[email protected]> wrote:
> You could try setting threading off unless you spaw threads on your tg
> app, uwsgi does not make use of threads in your config and test if
> that helps.
>
> Also what version of uwsgi are you using? there seems to be problems
> with 1.0.3 I think, it would be useful to cross post this to the uwsgi
> list. Although this seems to be a db connectivity related problem too.

Thanks for your tips Carlos,

I don't spaw threads on tg, so have disabled threads on uwsgi.

I was using version 1.0.2.1, and tried upgrading to latest stable
(1.0.4) but the same problem occurs.

( ProgrammingError: Commands out of sync; you can't run this command
now )

I have also tried upgrading SQLObject from 0.11.0 to latest (1.2.1)
but it didn't help either.

My uwsgi.ini looks like this:

[uwsgi]
socket = /var/run/vodo/uwsgi-staging.socket
pidfile=/var/run/vodo/uwsgi-staging.pid
wsgi-file = /srv/staging/vodo-net/vodo_uwsgi-staging.py
daemonize = /var/log/vodo/staging/uwsgi.log
enable-threads = false
chmod-socket = true
virtualenv = /srv/staging/staging-venv
master = true
processes = 10

I will post to uwsgi list now, but if anybody has any tips, all are
welcome.

Thanks again,
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