• windows 下开启进程,如果代码里面有错误,有时候会报出来,linux 不会;
  • windows 下php代码中如果有exit,会进程被关闭或者直接启动不了;linux 则会终止代码执行,不会关闭进程

ubuntu 安装注意事项:

  • 命令行运行(需要切换到root用户。如果ini文件位置不对,可以通过运行php --ini找到实际加载的ini文件路径
echo extension=event.so > /etc/php5/cli/conf.d/30-event.ini
用sudo -i 切换到超级管理权限下,如果用sudo的话不行.

windows 下如何安装workerman

在php,已经安装的情况下安装;
需要关联到php的安装环境,php目录文件下
通过cmd 命令开开启进程
  • system call select exceeded the maximum number of connections 256,please install event/libevent extension for more connection.
这样的问题爆发场景,前端开启链接,到达256次后,前端链接继续的情况下,就会链接不上,如果继续刷新下就可以再开启一次链接了.
workerman windows下最多支持256个连接,这个手册有写的;
手册上除windows 外,其他系统有不限制链接次数的限制方法.

windows下如何配置不限制链接次数

windows下如何守护进程?

参考网页

https://www.kancloud.cn/walkor/workerman/1146859
https://blog.csdn.net/zhizhuo0915/article/details/103598864
https://blog.csdn.net/Srodong/article/details/88351335
12-26 22:05