我正在尝试为 Django 项目配置 uWSGI。不幸的是,当我运行 uwsgi 可执行文件时,它失败并出现一个奇怪的错误:
$ bin/uwsgi -s sock/uwsgi.sock --chdir testit --vacuum \
--env DJANGO_SETTINGS_MODULE=testit.testit.settings --wsgi-file testit/wsgi.py --master
*** Starting uWSGI 1.2.3 (32bit) on [Mon Jun 4 17:14:52 2012] ***
compiled with version: 4.7.0 20120414 (prerelease) on 04 June 2012 16:20:49
detected number of CPU cores: 2
current working directory: /home/miki/sites/testit
detected binary path: /home/miki/sites/testit/bin/uwsgi
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
bind(): No such file or directory [socket.c line 107]
我不知道该怎么做……我试过了ulimit
,但没有用。