[08:36:14] <nevan> MongoClient::connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known
[08:37:17] <Gargoyle> nevan: Just because you repeat yourself does not mean you'll get a qucker answer (or any answer at all).
[08:37:53] <Gargoyle> The error means your machine failed to lookup the hostname you are trying to connect to.
[08:38:23] <nevan> sorry but it was an effor to get attention as most of the times before nobody actually responds...sorry again
[08:38:58] <nevan> but when i give single string instead of seeds of replica sets then i do not come across this issue
[08:39:19] <nevan> its just when i use primary, secondary IP's in connection settings
[08:40:22] <Gargoyle> nevan: People in here give their time freely. If they can answer, they will. If they can't because they don't know or are too busy, then they will keep quiet. Do you really want 346 "I don't know" replies! :-)
[08:40:34] <Gargoyle> nevan: Pastebin the actual connection code you are using.
[08:49:05] <nevan> pings to each IP are absloutely ok
[08:49:11] <Gargoyle> OK, I have no knowledge about ZF and MongoDB. However, just by looking at that snippet whatever code is interpreting that line is going to have difficulties with the number of arguments
[08:58:04] <Gargoyle> rs.status() will tell you current replication status. And there's a free service from mongodb.org called MMS which can give you nice graphs on all sorts of things. :)
[08:58:35] <nevan> i am using that..but its kind of cryptic as which ones are important and critical ?
[09:01:33] <Gargoyle> Time for some hot chocolate! laters...
[11:15:22] <KrzyStar> joannac: yes, it seems like disabling MPROTECT for the mongo binary fixed it.
[12:16:56] <nevan> need some information on upgrading to mongo 2.6 from 2.4
[12:17:33] <nevan> i have some field name starting with "$" which is not accecpted by new mongo2.6 ....what can be the most viable solution to this ...any idea
[12:23:30] <ajph> nevan: even in 2.4 You can use any (UTF8) character in the field name which aren't special (contains ".", or starts with "$").
[12:33:34] <radixo> hello guys.. I am trying to follow the http://docs.mongodb.org/manual/tutorial/enable-authentication/ but when I arrive to step "2" (Connect to the MongoDB instance via the localhost exception) I get this error: 2014-05-29T12:27:33.564+0000 Error: couldn't connect to server localhost:27017 (127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:148
[12:39:58] <ajph> nevan: just because it works doesn't mean you should do it - http://docs.mongodb.org/v2.4/reference/limits/#Restrictions-on-Field-Names
[12:42:04] <ajph> radixo: doesn't look like an auth error. are you sure the service is up?
[12:54:28] <tmssgrdn> Hi, I am very new to MongoDB and nosql in general. Is it possible to restrict what goes in a document, or is that not something one would want for MongoDB? More specifically I am thinking of types and "NOT NULL" like restrictions.
[12:54:52] <tmssgrdn> s/one would want/one would not want/
[14:21:11] <radixo> ajph: Error while trying to show server startup warnings: not authorized on admin to e xecute command { getLog: "startupWarnings" }
[16:00:14] <modcure> when setting the write concern in mongodb to knowledge the write... this knowledgement is only agreeing to the face that the record was commited in memory and not to the data files correct?
[16:02:43] <Dogevo_> is it reasonable to assume that 'a collection' may contain hundreds of millions of 'small' documents per shard? And allocated memory is a larger determinant to performance than the number of docments per collection??
[16:03:42] <saml> what kind of performance? read performance?
[16:04:00] <saml> if you are scanning many small documents, it'll be slower than scanning few large documents
[16:04:23] <modcure> saml, it seems the write concern only updates the memory data and not the database but the journal write concern commits the record to disk. is this accurate?
[16:04:31] <Dogevo_> yes, but regardless we'd be scanning many sub documents in larger documents
[16:10:49] <dsirijus> a premature optimization question - i have a certain object in user document, over which i'll probably need to iterate very frequently (a second or few)...
[16:10:56] <dsirijus> should i split that in separate collection?
[16:16:00] <dsirijus> it's irrelevant for users not currently logged in (though it needs to be correct value when he gets back in)
[16:16:46] <dsirijus> but, online users request that value very frequently in session (say, every half a minute or so, the frontend can simulate it growing in-between the "syncs")
[16:17:28] <dsirijus> we're not sure what bit should be put in database when exactly
[16:17:49] <dsirijus> distribution of that logic in between frontend/backend/db is a bit fuzzy
[16:30:25] <dsirijus> and yes, it's a database solution really
[16:30:36] <dsirijus> just a moment, and i'll explain
[16:30:58] <Dogevo_> What's a recommended strategy people have for dealing with documents that could frequently extend beyond the document size limit?
[16:31:15] <dsirijus> ok, there's this energy, in theory on high level players that value updates almost every second....
[16:31:40] <dsirijus> so, in frontend, we've just defined "sync points" where user either wants to display that value, or spend some of it and update it
[16:32:14] <dsirijus> database stores time of the last "sync point" request, and node just calculates the new value (validates if he's spending energy)...
[16:33:11] <dsirijus> i'm still gonna split energy in new collection, i think
[16:33:22] <dsirijus> dunno why, but it seems like a right thing to do :D
[16:35:33] <dsirijus> the visual cue of that value updating at perfect rate (every frame of the game) on frontend is just frontend ticking, hoping someone doesn't play with system clock or memory hacking
[17:17:57] <synth_> hello, i was curious if there's a way to silence this warning? import pymongo produces: /usr/local/lib/python2.7/dist-packages/pymongo-2.6_-py2.7-linux-x86_64.egg/pymongo/thread_util.py:31: UserWarning: libevent version mismatch: system version is '2.0.19-stable' but this gevent is compiled against '2.0.16-stable'
[18:00:02] <dsirijus> can mongo do funky stuff like have a key identifier (in key-value pair) be value from some other collection from some other key?
[18:00:25] <dsirijus> (if that value is a String, of course)
[18:02:42] <dsirijus> say a have a document {_id:ObjectID<1>, key:"value"}. can i create, dynamically, another document that's {_id:ObjectID<2>, value(string from that first document):"whatever"}?
[18:03:50] <dsirijus> or is that stuff to be at application level?
[18:15:08] <synth_> saml, now getting this: http://sprunge.us/UFaG?sh same error but now includes from gevent.lock import BoundedSemaphore as GeventBoundedSemaphore
[18:19:07] <jhuel> hi i have a problem with the c++ driver
[18:19:46] <jhuel> and i can't find a way to not get a compilation error of LNK1104: cannot open file 'mongoclient-gd.obj'
[18:20:02] <jhuel> i have no idea why, all the lib and headers are included
[18:20:25] <jhuel> the mongoclient-gd.lib and dll exist
[19:06:13] <revoohc> anyone now why the journal on one secondary node would be significantly than the journal on master or the other secondary node in a replicaset?
[19:25:41] <bschrock> Hello, I am trying to remove a config server from a sharded replset (that is not actually partitioned) and I get this error: { "ok" : 0, "errmsg" : "Can't remove last shard" }. Does anyone know why?
[19:53:09] <sheki> i have a question about mongo handles $IN queries across shards
[19:53:21] <sheki> i have a $IN query across the _id field .
[21:22:37] <bdha> Hey folks... I'm trying to enable the httpinterface. I've set httpinterface=true in mongod.conf and restarted. auth=false. When I hit :28017, however, I get prompted for a user/pass.
[21:22:51] <bdha> According to the docs, http/rest interfaces don't actually support auth.
[21:22:56] <bdha> I'm using 2.6.1 and a bit confused. ;-)
[21:32:54] <radixo> why my mongo 2.6.1 has no YAML config file for mongod
[23:07:46] <astropirate> When I manually run mongod using "sudo mongod" I am able to access my DB from another server on the same network. However, when I run it using a service using "sudo service mongod start" I am not able to. It shows it running when I check its status as well and can use the mongo client with it
[23:07:53] <astropirate> just not access it from the outside
[23:08:17] <astropirate> i installed it by following this guide: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
[23:13:11] <astropirate> it apears that the mongod service only listens on 127.0.0.1 and not any other address
[23:13:23] <astropirate> but when it's not a service, it will listen on any address