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

運(yùn)行php start.php restart,回車的一瞬間,整臺(tái)服務(wù)器就掛掉

peirenlei

問(wèn)題描述

本地開(kāi)發(fā)一切正常,代碼上傳到服務(wù)器,只要一運(yùn)行php start.php restart,回車的一瞬間,整臺(tái)服務(wù)器就掛掉,只能重啟服務(wù)器,屢試不爽

報(bào)錯(cuò)信息(runtime/logs/workerman.log)

5-01-13 17:16:10 pid:22569 worker[webman:23785] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23729] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23737] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23851] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23791] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23757] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23816] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23756] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23767] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23889] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23885] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[plugin.webman.redis-queue.consumer:23759] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[plugin.webman.redis-queue.consumer:23052] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23749] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23762] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23787] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23722] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23739] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23789] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23807] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[plugin.webman.push.server:23680] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23883] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23805] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[plugin.webman.redis-queue.consumer:23585] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23769] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23754] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23813] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23833] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23723] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23745] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[plugin.webman.redis-queue.consumer:23687] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23806] exit with status 9
2025-01-13 17:16:10 pid:22569 worker[webman:23732] exit with status 9
2025-01-13 17:16:10 pid:22569 Workerman[start.php] has been stopped

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

centos7服務(wù)器

"require": {
    "php": ">=7.2",
    "workerman/webman-framework": "^1.5.0",
    "monolog/monolog": "^2.0",
    "saithink/saiadmin": "^3.1",
    "illuminate/database": "^11.36",
    "illuminate/pagination": "^11.34",
    "illuminate/events": "^11.34",
    "symfony/var-dumper": "^7.1",
    "laravel/serializable-closure": "^2.0",
    "kriss/webman-eloquent-ide-helper": "^1.2",
    "webman/console": "^1.3",
    "webman/push": "^1.0",
    "ext-json": "*",
    "overtrue/wechat": "^5.0",
    "psr/container": "^1.1.1",
    "webman/blade": "^1.5.5",
    "symfony/cache": "^6.4",
    "psr/simple-cache": "^3.0",
    "php-di/php-di": "^6.3",
    "doctrine/annotations": "^1.14",
    "ext-simplexml": "*",
    "ext-xdebug": "*",
    "webman/redis-queue": "^1.3",
    "coraxster/flysystem-aws-s3-v3-minio": "^1.0",
    "jenssegers/mongodb": "^5.1",
    "ext-imagick": "*",
    "godruoyi/php-snowflake": "^3.1",
    "predis/predis": "^2.3",
    "ext-redis": "*",
    "fukuball/jieba-php": "^0.34.0",
    "ext-openssl": "*"
  },

已經(jīng)不敢運(yùn)行啟動(dòng)命令了,求救。。。。。

667 3 0
3個(gè)回答

peirenlei

截圖

服務(wù)器內(nèi)存爆掉了

奇怪我本地很正常,這個(gè)應(yīng)用就是個(gè)正常的crud

  • latin 2025-01-13

    服務(wù)器內(nèi)存不夠用了,進(jìn)程被linux內(nèi)核kill掉了。
    所以你開(kāi)了多少進(jìn)程?服務(wù)器內(nèi)存多大?

  • peirenlei 2025-01-13

    這不科學(xué)啊,我本地開(kāi)發(fā)8g的本子,內(nèi)存都毫無(wú)波動(dòng),服務(wù)器32g的內(nèi)存,并且是php start.php start的一瞬間,整個(gè)系統(tǒng)都不動(dòng)了,就算內(nèi)存泄漏也不會(huì)一瞬間就把服務(wù)器打爆吧?

  • latin 2025-01-14

    不是內(nèi)存大內(nèi)存就隨便用,比如其它程序mysql啥的占用很大內(nèi)存,剩余給webman的就沒(méi)多少了,進(jìn)程開(kāi)多了內(nèi)存就不足了。

xiaoming

所以你開(kāi)了多少進(jìn)程 這個(gè)先確定下

  • peirenlei 2025-01-13

    默認(rèn)的,我沒(méi)特意去設(shè)置,哪里可以看到有多少進(jìn)程?

  • peirenlei 2025-01-13

    看了下代碼,默認(rèn)是cpu核心數(shù)*4,我服務(wù)器是56 核的,難道是進(jìn)程開(kāi)多了?我試試修改一下

  • peirenlei 2025-01-13

    果然,我修改成 'count' => 4 就好了,謝謝你的提醒,56*4,200多個(gè)進(jìn)程能把我服務(wù)器打垮

  • NoBody 2025-01-14

    200多個(gè)進(jìn)程不會(huì)打垮服務(wù)器啊,才 8GB

  • peirenlei 2025-01-14

    理論上不會(huì),但是我修改了進(jìn)程數(shù)量后,癥狀立即就消失了,我也很郁悶

  • peirenlei 2025-01-14

    理論上不會(huì),但是我修改了進(jìn)程數(shù)量后,癥狀立即就消失了,我也很郁悶

TM

56核服務(wù)器才32運(yùn)行內(nèi)存啊

  • TM 2025-01-14

    因?yàn)楸镜厝绻莣indows,只會(huì)開(kāi)一個(gè)進(jìn)程的

  • peirenlei 2025-01-14

    我本地是mac

??