NodeJS 获取服务器时间,Mongodb线程过多。
芒果DB问题:
2015-11-20T11:26:10.607+0800 I NETWORK [initandlisten] connection accepted from 服务器IP:端口 #100302 (4086 connections now open) 2015-11-20T11:26:10.607+0800 I NETWORK [initandlisten] pthread_create failed: errno:11 Resource temporarily unavailable 2015-11-20T11:26:10.607+0800 I NETWORK [initandlisten] can’t create new thread, closing connection
NodeJS,获取当前服务器时间戳的函数是什么?
2 回复
Date.now()