Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.0.0-alpha5, 3.0.0-beta1
-
None
-
None
-
1
Description
There seems to be two potentially related issues here, or maybe just my lack of knowledge. I am trying to use libcouhcbase3 with 512 threads. I have set ulimits very high:
root@172-23-133-10:/tmp/libcouchbase-3.0.0+beta.1_ubuntu1604_xenial_amd64# ulimit -n
999999
I am install via the instructions here: https://docs.couchbase.com/c-sdk/3.0/project-docs/sdk-release-notes.html#installation
There are some typos. I am using the debian/ubuntu instructions. I ran sudo apt install libevent-core-2.1 but then when I try to run the rest of the install i get:
root@172-23-133-10:/tmp/libcouchbase-3.0.0+beta.1_ubuntu1604_xenial_amd64# sudo dpkg -i libcouchbase3{-tools,-libevent,}_3.0.0*.deb libcouchbase-dev*.deb |
sudo: unable to resolve host 172-23-133-10 |
Selecting previously unselected package libcouchbase3-tools. |
(Reading database ... 518604 files and directories currently installed.) |
Preparing to unpack libcouchbase3-tools_3.0.0+beta.1-1_amd64.deb ... |
Unpacking libcouchbase3-tools (3.0.0+beta.1-1) ... |
Selecting previously unselected package libcouchbase3-libevent:amd64. |
Preparing to unpack libcouchbase3-libevent_3.0.0+beta.1-1_amd64.deb ... |
Unpacking libcouchbase3-libevent:amd64 (3.0.0+beta.1-1) ... |
Selecting previously unselected package libcouchbase3:amd64. |
Preparing to unpack libcouchbase3_3.0.0+beta.1-1_amd64.deb ... |
Unpacking libcouchbase3:amd64 (3.0.0+beta.1-1) ... |
Selecting previously unselected package libcouchbase-dev:amd64. |
Preparing to unpack libcouchbase-dev_3.0.0+beta.1-1_amd64.deb ... |
Unpacking libcouchbase-dev:amd64 (3.0.0+beta.1-1) ... |
dpkg: dependency problems prevent configuration of libcouchbase3-tools:
|
libcouchbase3-tools depends on libevent-core-2.0-5 (>= 2.0.10-stable); however: |
Package libevent-core-2.0-5 is not installed. |
|
dpkg: error processing package libcouchbase3-tools (--install): |
dependency problems - leaving unconfigured
|
dpkg: dependency problems prevent configuration of libcouchbase3-libevent:amd64:
|
libcouchbase3-libevent:amd64 depends on libevent-core-2.0-5 (>= 2.0.10-stable); however: |
Package libevent-core-2.0-5 is not installed. |
|
dpkg: error processing package libcouchbase3-libevent:amd64 (--install): |
dependency problems - leaving unconfigured
|
Setting up libcouchbase3:amd64 (3.0.0+beta.1-1) ... |
Setting up libcouchbase-dev:amd64 (3.0.0+beta.1-1) ... |
Processing triggers for man-db (2.7.5-1) ... |
Processing triggers for libc-bin (2.23-0ubuntu10) ... |
Errors were encountered while processing: |
libcouchbase3-tools
|
libcouchbase3-libevent:amd64
|
It is claiming i need libevent-2.0-5 even though to docs say otherwise. Then I install libevent-2.0-5 like it says and run cbc pillowifght. I am running with 512 threads and get the following error:
root@172-23-133-10:/tmp/libcouchbase-3.0.0+beta.1_ubuntu1604_xenial_amd64# cbc-pillowfight --password password --batch-size 1 --num-items 20000000 --min-size 512 --max-size 512 --persist-to 0 --replicate-to 0 --json --spec "couchbase://172.23.133.13/bucket-1?ipv6=allow&enable_tracing=false" --set-pct 100 --num-cycles 10 --no-population --durability persist_to_majority --num-threads 512 |
Running. Press Ctrl-C to terminate...
|
*** buffer overflow detected ***: cbc-pillowfight terminated
|
COUCHBASE: too many FDs. Cannot have socket > FD_SETSIZE. Use other I/O plugin
|
======= Backtrace: =========
|
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f00759bb7e5] |
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f0075a5d15c] |
/lib/x86_64-linux-gnu/libc.so.6(+0x117160)[0x7f0075a5b160] |
/lib/x86_64-linux-gnu/libc.so.6(+0x1190a7)[0x7f0075a5d0a7] |
/usr/lib/x86_64-linux-gnu/libcouchbase.so.4(+0x161a0)[0x7f00767e21a0] |
/usr/lib/x86_64-linux-gnu/libcouchbase.so.4(lcb_wait+0x53)[0x7f007685c413] |
cbc-pillowfight[0x409d50] |
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f0075d156ba] |
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f0075a4b41d] |
======= Memory map: ========
|
00400000-00443000 r-xp 00000000 fc:00 24643244 /usr/bin/cbc-pillowfight |
00642000-00643000 r--p 00042000 fc:00 24643244 /usr/bin/cbc-pillowfight |
00643000-00644000 rw-p 00043000 fc:00 24643244 /usr/bin/cbc-pillowfight |
00644000-00646000 rw-p 00000000 00:00 0 |
02267000-03f81000 rw-p 00000000 00:00 0 [heap] |
7effb287b000-7effb287c000 ---p 00000000 00:00 0 |
7effb287c000-7effb32df000 rw-p 00000000 00:00 0 |
7effb32df000-7effb32e0000 ---p 00000000 00:00 0 |
7effb32e0000-7effb3d43000 rw-p 00000000 00:00 0 |
7effb3d43000-7effb3d44000 ---p 00000000 00:00 0 |
7effb3d44000-7effb47a7000 rw-p 00000000 00:00 0 |
....
|
....
|
....
|
7f0074190000-7f00748b9000 rw-p 00000000 00:00 0 |
7f00748b9000-7f00748ba000 ---p 00000000 00:00 0 |
7f00748ba000-7f007531d000 rw-p 00000000 00:00 0 |
7f007531d000-7f0075324000 r-xp 00000000 fc:00 46929497 /lib/x86_64-linux-gnu/librt-2.23.so |
7f0075324000-7f0075523000 ---p 00007000 fc:00 46929497 /lib/x86_64-linux-gnu/librt-2.23.so |
7f0075523000-7f0075524000 r--p 00006000 fc:00 46929497 /lib/x86_64-linux-gnu/librt-2.23.so |
7f0075524000-7f0075525000 rw-p 00007000 fc:00 46929497 /lib/x86_64-linux-gnu/librt-2.23.so |
7f0075525000-7f007553c000 r-xp 00000000 fc:00 46929483 /lib/x86_64-linux-gnu/libresolv-2.23.so |
7f007553c000-7f007573c000 ---p 00017000 fc:00 46929483 /lib/x86_64-linux-gnu/libresolv-2.23.so |
7f007573c000-7f007573d000 r--p 00017000 fc:00 46929483 /lib/x86_64-linux-gnu/libresolv-2.23.so |
7f007573d000-7f007573e000 rw-p 00018000 fc:00 46929483 /lib/x86_64-linux-gnu/libresolv-2.23.so |
7f007573e000-7f0075740000 rw-p 00000000 00:00 0 |
7f0075740000-7f0075743000 r-xp 00000000 fc:00 46929481 /lib/x86_64-linux-gnu/libdl-2.23.so |
7f0075743000-7f0075942000 ---p 00003000 fc:00 46929481 /lib/x86_64-linux-gnu/libdl-2.23.so |
7f0075942000-7f0075943000 r--p 00002000 fc:00 46929481 /lib/x86_64-linux-gnu/libdl-2.23.so |
7f0075943000-7f0075944000 rw-p 00003000 fc:00 46929481 /lib/x86_64-linux-gnu/libdl-2.23.so |
7f0075944000-7f0075b04000 r-xp 00000000 fc:00 46929479 /lib/x86_64-linux-gnu/libc-2.23.so |
7f0075b04000-7f0075d04000 ---p 001c0000 fc:00 46929479 /lib/x86_64-linux-gnu/libc-2.23.so |
7f0075d04000-7f0075d08000 r--p 001c0000 fc:00 46929479 /lib/x86_64-linux-gnu/libc-2.23.so |
7f0075d08000-7f0075d0a000 rw-p 001c4000 fc:00 46929479 /lib/x86_64-linux-gnu/libc-2.23.so |
7f0075d0a000-7f0075d0e000 rw-p 00000000 00:00 0 |
7f0075d0e000-7f0075d26000 r-xp 00000000 fc:00 46929478 /lib/x86_64-linux-gnu/libpthread-2.23.so |
7f0075d26000-7f0075f25000 ---p 00018000 fc:00 46929478 /lib/x86_64-linux-gnu/libpthread-2.23.so |
7f0075f25000-7f0075f26000 r--p 00017000 fc:00 46929478 /lib/x86_64-linux-gnu/libpthread-2.23.so |
7f0075f26000-7f0075f27000 rw-p 00018000 fc:00 46929478 /lib/x86_64-linux-gnu/libpthread-2.23.so |
7f0075f27000-7f0075f2b000 rw-p 00000000 00:00 0 |
7f0075f2b000-7f0075f41000 r-xp 00000000 fc:00 46924306 /lib/x86_64-linux-gnu/libgcc_s.so.1 |
7f0075f41000-7f0076140000 ---p 00016000 fc:00 46924306 /lib/x86_64-linux-gnu/libgcc_s.so.1 |
7f0076140000-7f0076141000 rw-p 00015000 fc:00 46924306 /lib/x86_64-linux-gnu/libgcc_s.so.1 |
7f0076141000-7f0076249000 r-xp 00000000 fc:00 46929475 /lib/x86_64-linux-gnu/libm-2.23.so |
7f0076249000-7f0076448000 ---p 00108000 fc:00 46929475 /lib/x86_64-linux-gnu/libm-2.23.so |
7f0076448000-7f0076449000 r--p 00107000 fc:00 46929475 /lib/x86_64-linux-gnu/libm-2.23.so |
7f0076449000-7f007644a000 rw-p 00108000 fc:00 46929475 /lib/x86_64-linux-gnu/libm-2.23.so |
7f007644a000-7f00765bc000 r-xp 00000000 fc:00 24643756 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 |
7f00765bc000-7f00767bc000 ---p 00172000 fc:00 24643756 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 |
7f00767bc000-7f00767c6000 r--p 00172000 fc:00 24643756 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 |
7f00767c6000-7f00767c8000 rw-p 0017c000 fc:00 24643756 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 |
7f00767c8000-7f00767cc000 rw-p 00000000 00:00 0 |
7f00767cc000-7f00768b0000 r-xp 00000000 fc:00 24641724 /usr/lib/x86_64-linux-gnu/libcouchbase.so.4.0.1 |
7f00768b0000-7f0076aaf000 ---p 000e4000 fc:00 24641724 /usr/lib/x86_64-linux-gnu/libcouchbase.so.4.0.1 |
7f0076aaf000-7f0076ab1000 r--p 000e3000 fc:00 24641724 /usr/lib/x86_64-linux-gnu/libcouchbase.so.4.0.1 |
7f0076ab1000-7f0076abb000 rw-p 000e5000 fc:00 24641724 /usr/lib/x86_64-linux-gnu/libcouchbase.so.4.0.1 |
7f0076abb000-7f0076ae1000 r-xp 00000000 fc:00 46929477 /lib/x86_64-linux-gnu/ld-2.23.so |
7f0076ccb000-7f0076cd6000 rw-p 00000000 00:00 0 |
7f0076cdf000-7f0076ce0000 rw-p 00000000 00:00 0 |
7f0076ce0000-7f0076ce1000 r--p 00025000 fc:00 46929477 /lib/x86_64-linux-gnu/ld-2.23.so |
7f0076ce1000-7f0076ce2000 rw-p 00026000 fc:00 46929477 /lib/x86_64-linux-gnu/ld-2.23.so |
7f0076ce2000-7f0076ce3000 rw-p 00000000 00:00 0 |
7fffe04f8000-7fffe0519000 rw-p 00000000 00:00 0 [stack] |
7fffe0571000-7fffe0574000 r--p 00000000 00:00 0 [vvar] |
7fffe0574000-7fffe0576000 r-xp 00000000 00:00 0 [vdso] |
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] |
Aborted (core dumped)
|
Not sure whats going on...
Attachments
For Gerrit Dashboard: CCBC-1101 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
116241,2 | CCBC-1101: Fix location of plugins for debian systems | master | libcouchbase | Status: MERGED | +2 | +1 |