国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

在中止workerman的時(shí)候 發(fā)生了loop事件庫(kù)錯(cuò)誤(Warning: EventBase::loop(): Failed to invoke event callback, breaking the loop. in /app/vendor/workerman/workerman/Events/Event.php on line 195)

admin

問(wèn)題描述

這里詳細(xì)描述問(wèn)題

程序代碼

從workerman官網(wǎng)下載的原生 gatewayworker

Dockerfile 

FROM alpine:latest

#安裝init
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
    && apk update \
    && apk add git wget curl nload php8-cli php8-redis php8-pcntl php8-posix php8-iconv php8-pdo php8-gd php8-pdo_mysql \
      php8-pecl-event  php8-curl php8-json php8-xml  php8-openssl   php8-mysqli php8-common php8-ctype php8-phar php8-mbstring php8-bcmath  \
    && php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');" \
    && php composer-setup.php \
    && php -r "unlink('composer-setup.php');" \
    && php composer.phar config -g repo.packagist composer https://mirrors.aliyun.com/composer/ \
    && ln -s /app/composer.phar /usr/bin/composer

WORKDIR /app
#COPY / /app

RUN   mkdir -p /tmp/logs \
      && mkdir -p /tmp/sessions \
      && mkdir -p /tmp/views \
      && rm -rf /app/runtime \
      && ln -s /tmp  /app/runtime

#暴露 http 與 websocket_attach
EXPOSE 1238 2346 2900 2901 2902 2903
VOLUME /app
# DockerSocket
VOLUME /var/run/docker.sock

CMD ["php","/app/start.php","start"]

報(bào)錯(cuò)信息

EventBase::loop(): Failed to invoke event callback, breaking the loop. in /app/vendor/workerman/workerman/Events/Event.php on line 195

Warning: EventBase::loop(): Failed to invoke event callback, breaking the loop. in /app/vendor/workerman/workerman/Events/Event.php on line 195
PHP Warning:  EventBase::loop(): Failed to invoke event callback, breaking the loop. in /app/vendor/workerman/workerman/Events/Event.php on line 195PHP Warning:  EventBase::loop(): Failed to invoke event callback, breaking the loop. in /app/vendor/workerman/workerman/Events/Event.php on line 195PHP Warning:  EventBase::loop(): Failed to invoke event callback, breaking the loop. in /app/vendor/workerman/workerman/Events/Event.php on line 195PHP Warning:  EventBase::loop(): Failed to invoke event callback, breaking the loop. in /app/vendor/workerman/workerman/Events/Event.php on line 195

Warning: EventBase::loop(): Failed to invoke event callback, breaking the loop. in /app/vendor/workerman/workerman/Events/Event.php on line 195

Warning: EventBase::loop(): Failed to invoke event callback, breaking the loop. in /app/vendor/workerman/workerman/Events/Event.php on line 195

Warning: EventBase::loop(): Failed to invoke event callback, breaking the loop. in /app/vendor/workerman/workerman/Events/Event.php on line 195

Warning: EventBase::loop(): Failed to invoke event callback, breaking the loop. in /app/vendor/workerman/workerman/Events/Event.php on line 195
Workerman[start.php] has been stopped

操作系統(tǒng)及workerman/webman等框架組件具體版本

alpine linux container

1807 2 0
2個(gè)回答

walkor 打賞

php --ri event ,看下event擴(kuò)展版本

  • admin 2022-12-01
    /app # php --ri event 
    
    event
    
    Event support => enabled
    Sockets support => enabled
    Debug support => disabled
    Extra functionality support including HTTP, DNS, and RPC => enabled
    OpenSSL support => enabled
    Thread safety support => disabled
    Extension version => 3.0.7
    libevent2 headers version => 2.1.12-stable
  • walkor 2022-12-01

    報(bào)錯(cuò)里看不出什么問(wèn)題,可以把event升級(jí)到3.0.8試下

  • admin 2022-12-01

    先留著吧,我想其他用docker的并且也是用官方的alpine鏡像的也會(huì)來(lái)這里看看的

  • 黑老怪 2022-12-08

    升級(jí)到了3.0.8也是一樣會(huì)出現(xiàn), Ubuntu20,PHP8.1 之前使用PHP7.4是沒(méi)有出現(xiàn)

  • admin 2022-12-12

    大佬,我突然想起來(lái),這個(gè)錯(cuò)誤 僅僅在 ctrl+c 結(jié)束進(jìn)程時(shí)(非 -d 進(jìn)程守護(hù)) 模式下 的錯(cuò)誤,好像沒(méi)有任何影響,但是就是結(jié)束進(jìn)程的時(shí)候發(fā)生的錯(cuò)誤

= - =

https://github.com/mouyong/docker-environment/blob/master/php/Dockerfile 可作為 webman、webman gatewayworker 開(kāi)發(fā)與線上部署的容器

  • admin 2022-12-12

    和我的Dockerfile安裝方式?jīng)]有任何區(qū)別,我是alpine linux,你這個(gè)不也是 直接用的官方包管理器安裝的,沒(méi)啥用。只不過(guò)是換了個(gè)操作系統(tǒng)換了個(gè)包管理器,本質(zhì)問(wèn)題還是沒(méi)有解決,

    ps: 我使用alpine linux 鏡像包構(gòu)建完畢后20Mb,你看看是否能壓縮到這個(gè)大小

年代過(guò)于久遠(yuǎn),無(wú)法發(fā)表回答
??