使用旋風Web服務器,我試圖綁定到Unix套接字後,用自己的預分叉預分叉,但我得到了以下錯誤:旋風:與Unix套接字
RuntimeError: Cannot run in multiple processes: IOLoop instance has already been initialized. You cannot call IOLoop.instance() before calling start_processes()
是否有原因龍捲風引發這個問題時綁定unix套接字和使用:
myserver.start(0)
vs使用TCP端口?
如果您嘗試使用Motor Mongo驅動程序,那麼您會發現它不支持這種操作模式。或者您可能會發現需要禁用調試模式。 –