mongodb fails assertion on ppc64el with 64k pagesize
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mongodb (Ubuntu) |
Fix Released
|
Undecided
|
Adam Conrad |
Bug Description
The output of running the command is:
ubuntu@
--dbpath=
'/home/
--bind_ip 0.0.0.0 --port 37017 --noprealloc --smallfiles
warning: bind_ip of 0.0.0.0 is unnecessary; listens on all ips by default
note: noprealloc may hurt performance in many applications
Wed Mar 19 01:05:53.146 [initandlisten] MongoDB starting : pid=31599
port=37017 dbpath=
Wed Mar 19 01:05:53.146 [initandlisten] db version v2.4.9
Wed Mar 19 01:05:53.146 [initandlisten] git version: nogitversion
Wed Mar 19 01:05:53.146 [initandlisten] build info: Linux fisher01
3.13.0-8-generic #28-Ubuntu SMP Tue Feb 11 17:58:07 UTC 2014 ppc64le
BOOST_LIB_
Wed Mar 19 01:05:53.146 [initandlisten] allocator: tcmalloc
Wed Mar 19 01:05:53.147 [initandlisten] options: { auth: true, bind_ip:
"0.0.0.0", dbpath: "/home/
port: 37017, smallfiles: true, sslOnNormalPorts: true, sslPEMKeyFile:
"/home/
Wed Mar 19 01:05:53.148 [initandlisten] journal
dir=/home/
Wed Mar 19 01:05:53.148 [initandlisten] recover : no journal files
present, no recovery needed
Wed Mar 19 01:05:53.150 [initandlisten] Fatal Assertion 16143
0x106d0848 0x106a27f8 0x106833a8 0x106a7f28 0x1035fdfc 0x103600fc
0x10360b14 0x10354e20 0x101a1a54 0x101a3838 0x10179138 0x3fffada74b80
0x3fffada74d78
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
[0x106a7f28]
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/lib/powerpc64
/lib/powerpc64
[0x3fffada74d78]
Wed Mar 19 01:05:53.155 [initandlisten]
The line of code is here:
https:/
and is:
void LogFile:
const char *buf = static_cast<const char *>( b );
ssize_t charsToWrite = static_
fassert( 16144, charsToWrite >= 0 );
fassert( 16142, _fd >= 0 );
fassert( 16143, reinterpret_
g_minOSPageSize
It is the last line there that is asserting. It seems that something is
misalligned at the OS level. It could well be that the VM is emulating
power 8, and is doing something weird.
Changed in mongodb (Ubuntu): | |
assignee: | nobody → Adam Conrad (adconrad) |
It seems the pages size of rockne-02 is
ubuntu@ rockne- 02:~/go/ src/launchpad. net/juju- core$ getconf PAGESIZE
65536
but winton-02 has:
ubuntu@winton-02:~$ getconf PAGESIZE
4096
this may be it... no idea why mongo does the alignment check anyway,
seems like crack