Hey,

I've been using uWSGI 0.9.5.4 with the following configuration for several
months:

However, upon upgrading to uwsgi-0.9.6.7, we experienced the following
error:
malloc(): Cannot allocate memory [uwsgi.c line 915]

After testing each command line option we had, it was pin pointed to the
--limit-as option:

With --limit-as:
*** Starting uWSGI 0.9.6.7 (64bit) on [Mon Jan 31 19:55:33 2011] ***
compiled with version: 4.3.2
Python version: 2.7 Stackless 3.1b3 060516 (release27-maint, Aug 29 2010,
15:44:48)  [GCC 4.3.2]
limiting address space of processes...
your process address space limit is 268435456 bytes (256 MB)
your memory page size is 4096 bytes
 *** WARNING: you have enabled harakiri without post buffering. Slow upload
could be rejected on post-unbuffered webservers ***
malloc(): Cannot allocate memory [uwsgi.c line 915]

Without --limit-as:
*** Starting uWSGI 0.9.6.7 (64bit) on [Mon Jan 31 19:55:12 2011] ***
compiled with version: 4.3.2
Python version: 2.7 Stackless 3.1b3 060516 (release27-maint, Aug 29 2010,
15:44:48)  [GCC 4.3.2]
 *** WARNING: you are running uWSGI without its master process manager ***
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 640 bytes (0 KB) for 1 request's buffer.
binding on UNIX socket: /******/uwsgi.sock
your server socket listen backlog is limited to 100 connections
initializing hooks...done.
interpreter for app 0 initialized.
application 0 (/) ready
setting default application to 0
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (and the only) (pid: 7835)
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to