月&盾

生活的精彩要去发现,而不是等待出现

文章详情

2014-11-11博客突然打不开

 今天早上起来还可以,中午突然就打不开,看了下日志有下面的错误:这是关于mongodb的错误,经过重启部署都每有解决,看后台输出数据库有连接上,但是每次刷新页面的时候就会报这个错误。打开数据库看了下,吓死我了,里面居然没数据了,难道又要经历和上次一样的问题?不能这么坑爹啊!只好无聊的不停刷新,无意间又好了。

    看来BAE还是存在问题,不够稳定。

  • at /home/bae/app/.bae/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:485:18
  • at Server.Base._callHandler (/home/bae/app/.bae/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:442:41)
  • at /home/bae/app/.bae/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/db.js:1806:9
  • at commandHandler (/home/bae/app/.bae/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/cursor.js:685:21)
  • at Cursor.close (/home/bae/app/.bae/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/cursor.js:959:5)
  • at /home/bae/app/.bae/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/cursor.js:685:39
  • at /home/bae/app/.bae/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/cursor.js:159:22
  • at /home/bae/app/.bae/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/db.js:1542:30
  • at /home/bae/app/.bae/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/db.js:1404:28
  • at /home/bae/app/.bae/node_modules/connect-mongo/lib/connect-mongo.js:161:23
  • Error: Error setting TTL index on collection : sessions
  • ^
  • throw message;
  • /home/bae/app/.bae/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:242

关键字词: