Mongodb server ignores --smallfiles if other paramethers are set in the command line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
Low
|
Unassigned | ||
mongodb (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
I've found out that while `mongodb --smallfiles --conf=something` makes mongodb actually using small files, while something more large like `/usr/bin/mongod --auth --dbpath=
Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten] options: { auth: true, bind_ip: "0.0.0.0", dbpath: "/home/
Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten] journal dir=/home/
Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten] recover : no journal files present, no recovery needed
Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten]
Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten] ERROR: Insufficient free space for journal files
Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten] Please make at least 422MB available in /home/braiam/
Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten]
Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten] exception in initAndListen: 15926 Insufficient free space for journals, terminating
This of course should happen if the `--smallfiles` parameter is passed.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: mongodb-server 1:2.2.4-0ubuntu1
ProcVersionSign
Uname: Linux 3.9.0-0-generic x86_64
NonfreeKernelMo
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Sun Oct 20 02:56:51 2013
MarkForUpload: True
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mongodb
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in mongodb (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in juju-core: | |
status: | Triaged → Won't Fix |
HA! Ja'cuse Mongo! I always suspected something like this was
happening, thanks for confirming Kapil.
On Tue, Oct 22, 2013 at 12:38 AM, Kapil Thangavelu /bugs.launchpad .net/bugs/ 1242237 /home/braiam/ .juju/local/ db braiam/ .juju/local/ server. pem' --sslPEMKeyPassword ignored braiam/ .juju/local/ db", noprealloc: true, port: 37017, smallfiles: true, sslOnNormalPorts: true, sslPEMKeyFile: "/home/ braiam/ .juju/local/ server. pem", sslPEMKeyPassword: "<password>", syslog: true } braiam/ .juju/local/ db/journal .juju/local/ db/journal or use --smallfiles ature: Ubuntu 3.9.0-0. 4userns5- generic 3.9.0 dules: atm xt_recent ipt_REJECT xt_LOG xt_limit xt_tcpudp xt_addrtype xt_state iptable_filter bluetooth veth aufs ebt_ip ebtable_broute ebtable_nat ebtable_filter ebtables ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables bridge stp llc ip_gre gre dm_crypt psmouse microcode i2c_piix4 joydev serio_raw mac_hid rbd virtio_balloon libceph libcrc32c acpiphp hid_generic usbhid hid crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 xts lrw gf128mul ablk_helper cryptd floppy cirrus syscopyarea sysfillrect sys...
<email address hidden> wrote:
> ** Also affects: juju-core
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to juju-
> core.
> Matching subscriptions: MOAR JUJU SPAM!
> https:/
>
> Title:
> Mongodb server ignores --smallfiles if other paramethers are set in
> the command line
>
> Status in juju-core:
> New
> Status in “mongodb” package in Ubuntu:
> New
>
> Bug description:
> I've found out that while `mongodb --smallfiles --conf=something`
> makes mongodb actually using small files, while something more large
> like `/usr/bin/mongod --auth --dbpath=
> --sslOnNormalPorts --sslPEMKeyFile
> '/home/
> --bind_ip 0.0.0.0 --port 37017 --noprealloc --syslog --smallfiles`
> completely fails with the following log:
>
> Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten] options: { auth: true, bind_ip: "0.0.0.0", dbpath: "/home/
> Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten] journal dir=/home/
> Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten] recover : no journal files present, no recovery needed
> Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten]
> Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten] ERROR: Insufficient free space for journal files
> Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten] Please make at least 422MB available in /home/braiam/
> Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten]
> Oct 20 02:41:05 vm-2 mongod.37017[5159]: Sun Oct 20 02:41:05 [initandlisten] exception in initAndListen: 15926 Insufficient free space for journals, terminating
>
> This of course should happen if the `--smallfiles` parameter is
> passed.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 13.04
> Package: mongodb-server 1:2.2.4-0ubuntu1
> ProcVersionSign
> Uname: Linux 3.9.0-0-generic x86_64
> NonfreeKernelMo