Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在研究“ReactPHP”,但是如果出现错误,我不明白如何让它在服务器上运行。我搜索发现“NodeJS”有“pm2”用于在服务器上保持在线或者如果出现错误它会重新启动,我想知道是否有类似PM2的程序用于“ReactPHP”?以及如何实施?
谢谢。
您可以只启动多个进程,SO_REUSEPORT并让像 SupervisorD 这样的通用进程管理器来处理崩溃进程的重启。
SO_REUSEPORT