PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 22nd of February, 2014

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:13:39] <pierre1_> Hi, guys. I'm looking for a data model solution for a twitter-like timeline
[00:17:22] <pierre1_> Anyone? :)
[01:31:21] <bobbytek> If anyone would be so kind as to point me to the documentation describing how to "project a complete array, using a subset of the array element's fields", it would be immensely appreciated :)
[01:48:10] <bobbytek> Nvm, got a reply on the user group :)
[01:56:15] <asidjazz> supsup yall!
[01:56:24] <asidjazz> i need to write a find that searches for a certain keyword
[01:56:31] <asidjazz> text serach really
[01:56:35] <asidjazz> should i use $regex ?
[03:10:56] <tscanausa> pierre1_: http://blog.mongodb.org/post/65517193370/schema-design-for-time-series-data-in-mongodb
[05:41:23] <asidjazz> any1 around
[07:00:59] <o-o> Hi all. New to mongodb. I'm doing a batch insert of 3400 files into an empty mongodb running on localhost.
[07:01:19] <o-o> The error I'm getting is:
[07:01:21] <o-o> events.js:72
[07:01:26] <o-o> throw er; // Unhandled 'error' event
[07:01:32] <o-o> Error: failed to connect to [localhost:27017]
[07:01:47] <o-o> Some googling reveals that this is usually due to mongodb not being started.
[07:02:09] <o-o> Although mine is running, and inserting 2x1700 files in batch works fine.
[07:02:26] <o-o> So basically I'm having some kind of overload error...?
[07:02:26] <cspeak> is there anything in the mongo error logs?
[07:02:35] <o-o> THERE ARE ERROR LOGS?!
[07:02:36] <o-o> =)
[07:02:50] <o-o> I'm running it in console mode, and no complaints there.
[07:02:56] <o-o> Lemme chech error logs... :>
[07:03:15] <cspeak> Check here: http://docs.mongodb.org/manual/faq/diagnostics/#where-can-i-find-information-about-a-mongod-process-that-stopped-running-unexpectedly
[07:03:41] <cspeak> Oh and what OS?
[07:04:17] <o-o> Mac OS X
[07:16:53] <o-o> Ouch, so nothing in the logs, and no clues in the link you sent.
[07:16:57] <o-o> I'm at a loss.
[07:17:39] <o-o> I'm logging to stdout, and all I'm getting is
[07:17:40] <o-o> Sat Feb 22 08:05:36.705 [initandlisten] connection accepted from 127.0.0.1:53023 #19 (1 connection now open) Sat Feb 22 08:05:36.707 [initandlisten] connection accepted from 127.0.0.1:53024 #20 (2 connections now open) Sat Feb 22 08:05:36.944 [conn19] end connection 127.0.0.1:53023 (1 connection now open) Sat Feb 22 08:05:36.944 [conn20] end connection 127.0.0.1:53024 (1 connection now open)
[07:19:01] <o-o> I'm running the node.js insert script in another window, and it just suddenly fails to connect to localhost in the middle of the batch.
[08:08:17] <o-o> So I'm using mongoose...
[08:08:46] <o-o> ...and it would seem that using mongoose.createConnection instead of mongoose.connect did it for me.
[08:08:52] <o-o> Quirky stuff
[08:09:03] <o-o> Sry to bother you with middleware stuff =/