Il giorno 17/set/2010, alle ore 17.27, Luc Stepniewski ha scritto: > > > I tried to launch uwsgi with "uwsgi --ini uwsgi.ini", but I get: > > # uwsgi --ini uwsgi.ini > *** Starting uWSGI 0.9.6.1 (64bit) on [Fri Sep 17 17:26:57 2010] *** > compiled with version: 4.4.3 > Python version: 2.6.5 (r265:79063, Apr 16 2010, 14:15:55) > [GCC 4.4.3] > uWSGI running as root, you can use --uid/--gid/--chroot options > *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** > *** WARNING: you are running uWSGI without its master process manager *** > your memory page size is 4096 bytes > allocated 624 bytes (0 KB) for 1 request's buffer. > 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 >
Another user reported this problem some week ago but i never be able to reproduce it. Can you try with the latest 0.9.6.2 or with the mercurial tree ? Which Ubuntu version are you using ? > > If I comment the second entry block ([foobar]), I get : > if you do not specify the section with <inifile>:section you have to name it [uwsgi] Regard your request of allowing the spawn of multiple instances with only one file is one of the core features of the next 0.9.7 release. There will be an "emperor process manager" that will spawn master and workers. I bet that packagers will make amazing thing with init scripts and emperor process manager :) -- Roberto De Ioris http://unbit.it JID: [email protected] _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
