因此,我已經安裝了Express.js服務器,但生產後大約5分鐘後 - http://balupton.com - 它崩潰並重新啓動。Express.js網絡服務器在內存耗盡之前會持續5分鐘
我的網站的源代碼是在這裏:https://github.com/balupton/balupton.docpad/blob/master/server.coffee
的docpad參考,使用它來創建服務器是在這裏: https://github.com/bevry/docpad/blob/master/lib/docpad.coffee#L589
它託管在http://no.de這裏是內存溢出異常,保持出現在每5分鐘左右的日誌:
FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory [ Jul 7 14:02:13 Stopping because all processes in service exited. ] [ Jul 7 14:02:13 Executing stop method (:kill). ] [ Jul 7 14:02:13 Executing start method ("env `cat /home/node/node-service/profile` /opt/nodejs/latest/bin/node /home/node/node-service/releases/20110707135409/server.js &"). ] [ Jul 7 14:02:13 Method "start" exited with status 0. ] Express server listening on port 80 and directory /home/node/node-service/releases/20110707135409/out
我到處看着這個,但我已經放棄了。誰能幫我?