二进制文件打包后,安装插件时报错:exit with status 139

kspade

我看好像是队列的报错信息

当我webman-admin 安装应用后执行重启webman:reloadWebman()
就会报错 整个错误似乎是队列的错误信息,有没有影响 或者是否有办法解决

程序代码

#重启框架 
function reloadWebman() {
    if (function_exists('posix_kill')) {
        try {
            posix_kill(posix_getppid(), SIGUSR1);
            return true;
        } catch (Throwable $e) {}
    } else {
        Timer::add(1, function () {
            Worker::stopAll();
        });
    }
    return false;
}

#暂停文件监控 
function pauseFileMonitor() {
    if (method_exists(Monitor::class, 'pause')) {
        Monitor::pause();
    }
} 

#重启文件监控
function resumeFileMonitor() {
    if (method_exists(Monitor::class, 'resume')) {
        Monitor::resume();
    }
}

报错信息

Workerman[webman] reloading
worker[plugin.webman.redis-queue.consumer:2670136] exit with status 139
worker[plugin.webman.redis-queue.consumer:2670139] exit with status 139
worker[plugin.webman.redis-queue.consumer:2670142] exit with status 139
worker[plugin.webman.redis-queue.consumer:2670145] exit with status 139
worker[plugin.webman.redis-queue.consumer:2670148] exit with status 139
worker[plugin.webman.redis-queue.consumer:2670151] exit with status 139
worker[plugin.webman.redis-queue.consumer:2670154] exit with status 139
worker[plugin.webman.redis-queue.consumer:2670157] exit with status 139
worker[plugin.webman.redis-queue.consumer:2670160] exit with status 139
worker[plugin.webman.redis-queue.consumer:2670163] exit with status 139
worker[plugin.webman.redis-queue.block:2670166] exit with status 139
worker[plugin.webman.redis-queue.block:2670169] exit with status 139
worker[plugin.webman.redis-queue.block:2670172] exit with status 139
worker[plugin.webman.redis-queue.block:2670175] exit with status 139
worker[plugin.webman.redis-queue.notify:2670178] exit with status 139
worker[plugin.webman.redis-queue.notify:2670181] exit with status 139
worker[plugin.webman.redis-queue.notify:2670184] exit with status 139
worker[plugin.webman.redis-queue.notify:2670187] exit with status 139
worker[plugin.webman.redis-queue.notify:2670190] exit with status 139
worker[plugin.webman.redis-queue.notify:2670193] exit with status 139
worker[plugin.webman.redis-queue.notify:2670196] exit with status 139

截图报错信息里报错文件相关代码

操作系统及workerman/webman等框架组件具体版本

centos8.2 linux

281 0 0
0个回答

🔝