This is from a somewhat early test of uwsgi so I'm not doing anything too
fancy.  Here's what my console looks like:

$  /opt/uwsgi/uwsgi -s 127.0.0.1:3031 -w server
*** Starting uWSGI 0.9.6.6 (64bit) on [Mon Jan 10 23:00:55 2011] ***
compiled with version: 4.5.1 20100924 (Red Hat 4.5.1-4)
Python version: 2.7 (r27:82500, Sep 16 2010, 18:02:00)
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)]
 *** WARNING: you are running uWSGI without its master process manager ***
your memory page size is 4096 bytes
allocated 640 bytes (0 KB) for 1 request's buffer.
binding on TCP port: 3031
your server socket listen backlog is limited to 64 connections
initializing hooks...done.
...getting the applications list from the 'server' module...
application 1 (profile) ready
application 0 () ready
setting default application to 0
application 2 (group) ready
application 3 (post) ready
application 4 (login) ready
application 5 (register) ready
application 6 (gallery) ready
application 7 (view) ready
spawned uWSGI worker 1 (and the only) (pid: 4951)
uwsgi: /builddir/build/BUILD/Python-2.7/Modules/gcmodule.c:326:
visit_decref: Assertion `gc->gc.gc_refs != 0' failed.
Aborted
$

Here is my application dictionary:

uwsgi.applications = {'gallery':gallery,
                        'group':group,
                        'login':login,
                        'post':post,
                        'profile':profile,
                        'register':register,
                        'view':view,
                        '':app
}

app() is local to the module, all others are imported.  I spaced it out to
one entry per line so that I comment applications out one at a time and
determined that I can make uwsgi start correctly by disabling all but two
entries.  It doesn't matter which two.

I feel like I'm just missing something.  What's the deal?
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to