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

一個(gè)服務(wù)器怎么運(yùn)行兩個(gè)webman項(xiàng)目? (已解決)

aspire

報(bào)錯(cuò)

Workerman[start.php] start in DEBUG mode
Workerman[start.php] already running
/config/service.php

A項(xiàng)目

return [
    'listen' => 'http://0.0.0.0:8787',
    'transport' => 'tcp',
    'context' => [],
    'name' => 'webman',
    'count' => cpu_count() * 4,
    'user' => '',
    'group' => '',
    'reusePort' => false,
    'event_loop' => '',
    'stop_timeout' => 2,
    'pid_file' => runtime_path() . '/webman.pid',
    'status_file' => runtime_path() . '/webman.status',
    'stdout_file' => runtime_path() . '/logs/stdout.log',
    'log_file' => runtime_path() . '/logs/workerman.log',
    'max_package_size' => 10 * 1024 * 1024
];

B項(xiàng)目

return [
    'listen' => 'http://0.0.0.0:8989',
    'transport' => 'tcp',
    'context' => [],
    'name' => 'webman_1',
    'count' => cpu_count() * 4,
    'user' => '',
    'group' => '',
    'reusePort' => false,
    'event_loop' => '',
    'stop_timeout' => 2,
    'pid_file' => runtime_path() . '/webman.pid',
    'status_file' => runtime_path() . '/webman.status',
    'stdout_file' => runtime_path() . '/logs/stdout.log',
    'log_file' => runtime_path() . '/logs/workerman.log',
    'max_package_size' => 10 * 1024 * 1024
];
1734 1 0
1個(gè)回答

csnow

試試放在不同路徑?

  • aspire 2023-08-25

    當(dāng)然放不同的路徑??

  • xiuwang 2023-08-25

    兩個(gè)項(xiàng)目的 webman.pid 內(nèi)容相同導(dǎo)致的,里面是pid。刪除其中一個(gè)

  • aspire 2023-08-25

    解決了,runtime目錄刪除后就好了, 感謝。???

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