PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Tuesday the 25th of June, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[08:29:26] <seok> Hello!
[08:30:09] <seok> Been looking around the manual to study logging, anyone know where to find the specification for each verbosity levels?
[15:52:42] <Beldramma> Hi everybody ! I have a problem running the mongod daemon. These are my following errors : http://ideone.com/RthKmZ.
[15:54:59] <GothAlice> Beldramma: "Alignment trap: not handling instruction" — are you trying to run an x64 executable on ARM, or vice-versa?
[15:55:33] <GothAlice> That's less of a mongodb problem than a "running an executable program" problem. ;P
[15:55:41] <waheedi> lol
[15:56:31] <waheedi> well the error sounds to be very serious
[16:04:12] <GothAlice> Yup. That program (file on-disk) you are trying to run is expressly not compatible with your architecture. The machine code is for a different machine.
[16:10:56] <Beldramma> Hum Ok ! It strange because the package is integrated to Buildroot, that I use.
[16:11:23] <Beldramma> I will verify it
[16:13:20] <GothAlice> Might investigate the output of "file <path/to/mongod>" — mine says: /usr/local/bin/mongod: Mach-O 64-bit executable x86_64 — this is correct for my architecture, I'm on a 64-bit Mac.
[16:13:24] <GothAlice> Beldramma: ^
[16:16:08] <waheedi> Beldramma: just run the cmd $ file ./mongod
[16:16:28] <Beldramma> I don't have "file" on my Buildroot
[16:16:40] <waheedi> then its mostly the case :)
[16:18:28] <GothAlice> dpkg -S /usr/bin/file
[16:18:55] <GothAlice> Might tell you which package you'd need to install to get that tool. It's crazy, though, it was my understanding that was part of the GNU base for Linux.
[16:19:19] <GothAlice> (I.e. part of gnu-fileutils.)
[16:21:11] <Beldramma> Ok I did it : mongod: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-, for GNU/Linux 4.19.0, BuildID[sha1]=4380f8d5d1a5c0588a6d9f4dc3f5182a530f8550, stripped
[16:21:21] <Beldramma> so it is for ARM
[16:23:29] <GothAlice> Well, there's your problem!
[16:24:06] <GothAlice> Best case, you'd need a build node on ARM so it can actually run it. Worst case, qemu yourself an ARM testing environment emulated on x86.
[16:24:58] <GothAlice> With an important note from that file output: that's a 32-bit executable.
[16:26:29] <GothAlice> https://docs.mongodb.com/manual/release-notes/3.2/index.html#platform-support ← deprecated (unsupported) and unavailable upstream.
[16:29:18] <GothAlice> (32-bit processes on Linux only get 2GB of virtual memory to work with. That is a serious constraint on a database designed around the use of memory mapped files.)
[16:29:57] <Beldramma> hum ok
[16:30:58] <Beldramma> Maybe MongoDB gave a 64-bit package for ARM
[16:31:39] <GothAlice> Ah, 32-bit builds also do not include the WiredTiger (now default) storage engine.
[16:31:46] <GothAlice> Ref: https://docs.mongodb.com/v3.4/release-notes/3.0/#distributions-and-supported-versions
[16:32:22] <waheedi> GothAlice: so for 32-bit does it only include mmapv1 and memory storage?
[16:32:31] <GothAlice> So it would seem.
[16:32:39] <GothAlice> + the aforementioned 2GB limit.
[16:33:02] <GothAlice> Considering I have nearly 40TiB of data in MongoDB, a 2GB limit is… hilarious, to me. ;^P
[16:38:34] <Beldramma> I am on Raspberry Pi, so it is 64-bits ARM no ?
[16:42:13] <kali> Beldramma: if you're running raspbian, it is 32 bit
[16:42:22] <GothAlice> The hardware is capable of that, aye. Are you running a 64-bit kernel and userspace? ^
[16:44:40] <kali> and only raspi 3 and 4, actually. raspi 0, 1 and 2 hardware are 32bit
[16:45:13] <GothAlice> http://s.webcore.io/4cd03ad410b4/downloads-page-is-completely-broken--but-the-sexy-3d-tiles-work.gif
[16:45:16] <GothAlice> My face.
[16:46:39] <GothAlice> Glorious chains of "minified React errors". #143 is popular today. XP
[17:08:41] <seok> Hi everyone, I asked this before but I couldn't get any answers
[17:08:42] <seok> Been looking around the manual to study logging, anyone know where to find the specification for each verbosity levels?
[18:37:59] <crised> In mongoose: What's the difference between the type 'String' and '[String]'?