This topic created in 5113 days ago, the information mentioned may be changed or developed.
使用django+nginx+uwsgi部署项目,uwsgi的启动命令中不能添加--limit-as配置,添加后uwsgi就无法启动,不添加就可以正常启动。
下面是添加 --limit-as=32 后运行时的错误消息:
*** Starting uWSGI 1.1.2 (64bit) on [Thu Apr 26 13:12:43 2012] ***
compiled with version: 4.6.1 on 26 April 2012 10:09:48
current working directory: /home/zzxworld/repository/blog
writing pidfile to /var/run/uwsgi/blog/uwsgi.pid
detected binary path: /usr/local/bin/uwsgi
*** WARNING: you are running uWSGI without its master process manager ***
limiting address space of processes...
your process address space limit is 33554432 bytes (32 MB)
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread mutexes
!!! uWSGI process 6754 got Segmentation Fault !!!
*** backtrace of 6754 ***
*** end of backtrace ***
盼各位大牛正解。。
3 replies 1970-01-01 08:00:00 +08:00  | | 1 clino Apr 26, 2012 1 "uWSGI process 6754 got Segmentation Fault"进程都崩溃了,把32改大点还是会这样吗? 要不再换 uwsgi 的更新版本或者稳定的旧版本看看吧. 我之前用 1.x 也出了些问题,后来退回 0.9.x 的就跑得好好的 |
 | | 2 zzxworld Apr 26, 2012 @ clino 我用的是最新的 1.1.2,--limit-as不论改大改小都一样,不能加这个参数。 |