[00:19:18] <whatsdoom> if the mongod service hangs for a significant period of time before responding to requests to stop i.e. shutting down the machine. is there anything I can do to figure why?
[00:20:07] <Boomtime> whatsdoom: look in the mongod.log
[00:21:55] <whatsdoom> Boomtime: I have, it doesn't say anything that would suggest what is taking so long to stop
[00:30:52] <whatsdoom> Boomtime: actually thanks, I lied apparently I set the logging level to none rather than most.
[00:38:53] <Boomtime> whatsdoom: loglevel zero will still log a few things, and might even cover why a shutdown would take awhile
[00:39:43] <Boomtime> whatsdoom: what do you call "significant" by the way, can you put a figure on that? 2 seconds, 10 seconds, 10 minutes?
[01:10:06] <whatsdoom> I think one of the processes attached to the db is not stopping when I think it is, and that is keeping from mongo. I will in investigate more. Thanks Boomtime
[01:10:42] <whatsdoom> s/from mongo/mongo from stopping/
[02:07:41] <chris_______> I'm a C/C++ programmer venturing into the world of Python/MongoDB
[02:08:43] <chris_______> I've got a quick question but I'm not sure if it's Python or MongoDB
[02:09:39] <chris_______> I'm writing a simple utility app using Python. It scans predefined directories for plugins and then writes them to a database.
[02:10:17] <chris_______> I can write to the database OK but I'm having trouble getting the search to work
[02:15:37] <chris_______> Ha! Over my head Python-wise already!
[02:16:16] <chris_______> What I wanted to know was why:
[02:16:31] <GothAlice> chris_______: Both of these expect "plugins" to be installed Python packages. ("setup.py install" or "setup.py develop" or "pip [options] .", etc.) The PluginHost lets you register additional directories to search for packages in, however it also expects these packages to participate in the de-facto "plugin" standard called "entry_points". https://github.com/marrow/marrow.mailer/blob/develop/setup.py#L75 is an example.
[02:25:21] <chris_______> That's what I thought too!
[02:25:28] <GothAlice> result = db.collection.find( # problem here, the part that matches s/db\./
[02:26:09] <GothAlice> That's getting a reference from "db" for a collection called "collection". It is not using the variable named "collection" that is the "audio_effects_collection" collection.
[02:31:00] <chris_______> Many thanks GothAlice :-)
[02:31:08] <GothAlice> In Python, though, there is a standard for plugins.
[02:31:41] <GothAlice> They're searchable, namespace-able, and can give names to arbitrary object imports, so you can have data associated with them. (This also lets plugins define their own dependencies for installation/use.)
[02:32:11] <GothAlice> Search around for "setuptools entry points" (how you declare plugins) and "pkg_resources" (how you search and load plugins).
[02:32:37] <chris_______> Ok, thanks for the help.
[09:25:47] <jdo_dk> It is possible to update a element in an array directly in mongo shell ? I have tried: db.coll.update({_id:ObjectId(...)}, {$set: {log[0].text: 'Changed text'}}) but it is not working.. :(
[13:17:43] <FiftyFivePlus> in node.js is mongodb without mongoose like toast without butter?
[14:48:53] <NoOutlet> FiftyFivePlus, no, I don't think so.
[14:51:16] <NoOutlet> I find it preferable to not use mongoose.
[14:51:29] <NoOutlet> Though maybe some people prefer plain toast.
[15:07:30] <pgora2013> How do I get the workingSet in mongodb 3.0 ? I did set the workingSet : 1 using serverStatus() but, I don't see it being displayed in the output of serverStatus()
[15:31:50] <boolman> how can i create a instance with multiple replica sets?
[15:32:15] <boolman> if I don't set a --replSet I cant initate, but if I do, I cant create multiple
[15:34:30] <webdevsHub> hi guys. I try to restart mongod because that node shows "startup2" status for a couple of days. When I try to start the mongo-shell I get "Error: couldn't connect to server 127.0.0.1:27017 at ... src/mongo/shell/mongo.js:145". When I try to run --shutdown I get "There doesn't seem to be a server running with dbpath: /data/db". Wenn I try to kill it with "kill PID" or "kill -2 PID" nothing happens. I do not want to try "kill -9 PID" because there is a
[15:34:30] <webdevsHub> big warning about that in mongodb doc. Any suggestions how to stop that?
[16:01:05] <mdb-hater2> showtime again, hello inbred MongoDB scum, everyone still licking the balls of Eliot Horowitz? Or jerking off while moaning "3.0 is fucking crazy"?
[16:03:04] <mdb-hater2> where is my asshole friend Derick? drunk again? or wanking off?
[16:04:44] <mdb-hater2> mongodb: the database created by programmer scum for programmer scum
[16:15:40] <kakashiAL> hey guys, I am using mongodb in one of my projects
[16:15:42] <kakashiAL> if I do a GET request to http://localhost:3000/users/ I get the user with the name Peter and the ID 54974c4ed74851620bbf7498
[16:15:44] <kakashiAL> if I do a GET request to http://localhost:3000/users/54974c4ed74851620bbf7498 I get the user with the name PeterAAA, the same way how I changed it
[16:16:23] <mdb-hater2> mongodb: the database created by programmer scum for programmer scum
[16:16:25] <mdb-hater2> where is my asshole friend Derick? drunk again? or wanking off?
[16:26:34] <mdb-hater2> where is my asshole friend Derick? drunk again? or wanking off?
[16:26:38] <mdb-hater2> showtime again, hello inbred MongoDB scum, everyone still licking the balls of Eliot Horowitz? Or jerking off while moaning "3.0 is fucking crazy"?
[16:36:11] <mdb-hater2> showtime again, hello inbred MongoDB scum, everyone still licking the balls of Eliot Horowitz? Or jerking off while moaning "3.0 is fucking crazy"?
[16:36:13] <mdb-hater2> where is my asshole friend Derick? drunk again? or wanking off?
[16:36:17] <mdb-hater2> mongodb: the database created by programmer scum for programmer scum
[17:02:25] <mdb-hater2> steblar: you're still there? Idiot!
[17:11:40] <mdb-hater2> showtime again, hello inbred MongoDB scum, everyone still licking the balls of Eliot Horowitz? Or jerking off while moaning "3.0 is fucking crazy"?
[17:32:46] <daidoji> anyways, is there a way I can set a hard limit on a database size through some configuration option?
[17:35:13] <daidoji> or is the best practice just to run mongod --repair every once in a while?
[17:38:31] <cheeser> oh, to reclaim space? you might consider wiredtiger/compression
[17:38:45] <cheeser> or sharding which can constrain space use, iirc
[18:22:11] <smartattack> Does anyone know offhand if Mongo C# driver can be made to use a hash other than MD5, which is not FIPS compliant and breaks with win2012 where we have FIPS enabled?
[18:24:09] <girb> please help .. I'm in process of adding a shard
[18:45:39] <kesroesweyth> Is there a good way in a PHP app to have a query for a document which contains references to other documents by ObjectID be automatically resolved, without making additional queries for the referenced documents?
[18:45:39] <kesroesweyth> I'm reading through the documentation but not seeing anything other than that some drivers may support this.
[19:06:14] <girb> how much time a 600GB data of a DB indexing takes ?
[19:54:06] <xjrn> is there a mongo client for couchdb replication?
[20:22:14] <fxmulder> I have 3 config servers running on 3 machines and I plan on flattening one and resetting it up, do I want to preserve the config data or can it pull from the others once its back up?
[20:24:16] <w96> Hi everyone. After following the tutorials to setup auth on a clean install of MongoDB 3.0, I get this error whenever I try to authenticate from an external program (RoboMongo, C# MongoDB driver): credentials missing in the user document
[20:24:37] <w96> Does anyone have any ideas why it would be doing this?
[20:25:59] <fabiobat_> The indexes created on a PRIMARY Node are not replicated automatically to the SECONDARY nodes?
[20:26:24] <fabiobat_> I must ensure any index in any secondary node?
[20:26:42] <fabiobat_> I must ensure each index in any secondary node?
[20:27:16] <fabiobat_> I must ensure each index in each secondary node? "now is better"
[20:36:54] <fewknow> fxmulder: you can just dump from another config server
[20:37:08] <fewknow> but are you using CNAMES for the config servers?
[20:37:28] <fewknow> you can't switch out config servers without bringing down the entire cluster...unless you are using CNAMES
[20:37:35] <fewknow> fabiobat_: indexes are replicated
[20:37:59] <fabiobat_> there are any configuration for that?
[20:38:15] <fabiobat_> because I have 1 primary and 2 secondary nodes.
[20:38:29] <fabiobat_> i did a copydatabase in the primary.
[20:38:49] <fabiobat_> the database was copied and the indexes also.
[20:38:57] <fxmulder> fewknow: I plan to recreate the machine using the same IP
[20:39:04] <fabiobat_> but the replicas received just the data not the indexes.
[20:39:29] <fewknow> fxmulder: did you use ip of dns when setting up cluster?
[20:39:59] <fabiobat_> I have just checked the currentOp on the PRIMARY node and all the indexes was already produced. { "inprog" : [ ] }
[20:40:04] <fxmulder> I plan on using the same IP and hostname, it will be the same machine we just have some filesystem corruption I want to get rid of
[20:40:13] <invapid> a = ["a", "b", "c"] # how do you find all items in which "a" has all those items (can also have more)
[20:40:47] <invapid> "$in" will match if any of the array items are true (but I need all to match)
[20:41:37] <invapid> any easier way to do that other than nesting "$in" statements in an "$and" statement for each item of that array?
[20:46:06] <fewknow> fxmulder: then it will be fine...you can dump and restore config from another config server
[20:53:20] <fxmulder> fewknow: I am in the middle of a shard migration, we have a couple weeks before this completes, but from the sound if it I can't have any of there config servers down while that is happening correct?
[21:00:14] <fewknow> fxmulder: you can have 1 down...if 2 go down you are in a READ ONLY mode
[21:00:23] <fewknow> GothAlice: that is right, right? ^^
[21:00:40] <fewknow> fxmulder: what is a shard migration?
[21:15:09] <greyTEO> I am working with Hadoop(Spark) and mongo
[21:15:25] <greyTEO> how can I get spark to avoid null documetns
[21:16:02] <greyTEO> I am not sure how to override this methods https://github.com/mongodb/mongo-hadoop/blob/master/core/src/main/java/com/mongodb/hadoop/output/MongoRecordWriter.java#L100
[21:16:15] <greyTEO> it's instantiated here https://github.com/interllective/MongoReduce/blob/master/src/org/apache/hadoop/contrib/mongoreduce/MongoOutputFormat.java#L55
[21:27:45] <cheeser> i'm about to head to bed because I have an early flight to catch. if you get stuck, you can try asking here and hopefully i'll notice (though probably not until monday...) or you can post the mongodb-user list and either myself or luke will try to answer: https://groups.google.com/forum/#!forum/mongodb-user
[21:47:51] <bramgg> I'd like to find all documents who's array "history" contains values in a specific order in a specific time-span. I've tried to make my question very comprehensible here: http://pastie.org/10006013
[21:48:04] <bramgg> If anyone can help me out it would be hugely appreciated, thanks :)
[21:55:07] <bramgg> Realized my question might be better suited for SO, so if anyone wants to answer there: https://stackoverflow.com/questions/28908321/find-all-documents-by-array-values-with-a-specific-order-and-time-span
[22:19:22] <daidoji> cheeser: what is wiredtiger/compression?
[22:20:30] <daidoji> cheeser: like is that something I can enable? and I see its available for 3.0 but I'm running 2.6.5 here.