I tried the new INI config style but ran into an odd error message
with both --ini and --ini-paste.

n...@ubuntu:/opt/virtualenv/myapp$ uwsgi --ini new.ini
*** Starting uWSGI 0.9.6 (32bit) on [Thu Sep  2 13:50:27 2010] ***
compiled with version: 4.4.3
Python version: 2.6.5 (r265:79063, Apr 16 2010, 13:28:26)
[GCC 4.4.3]
writing pidfile to /opt/virtualenv/myapp/uwsgi.pid
your memory page size is 4096 bytes
 *** WARNING: you have enabled harakiri without post buffering. Slow
upload could be rejected on post-unbuffered webservers ***
allocated 404 bytes (0 KB) for 1 request's buffer.
Setting PythonHome to /opt/virtualenv/myapp/...
uwsgi: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr)
(((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct
malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size)
>= (unsigned long)((((__builtin_offsetof (struct malloc_chunk,
fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t)))
- 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end &
pagemask) == 0)' failed.
Aborted

The problem comes and goes depending on the text in the INI file. For
example, adding an extra newline somewhere in the file sometimes makes
the program run.

I'm not sure it's relevant/helpful, but here is the uwsgi
configuration I was using:

[uwsgi]
master = true
pidfile = /opt/virtualenv/myapp/uwsgi.pid
socket = /opt/virtualenv/myapp/uwsgi.sock
chmod-socket = 666

home = /opt/virtualenv/myapp/
module = myapp.wsgi
pyargv = /opt/virtualenv/myapp/new.ini

processes = 4
harakiri = 20
memory-report = true

Nikolaj
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to