我在機(jī)器上執(zhí)行如下命令:
yum install libevent
已加載插件:fastestmirror
設(shè)置安裝進(jìn)程
Loading mirror speeds from cached hostfile
http://mirrors.cloud.aliyuncs.com/centos/6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
嘗試其他鏡像。
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
epel | 4.7 kB 00:00
epel/primary_db | 6.9 MB 00:27
http://mirrors.cloud.aliyuncs.com/centos/6/extras/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
嘗試其他鏡像。
http://mirrors.cloud.aliyuncs.com/centos/6/updates/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
嘗試其他鏡像。
包 libevent-1.4.13-4.el6.x86_64 已安裝并且是最新版本
無(wú)須任何處理
但是我看 status 信息的時(shí)候卻顯示如下:
[root@iZ257wguph6Z diary]# php workerManApi/WebsocketServer.php status
Workerman[workerManApi/WebsocketServer.php] status
----------------------------------------------GLOBAL STATUS----------------------------------------------------
Workerman version:4.0.19 PHP version:7.0.21
start time:2021-06-25 15:19:17 run 0 days 0 hours
load average: 0, 0, 0 event-loop:\Workerman\Events\Select
1 workers 1 processes
worker_name exit_status exit_count
MyWebsocketWorker 0 0
----------------------------------------------PROCESS STATUS---------------------------------------------------
pid memory listening worker_name connections send_fail timers total_request qps status
416 4M websocket://0.0.0.0:8910 MyWebsocketWorker 3 0 0 4 0 [idle]
----------------------------------------------PROCESS STATUS---------------------------------------------------
Summary 4M - - 3 0 0 4 0 [Summary]
看那個(gè) event-loop,我期望使用 libevent ,該如何設(shè)置呢?