Compaction fails with errors


#1

Anyone seen this before on 2.0.1? I’ve done a decent amount of googling and nothing very useful has turned up.

[ns_server:info,2013-11-12T14:24:53.263,ns_1@172.18.187.10:<0.28600.85>:compaction_daemon:try_to_cleanup_indexes:604]Cleaning up indexes for bucket `default` [ns_server:info,2013-11-12T14:24:53.265,ns_1@172.18.187.10:<0.28600.85>:compaction_daemon:spawn_bucket_compactor:563]Compacting bucket default with config: [{allowed_time_period,[{from_hour,7}, {to_hour,11}, {from_minute,0}, {to_minute,0}, {abort_outside,false}]}, {parallel_db_and_view_compaction,false}, {database_fragmentation_threshold,{30,undefined}}, {view_fragmentation_threshold,{30,undefined}}] [ns_server:info,2013-11-12T14:24:53.299,ns_1@172.18.187.10:<0.28604.85>:compaction_daemon:spawn_dbs_compactor:700]Forceful compaction of bucket default requested [ns_server:info,2013-11-12T14:24:53.299,ns_1@172.18.187.10:<0.28604.85>:compaction_daemon:spawn_dbs_compactor:709]Compacting databases for bucket default [ns_server:info,2013-11-12T14:24:53.301,ns_1@172.18.187.10:<0.28605.85>:compaction_daemon:spawn_vbucket_compactor:828]Compacting <> [couchdb:error,2013-11-12T14:24:53.500,ns_1@172.18.187.10:<0.28606.85>:couch_log:error:42]Native compact for "default/master" failed due to error {exit_status,255}. Falling back to erlang. [ns_server:info,2013-11-12T14:24:53.532,ns_1@172.18.187.10:<0.28619.85>:compaction_daemon:spawn_vbucket_compactor:828]Compacting <> [couchdb:error,2013-11-12T14:24:53.730,ns_1@172.18.187.10:<0.28620.85>:couch_log:error:42]Native compact for "default/0" failed due to error {exit_status,255}. Falling back to erlang. [ns_server:info,2013-11-12T14:24:58.847,ns_1@172.18.187.10:ns_config_rep<0.5461.0>:ns_config_rep:do_pull:341]Pulling config from: 'ns_1@172.18.163.48'

[ns_server:info,2013-11-12T14:25:07.462,ns_1@172.18.187.10:ns_config_rep<0.5461.0>:ns_config_rep:do_pull:341]Pulling config from: ‘ns_1@172.18.241.38’

[error_logger:error,2013-11-12T14:25:11.616,ns_1@172.18.187.10:error_logger<0.6.0>:ale_error_logger_handler:log_msg:76]Error in process <0.28620.85> on node ‘ns_1@172.18.187.10’ with exit value: {{badmatch,137212},[{couch_db_updater,copy_compact,3},{couch_db_updater,start_copy_compact,2}]}

[ns_server:warn,2013-11-12T14:25:11.616,ns_1@172.18.187.10:<0.28604.85>:compaction_daemon:do_chain_compactors:684]Compactor for vbucket default/0 (pid [{type,vbucket},
{name,<<“default/0”>>},
{important,false},
{fa,
{#Fun<compaction_daemon.17.31008740>,
[<<“default”>>,
{0,<<“default/0”>>},
{config,
{30,18446744073709551616},
{30,18446744073709551616},
{period,7,0,11,0,false},
false,false,
{daemon_config,30,131072}},
true,[]]}},
{on_success,
{#Fun<compaction_daemon.18.103258630>,
[2,411]}}]) terminated unexpectedly (ignoring this): {{badmatch,
137212},
[{couch_db_updater,
copy_compact,
3},
{couch_db_updater,
start_copy_compact,
2}]}
[ns_server:info,2013-11-12T14:25:11.616,ns_1@172.18.187.10:<0.28604.85>:compaction_daemon:spawn_dbs_compactor:749]Finished compaction of databases for bucket default
[ns_server:info,2013-11-12T14:25:11.617,ns_1@172.18.187.10:<0.28744.85>:compaction_daemon:spawn_view_index_compactor:888]Forceful compaction of view default/_design/dev_json/main requested
[error_logger:error,2013-11-12T14:25:11.617,ns_1@172.18.187.10:error_logger<0.6.0>:ale_error_logger_handler:log_report:72]
=========================CRASH REPORT=========================
crasher:
initial call: compaction_daemon:-spawn_vbucket_compactor/5-fun-0-/0
pid: <0.28619.85>
registered_name: []
exception exit: {{badmatch,137212},
[{couch_db_updater,copy_compact,3},
{couch_db_updater,start_copy_compact,2}]}
in function compaction_daemon:’-spawn_vbucket_compactor/5-fun-0-’/7
ancestors: [<0.28604.85>,<0.28602.85>,<0.28600.85>,compaction_daemon,
<0.5608.0>,ns_server_sup,ns_server_cluster_sup,<0.59.0>]
messages: []
links: [<0.28604.85>]
dictionary: []
trap_exit: true
status: running
heap_size: 233
stack_size: 24
reductions: 1776
neighbours:

[ns_server:info,2013-11-12T14:25:11.618,ns_1@172.18.187.10:<0.28744.85>:compaction_daemon:spawn_view_index_compactor:900]Compacting indexes for default/_design/dev_json/main
[ns_server:debug,2013-11-12T14:25:12.757,ns_1@172.18.187.10:compaction_daemon<0.5609.0>:compaction_daemon:handle_info:399]Starting compaction for the following buckets:
[<<“default”>>]
[ns_server:debug,2013-11-12T14:25:12.831,ns_1@172.18.187.10:compaction_daemon<0.5609.0>:compaction_daemon:handle_info:457]Finished compaction iteration.


#2

Couchbase error logs are very verbose. So what you posted is pretty much tell you the same thing over and over. Do you see a crash report ? What does your CouchBase setup look like ie CPU ,RAM , HD, & AWS(yes /no). Is it a one time error or does it keep happening?