- 论坛徽章:
- 0
|
各位,请教一个问题。我以前一直使用centos作为服务器的,现在有一台freebsd 8.2,运行uwsgi出现以下故障:- *** Starting uWSGI 2.0.6 (64bit) on [Sun Aug 24 11:42:07 2014] ***
- compiled with version: 4.2.1 20070719 [FreeBSD] on 24 August 2014 11:29:21
- os: FreeBSD-8.2-RELEASE FreeBSD 8.2-RELEASE #0: Tue Jan 10 14:50:40 PST 2012 root@web0.local:/usr/obj/usr/src/sys/MYKERNEL8.2
- nodename: j-www.local
- machine: amd64
- clock source: unix
- pcre jit disabled
- detected number of CPU cores: 4
- current working directory: /s/etc
- detected binary path: uwsgi
- uWSGI running as root, you can use --uid/--gid/--chroot options
- *** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
- *** WARNING: you are running uWSGI without its master process manager ***
- your processes number limit is 5547
- your memory page size is 4096 bytes
- detected max file descriptor number: 11095
- lock engine: ipcsem
- uwsgi_lock_ipcsem_init()/semget(): Function not implemented [core/lock.c line 507]
- uwsgi_ipcsem_clear()/semctl(): Function not implemented [core/lock.c line 631]
复制代码 经过查询,需要修改一下资料:- On OpenBSD, NetBSD and FreeBSD < 9, SysV IPC semaphores are used as the locking subsystem. These
- operating systems tend to limit the number of allocable semaphores to fairly small values. You should raise the
- default limits if you plan to run more than one uWSGI instance. FreeBSD 9 has POSIX semaphores, so you do
- not need to bother with that.
复制代码 请问,该怎么修改ipc相关内容? |
|