On 10.10.2011 16:00, Roberto De Ioris wrote: >> Well the system is Linux Centos 5.6 guess its supporting the setrlimit() >> Here is the startup log: Limit seems to be calculated as -2048 MB ? >> >> *** Starting uWSGI 0.9.9.2 (CGI mode) (64bit) on [Mon Oct 10 15:39:07 >> 2011] *** >> compiled with version: 4.1.2 20080704 (Red Hat 4.1.2-48) on 03 October >> 2011 18:31:28 >> writing pidfile to /var/run/uwsgi.pid >> detected binary path: /usr/local/bin/uwsgi >> setgid() to 48 >> setuid() to 48 >> limiting address space of processes... >> your process address space limit is -2147483648 bytes (-2048 MB) > > This negative number is not good. > > Try adding limit-as = 2047 > > i fear some 32bit storage is lost > > > Ok this time it works like a charm with limit-as = 2047 Now I wonder if is it possible to extend the limit-as beyond 2048 mb with the current version :)
Thanks, *** Starting uWSGI 0.9.9.2 (CGI mode) (64bit) on [Mon Oct 10 16:07:56 2011] *** compiled with version: 4.1.2 20080704 (Red Hat 4.1.2-48) on 03 October 2011 18:31:28 writing pidfile to /var/run/uwsgi.pid detected binary path: /usr/local/bin/uwsgi setgid() to 48 setuid() to 48 limiting address space of processes... your process address space limit is 2146435072 bytes (2047 MB) your memory page size is 4096 bytes uwsgi socket 0 bound to TCP address 127.0.0.1:8888 fd 4 Python version: 2.6.5 (r265:79063, Apr 9 2010, 11:16:46) [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] Python main interpreter initialized at 0x95d15e0 threads support enabled your server socket listen backlog is limited to 1024 connections *** Operational MODE: preforking *** added /srv/app/django to pythonpath. WSGI application 0 (mountpoint=) ready on interpreter 0x95d15e0 pid: 21246 (default app) spawned uWSGI master process (pid: 21246) spawned uWSGI worker 1 (pid: 21247, cores: 1) spawned uWSGI worker 2 (pid: 21248, cores: 1) -- Sinan Alyürük
signature.asc
Description: OpenPGP digital signature
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
