Next.js jest worker导致cpanel中的进程数过多

4jb9z9bj  于 2021-10-10  发布在  Java
关注(0)|答案(0)|浏览(435)

我的nextjs应用程序在我的cpanel中导致了大量进程,并且它在一天内达到了1000次以上的限制。
因为nextjs应用程序在服务器上呈现,所以这正常吗?这只是一个在线商店和一些API,还有一个应用程序是商店的管理 Jmeter 板。
它不是一个大型应用程序,但在我的cpanel Jmeter 板中,进程数从21个增加到199个。
这些是最后的日志。

4072046  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072047  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072053  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072057  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072062  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072067  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072074  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072080  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072093  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072096  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072103  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072110  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072119  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072130  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072138  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072145  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072153  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072160  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072168  0.0   469M   Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072176  0.0   74M    Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072187  0.0   70M    Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js
4072196  0.0   70M    Sl    04:59    00:00:00  \_         /opt/alt/alt-nodejs10/root/usr/bin/node  /home/mohaetwk/nodevenv/shahre-game/client/10/lib/node_modules/jest-worker/build/workers/processChild.js

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题