-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.11, 2.4.12
-
Component/s: Replication, Sharding
-
Labels:None
-
ALL
Each mongos eat about more than 1.5GB RSS memory after running for about 2 months of all instances. It possible exist memory leak.
# 2.4.11 mongodb 26249 5.1 24.6 3945632 3029044 ? Ssl Feb06 5018:09 /usr/bin/mongos --config /etc/mongos.conf # 2.4.11 mongodb 4418 6.5 25.6 4064288 3155864 ? Ssl Feb06 6316:31 /usr/bin/mongos --config /etc/mongos.conf # 2.4.12 mongodb 7360 6.2 13.1 2501396 1621196 ? Ssl Feb06 6078:39 /usr/bin/mongos --config /etc/mongos.conf # 2.4.12 mongodb 14184 6.6 15.8 2807588 1953808 ? Ssl Feb06 6464:35 /usr/bin/mongos --config /etc/mongos.conf
and this one eat 500MB RSS memory after running for about 10 days
# 2.4.12 mongodb 29773 5.0 4.3 1385172 539880 ? Ssl Apr05 653:06 /usr/bin/mongos --config /etc/mongos.conf
and some other info
# 2.4.11 x@y1:~$ mongos --version MongoS version 2.4.11 starting: pid=23921 port=27017 64-bit host=y1 (--help for usage) git version: fa13d1ee8da0f112f588570b4070f73d7af2f7fd build sys info: Linux ip-10-2-29-40 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_49 x@y1:~$ ldd /usr/bin/mongos linux-vdso.so.1 => (0x00007ffffb7ff000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0e509f7000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0e507ef000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f0e504ee000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0e501f2000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f0e4ffdc000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0e4fc1c000) /lib64/ld-linux-x86-64.so.2 (0x00007f0e50c1f000) #2.4.12 x@y2:~$ mongos --version MongoS version 2.4.12 starting: pid=3914 port=27017 64-bit host=y2 (--help for usage) git version: 09917767b116f4ff1c0eadda1e8bc5db30828500 build sys info: Linux ip-10-142-184-243 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_49 x@y2:~$ ldd /usr/bin/mongos linux-vdso.so.1 => (0x00007fffa97f2000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd587205000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd586ffd000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fd586cfc000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd586a00000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd5867ea000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd58642a000) /lib64/ld-linux-x86-64.so.2 (0x00007fd58742c000)