我的Node.js应用程序一直崩溃。它是一个从MySQL数据库中获取数据的简单Web服务。我每天会有大约20k到30k个查询。我不确定它是否因为需要提供更多资源或者我的代码存在问题而崩溃。它托管在AppFog上,这里是崩溃记录。
我不确定hashish包是什么,但我尝试使用“npm install hashish”进行安装并没有解决问题。您有任何想法吗?
我不确定hashish包是什么,但我尝试使用“npm install hashish”进行安装并没有解决问题。您有任何想法吗?
C:\Users\Tom\\nodejs>af crashlogs TomsApp
====> /logs/staging.log <====
# Logfile created on 2013-02-05 00:53:01 +0000 by logger.rb/25413
Installing dependencies. Node version 0.8.14
Installing mysql@mysql@0.9.6 from local path
Installing hashish@hashish@0.0.4 from registry
Package is not found in npm registry hashish@hashish@0.0.4
Failed getting the requested package: hashish@hashish@0.0.4
Installing require-all@require-all@0.0.5 from local path
====> /logs/stderr.log <====
events.js:71
throw arguments[1]; // Unhandled 'error' event
^
Error: Connection lost: The server closed the connection.
at Protocol.end (/mnt/var/vcap.local/dea/apps/ta-0-365d7313671d4e40105a4d158
f1247d5/app/node_modules/mysql/lib/protocol/Protocol.js:63:13)
at Socket.onend (stream.js:66:10)
at Socket.EventEmitter.emit (events.js:126:20)
at TCP.onread (net.js:417:51)