-
For a day, I'm trying to add forms to my pages, but the `process` block is ignored during processing. This happens in the Comments plug-in and Login. Tried on three servers and two PCs. Tell me, what …
-
1、业务中使用 异步 http client访问外部接口,高并发时外部接口响应较慢,从而而产生较多的http client对象实例,导致worker段错误。
以下代码可模拟此场景,重现本问题。
```php
$serv = new Swoole\Http\Server("127.0.0.1", 9503);
$serv->set([
'worker_num' => 1,
]…
-
I would like to log each login attempts and successful logins from the users. I guess it requires a custom plugin. Is there a hook I could use for this?
The plugin would run on each login or login …
-
251 event.type = events[i].data.u64 >> 32;
(gdb)
252 event.socket = swReactor_get(reactor, event.fd);
(gdb)
255 if ((events[i].events & EPOLLIN) && !event.soc…
jqhph updated
7 years ago
-
PHP=7.1.3
swoole=1.9.11
逻辑很简单,就是收到消息后广告到客户端.
这里用了swoole table来存客户端fd,我实际出现问题的时候只有一个客户端连接进来.也就是只有一条记录
一晚上时间.task进程从启动时占7708到早上的79m 还在向上涨.
PID USER PR NI VIRT RES SHR S %CPU %MEM …
-
用 BASE 模式启动,往一个已经close的连接上 send 内容会抛错后导致 worker 进程异常退出,而且不会自动重启进程,多进程模式下不存在这样的问题。
如果 worker 进程只有1个,则会 Segmentation fault: 11 后全部退出,错误内容如下:
```
[2016-08-08 17:54:30 *76970.0] WARNING swReactorProces…
-
## 问题
结合phalcon 全局捕捉 exception 时有概率出现该错误
## gdb php core
```
#0 0x000055d1b883c101 in _emalloc ()
#1 0x000055d1b8891748 in zend_objects_new ()
#2 0x000055d1b887b3c5 in ?? ()
#3 0x000055d1…
-
一模一样的代码在php5下是正常的,在php7下运行某一段代码时会莫名其妙自动重启。
环境:
php: 7.0.10
swoole: 1.9.1
系统: CentOS release 6.7
[2016-12-19 14:24:15 $19737.0] WARNING swManager_check_exit_status: worker#0 abnormal exit, sta…
jqhph updated
7 years ago
-
监听本机公网IP时正常,监听0.0.0.0时不断触发onClose回调:
代码:
``` php
public function __construct() {
$serv = new \swoole_websocket_server('0.0.0.0', '9501');
$serv->set(array(
'worke…
52fhy updated
7 years ago
-
I have written a small test program to explore Atomix, I am obviously still learning so perhaps this is not really a bug and just intended. I have written a small test program that i start three times…