[07:38:19] <litheum> the mongodb (pretty old, it seems) embedded in unifi has start crashing recently. does this mean anything to any of you folks? http://ix.io/2cSw
[07:42:28] <litheum> sorry, it's on a raspberry pi, that is probably relevant. aarch64. /usr/bin/mongod: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=d1ff2337ceff5bba70f963c8a3c6824e095e7b8d, stripped
[07:58:57] <litheum> and for that matter it's a Raspberry Pi 4 Model B Rev 1.1, which is ARM v8
[08:07:55] <litheum> oooh turns out it's a problem with using the 64-bit kernel. i removed arm_64bit=1 from /boot/config.txt to have it revert back to using kernel7l.img (armv7l instead of aarch64) and now mongodb starts fine. i'll try to follow up on this tomorrow with the rpi folks.
[08:23:31] <kali> litheum: out of curiosity and a bit offtopic, which OS are you using ?
[08:48:26] <user217_> hello. Can somebody help me please with mongodb inside docker container? I start mongodb sevice but dont see that mongo listen any port
[09:48:10] <jell75> hi, inside the mongo shell, can we parse a string containing mongo document into a Document object?
[09:50:12] <jell75> what i have is files containing mongo flavored JSON (with BSON elements like ObjectId() etc.). all i want is do something like Document.parse(cat(filename)) since JSON.parse in mongo shell does not support its own format..
[13:24:08] <user217_> hello. Can I get some help with (code=exited, status=100)
[13:24:19] <user217_> ● mongod.service - MongoDB Database Server
[18:50:50] <entry_lvl_dev> if i create a script that basically replaces the whole object .. and lets say if i have a bunch of others that o the same.. will there be an issue... should i script in a way that only modifes one proeprty rathe then replacing the whole object with updated information if i am only changing one property
[18:58:34] <entry_lvl_dev> im thinking there will be collisions with other people who are updating the database... what if that does occur what happens
[18:58:52] <entry_lvl_dev> i guess that might never happen since updates happen in split second
[21:30:50] <jindraj> With ubuntu 18.04 there's glibc 2.25 or newer which doesn't have a getpid() cache as it used to. Official nodejs mongodb driver is using getpid() inside js-bson to generate a unique ObjectId for documents to be inserted into mongodb (if u
[21:32:35] <jindraj> * If I understand it well. The problem is, that getpid() isn't cheap syscall anymore. I' measured that an application we have is calling getpid syscall approx 10% of all time. This causes quite a huge performance drop.
[21:33:44] <jindraj> https://github.com/mongodb/js-bson/blob/e188ae6cacf81d729b73ba94a5b55d41ed9ce625/lib/bson/objectid.js#L140 - here it is.
[21:38:49] <jindraj> Am I correct? Can I create an github issue? Because asking 5000 times per second what is the pid of the proccess isn't cheap. Can you find anything else to use insetead of getpid? Random enough and cheaper?