V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
zzxworld
V2EX  ›  Python

uwsgi不能添加--limit-as配置

  •  
  •   zzxworld · Apr 26, 2012 · 6180 views
    This topic created in 5126 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
    clino
        1
    clino  
       Apr 26, 2012   ❤️ 1
    "uWSGI process 6754 got Segmentation Fault"进程都崩溃了,把32改大点还是会这样吗?
    要不再换 uwsgi 的更新版本或者稳定的旧版本看看吧.
    我之前用 1.x 也出了些问题,后来退回 0.9.x 的就跑得好好的
    zzxworld
        2
    zzxworld  
    OP
       Apr 26, 2012
    @clino 我用的是最新的 1.1.2,--limit-as不论改大改小都一样,不能加这个参数。
    clino
        3
    clino  
       Apr 26, 2012
    @zzxworld 那你试试 1.2 rc 的版本好了,呵呵 http://projects.unbit.it/hg/uwsgi/tags
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   911 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 21:07 · PVG 05:07 · LAX 14:07 · JFK 17:07
    ♥ Do have faith in what you're doing.