You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/06/22 10:33:50 UTC

[GitHub] [couchdb] tjrobinson commented on issue #4077: `_dbs.couch` file is zero bytes and server won't start up

tjrobinson commented on issue #4077:
URL: https://github.com/apache/couchdb/issues/4077#issuecomment-1162931805

   Output from running `couchdb` directly:
   
   ```bash
   root@LDC-AZU-COU2:/opt/bitnami/couchdb/etc# couchdb
   Configuration Settings:
     [admins] admin="-pbkdf2-8857f71e0b770c567210b14b157ba415350f067c,d9b9f7602fd331a8750bf69714ce5529,10"
     [attachments] compressible_types="text/*, application/javascript, application/json, application/xml"
     [attachments] compression_level="8"
     [chttpd] backlog="512"
     [chttpd] bind_address="0.0.0.0"
     [chttpd] max_db_number_for_dbs_info_req="100"
     [chttpd] port="5984"
     [chttpd] prefer_minimal="Cache-Control, Content-Length, Content-Range, Content-Type, ETag, Server, Transfer-Encoding, Vary"
     [chttpd] require_valid_user="true"
     [chttpd] server_options="[{recbuf, undefined}]"
     [chttpd] socket_options="[{sndbuf, 262144}, {nodelay, true}]"
     [cluster] n="3"
     [cluster] q="2"
     [cors] credentials="true"
     [cors] headers="accept, authorization, content-type, origin, referer"
     [cors] methods="GET, PUT, POST, HEAD, DELETE"
     [cors] origins="*"
     [couch_httpd_auth] allow_persistent_cookies="true"
     [couch_httpd_auth] auth_cache_size="50"
     [couch_httpd_auth] authentication_db="_users"
     [couch_httpd_auth] authentication_redirect="/_utils/session.html"
     [couch_httpd_auth] iterations="10"
     [couch_httpd_auth] require_valid_user="true"
     [couch_httpd_auth] secret="2ddfd16d6682d9e3037cbf234911474e"
     [couch_httpd_auth] timeout="600"
     [couch_peruser] database_prefix="userdb-"
     [couch_peruser] delete_dbs="false"
     [couch_peruser] enable="false"
     [couchdb] attachment_stream_buffer_size="4096"
     [couchdb] changes_doc_ids_optimization_threshold="100"
     [couchdb] database_dir="/bitnami/couchdb/data"
     [couchdb] default_engine="couch"
     [couchdb] default_security="admin_only"
     [couchdb] file_compression="snappy"
     [couchdb] max_dbs_open="500"
     [couchdb] max_document_size="8000000"
     [couchdb] os_process_timeout="5000"
     [couchdb] users_db_security_editable="false"
     [couchdb] uuid="0ed37b0e0f1c26daae00df09e76bff56"
     [couchdb] view_index_dir="/bitnami/couchdb/data"
     [couchdb_engines] couch="couch_bt_engine"
     [csp] enable="true"
     [feature_flags] partitioned||*="true"
     [httpd] WWW-Authenticate="Basic realm=\"administrator\""
     [httpd] allow_jsonp="false"
     [httpd] authentication_handlers="{couch_httpd_auth, cookie_authentication_handler}, {couch_httpd_auth, default_authentication_handler}"
     [httpd] bind_address="127.0.0.1"
     [httpd] config_whitelist="[{httpd,config_whitelist}]"
     [httpd] enable_cors="true"
     [httpd] enable_xframe_options="false"
     [httpd] max_http_request_size="4294967296"
     [httpd] port="5986"
     [httpd] secure_rewrites="true"
     [httpd] socket_options="[{sndbuf, 262144}]"
     [indexers] couch_mrview="true"
     [ioq] concurrency="10"
     [ioq] ratio="0.01"
     [ioq.bypass] compaction="false"
     [ioq.bypass] os_process="true"
     [ioq.bypass] read="true"
     [ioq.bypass] shard_sync="false"
     [ioq.bypass] view_update="true"
     [ioq.bypass] write="true"
     [log] file="/opt/bitnami/couchdb/var/log/couch.log"
     [log] level="debug"
     [log] writer="file"
     [query_server_config] os_process_limit="100"
     [query_server_config] reduce_limit="true"
     [replicator] connection_timeout="30000"
     [replicator] http_connections="20"
     [replicator] interval="60000"
     [replicator] max_churn="20"
     [replicator] max_jobs="500"
     [replicator] retries_per_request="5"
     [replicator] socket_options="[{keepalive, true}, {nodelay, false}]"
     [replicator] ssl_certificate_max_depth="3"
     [replicator] startup_jitter="5000"
     [replicator] verify_ssl_certificates="false"
     [replicator] worker_batch_size="500"
     [replicator] worker_processes="4"
     [ssl] port="6984"
     [uuids] algorithm="sequential"
     [uuids] max_count="1000"
     [vendor] name="The Apache Software Foundation"
   {"Kernel pid terminated",application_controller,"{application_start_failure,mem3,{{shutdown,{failed_to_start_child,mem3_shards,{{case_clause,{{badmatch,{error,enospc}},[{couch_bt_engine,init,2,[{file,\"src/couch_bt_engine.erl\"},{line,163}]},{couch_db_engine,init,3,[{file,\"src/couch_db_engine.erl\"},{line,775}]},{couch_db_updater,init,1,[{file,\"src/couch_db_updater.erl\"},{line,43}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,249}]}]}},[{mem3_util,ensure_exists,1,[{file,\"src/mem3_util.erl\"},{line,269}]},{mem3_shards,get_update_seq,0,[{file,\"src/mem3_shards.erl\"},{line,321}]},{mem3_shards,init,1,[{file,\"src/mem3_shards.erl\"},{line,208}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,374}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,342}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,249}]}]}}},{mem3_app,start,[normal,[]]}}}"}
   Kernel pid terminated (application_controller) ({application_start_failure,mem3,{{shutdown,{failed_to_start_child,mem3_shards,{{case_clause,{{badmatch,{error,enospc}},[{couch_bt_engine,init,2,[{file,"
   
   Crash dump is being written to: erl_crash.dump...done
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org