Crispy1975 opened a new issue #1214: CouchDB 2.1.1 View OS Timeouts URL: https://github.com/apache/couchdb/issues/1214 ## Expected Behavior On installing CouchDB 2.1.1 (also 2.1.0) from the Apache apt repository (Debian Jessie) and running the installation verification from the Fauxton UI I would expect the test to complete without issues as its a clean install with now data. ## Current Behavior On running the verification of installation from Fauxton when the step for creating views is reached the process seems to freeze in the UI. On inspecting the server processes running I can see many `couchjs` processes spawning. This happens until the machine is under such heavy load it locks up. #### CouchDB Log ```shell [notice] 2018-02-04T22:01:54.060273Z [email protected] <0.1623.0> 05df57be48 127.0.0.1:59840 127.0.0.1 admin PUT /verifytestdb 201 ok 318 [notice] 2018-02-04T22:01:54.227090Z [email protected] <0.1622.0> 5efe07fec6 127.0.0.1:59840 127.0.0.1 admin PUT /verifytestdb/test_doc_1 201 ok 77 [notice] 2018-02-04T22:01:54.327491Z [email protected] <0.1622.0> 020d6efc86 127.0.0.1:59840 127.0.0.1 admin PUT /verifytestdb/test_doc_1 201 ok 65 [notice] 2018-02-04T22:01:54.419274Z [email protected] <0.1622.0> 005d6c8a4f 127.0.0.1:59840 127.0.0.1 admin DELETE /verifytestdb/ test_doc_1?rev=2-d588d3e93ee155c5afffdf0247a2c5ef 200 ok 57 [notice] 2018-02-04T22:01:54.552315Z [email protected] <0.1622.0> b40d536c0f 127.0.0.1:59840 127.0.0.1 admin PUT /verifytestdb/test_doc_10 201 ok 100 [notice] 2018-02-04T22:01:54.569781Z [email protected] <0.1621.0> 8119af61b8 127.0.0.1:59840 127.0.0.1 admin PUT /verifytestdb/test_doc_20 201 ok 113 [notice] 2018-02-04T22:01:54.619902Z [email protected] <0.2794.0> 7dea9b3af1 127.0.0.1:59840 127.0.0.1 admin PUT /verifytestdb/test_doc_30 201 ok 133 [info] 2018-02-04T22:01:59.622906Z [email protected] <0.211.0> -------- couch_proc_manager <0.3007.0> died normal [error] 2018-02-04T22:01:59.622918Z [email protected] <0.2989.0> -------- OS Process Error <0.3007.0> :: {os_process_error,"OS process timed out."} [info] 2018-02-04T22:02:04.625889Z [email protected] <0.211.0> -------- couch_proc_manager <0.3083.0> died normal [error] 2018-02-04T22:02:04.625898Z [email protected] <0.2989.0> -------- OS Process Error <0.3083.0> :: {os_process_error,"OS process timed out."} [info] 2018-02-04T22:02:09.628899Z [email protected] <0.211.0> -------- couch_proc_manager <0.3173.0> died normal [error] 2018-02-04T22:02:09.628960Z [email protected] <0.2989.0> -------- OS Process Error <0.3173.0> :: {os_process_error,"OS process timed out."} [info] 2018-02-04T22:02:14.631878Z [email protected] <0.211.0> -------- couch_proc_manager <0.3249.0> died normal [error] 2018-02-04T22:02:14.631886Z [email protected] <0.2989.0> -------- OS Process Error <0.3249.0> :: {os_process_error,"OS process timed out."} ``` #### Top Process ```shell PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 22711 couchdb 20 0 107340 4748 3236 R 62.1 0.0 0:05.39 ./bin/couchjs ./share/server/main.js 22726 couchdb 20 0 108364 4752 3240 R 61.4 0.0 0:02.78 ./bin/couchjs ./share/server/main.js 22618 couchdb 20 0 107344 4752 3236 R 58.0 0.0 0:29.20 ./bin/couchjs ./share/server/main.js 22621 couchdb 20 0 108364 4752 3236 R 58.0 0.0 0:24.80 ./bin/couchjs ./share/server/main.js 22629 couchdb 20 0 108364 4748 3232 R 58.0 0.0 0:19.61 ./bin/couchjs ./share/server/main.js 22628 couchdb 20 0 107344 4748 3236 R 56.7 0.0 0:19.30 ./bin/couchjs ./share/server/main.js 22622 couchdb 20 0 107348 4748 3232 R 56.0 0.0 0:24.52 ./bin/couchjs ./share/server/main.js 22654 couchdb 20 0 107344 4756 3236 R 56.0 0.0 0:14.07 ./bin/couchjs ./share/server/main.js 22727 couchdb 20 0 106316 4744 3236 R 56.0 0.0 0:02.39 ./bin/couchjs ./share/server/main.js 22617 couchdb 20 0 106316 4748 3232 R 54.7 0.0 0:29.46 ./bin/couchjs ./share/server/main.js 22695 couchdb 20 0 107340 4744 3236 R 54.0 0.0 0:09.09 ./bin/couchjs ./share/server/main.js 22696 couchdb 20 0 108368 4748 3236 R 52.6 0.0 0:09.24 ./bin/couchjs ./share/server/main.js 22710 couchdb 20 0 108364 4752 3240 R 52.0 0.0 0:05.35 ./bin/couchjs ./share/server/main.js ``` #### Output from ldd ```shell linux-vdso.so.1 (0x00007136a1186000) libmozjs185.so.1.0 => /usr/lib/libmozjs185.so.1.0 (0x00007136a0be0000) libcurl.so.4 => /usr/lib/x86_64-linux-gnu/libcurl.so.4 (0x00007136a096c000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007136a066a000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007136a02bf000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007136a00a2000) libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x000071369fe98000) libplds4.so => /usr/lib/x86_64-linux-gnu/libplds4.so (0x000071369fc94000) libplc4.so => /usr/lib/x86_64-linux-gnu/libplc4.so (0x000071369fa8f000) libnspr4.so => /usr/lib/x86_64-linux-gnu/libnspr4.so (0x000071369f84e000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x000071369f64a000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x000071369f33f000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000071369f128000) libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11 (0x000071369eef4000) librtmp.so.1 => /usr/lib/x86_64-linux-gnu/librtmp.so.1 (0x000071369ecd7000) libssh2.so.1 => /usr/lib/x86_64-linux-gnu/libssh2.so.1 (0x000071369eaad000) libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x000071369e84c000) libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x000071369e450000) libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x000071369e204000) libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x000071369df30000) libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x000071369dcff000) libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x000071369dafa000) liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2 (0x000071369d8eb000) libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x000071369d699000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x000071369d47d000) /lib64/ld-linux-x86-64.so.2 (0x00007136a1187000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x000071369d275000) libgnutls-deb0.so.28 => /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28 (0x000071369cf55000) libhogweed.so.2 => /usr/lib/x86_64-linux-gnu/libhogweed.so.2 (0x000071369cd26000) libnettle.so.4 => /usr/lib/x86_64-linux-gnu/libnettle.so.4 (0x000071369caf4000) libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x000071369c870000) libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x000071369c58f000) libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x000071369c383000) libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x000071369c17e000) libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x000071369bf67000) libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 (0x000071369bd4a000) libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x000071369bb04000) libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x000071369b8f0000) libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x000071369b6dd000) ``` ## Possible Solution Unknown. ## Steps to Reproduce (for bugs) 1. echo "deb https://apache.bintray.com/couchdb-deb jessie main" | sudo tee -a /etc/apt/sources.list 2. curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add - 3. sudo apt-get update && sudo apt-get install couchdb 4. Access Fauxton and run the "Verify CouchDB Installation" ## Context CouchDB is not useable at all in this state, I have tried altering various settings in the config files but to no avail. I would expect with the basic defaults the server to be able to complete it's self test. ## Your Environment * Version used: 2.1.0~jessie * Browser Name and version: Chrome 58.0.2 * Operating System and version: Debian 8 (Jessie) * Link to your project: n/a
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
