今天安装了uwsgi+supervisord+nginx,一直访问不了 直接启动uwsgi使用nginx访问,查看有大量报错:epoll_ctl(): Bad file descriptor [core/event.c line 521] 查看strace和lsof也没有头绪,仔细看报错有epoll_create(): Too many open files [core/event.c line 504] 可能是进程数太多了超过文件句柄数,把uwsgi进程数改小后就可以了,待会改一下文件句柄数也…
mac 上python编译报错No module named MySQLdb You installed python You did brew install mysql You did export PATH=$PATH:/usr/local/mysql/bin And finally, you did pip install MySQL-Python 出现 Collecting mysql-python Downloading MySQL-python-1.2.5.zip (108kB)…
yum安装报错有冲突file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-fileinfo-1.0.4-2.el6.rf.x86 64 and php-common-5.3.3-46.el6 6.x86 64 遇到这个情况的时候 是库冲突了 需要修改文件 vim /etc/yum.repos.d/rpmforge.repo 将里面的enable=1 …