后端如何生成SESSIONID
由于业务需要,需要手写一个基于内存的session。 众所周知sessionid在浏览器中,只要浏览器不关闭,cookie中的sessionid就会保持不变,但是如果重启浏…
swoole4.4.8编译报错
./configure --enable-openssl --enable-http2 --enable-sockets --enable-async-redis --enable-mysqlnd --with-openssl-dir=/usr/local/openssl --…
定时任务中执行task报错
定时任务中执行 task任务 task任务中启动协成客户端发送数据,会大批量报 WARNING swManager_check_exit_status: worker#5[pid=41497] abnormal exit,…
net.ipv4.tcp_tw_reuse
net.ipv4.tcp_tw_reuse 开启后,restart程序的时候还是会报[Swoole\Exception] failed to listen server port[127.0.0.1:9508], Error: Address alrea…
task_enable_coroutine开启后,task任务不能执行
task_enable_coroutine设置为true后,task任务不能正常执行 报异常错误WARNING swManager_check_exit_status: worker#0[pid=11561] abnormal exit, st…
swoole版本升级,使用Swoole::Table key 报错is too long的问题
报错信息:[SwooleTable::set(): key[com.xxxxxx.xxxxxxxxxxx.rpc.service.TaskService:1.0.0:default:create] is too long:2] in 项目打算升级最新swo…
安装swoole第一步就卡住了,报错:bash: pecl: command not found请问如何解决?
[root@izwz9bofhksuhn7ot828mnz ~]# php -vPHP 7.1.3 (cli) (built: Apr 2 2018 16:12:40) ( NTS )Copyright (c) 1997-2017 The PHP GroupZend Engin…
swoole event::wait()方法 干了什么?
4.4 以下版本的swoole创建完协程为什么要调用它,他具体做了些什么事情? 补个官方链接https://wiki.swoole.com/wiki/page/143.html …