Please help me to understand why server wend down.

What is Port 11213 Used for , why Server Trying to connect to this port ?

Below are the logs 

ns_server:info,2014-07-04T21:
43:19.397,[email protected]:<0.454.0>:ns_port_server:log:168]memcached<0.454.0>:
 
Sat Jul  5 03:13:19.1
96436 IST 3: (ap_uid_attr) Failed to connect to: "127.0.0.1:11213"
memcached<0.454.0>: Sat Jul  5 03:13:19.196473 IST 3: (ap_uid_attr) Failed 
to connect to: "127.0.0.1:11213"
memcached<0.454.0>: Sat Jul  5 03:13:19.196941 IST 3: (ap_userkey_uid) 
Failed to connect to: "127.0.0.1:11213"
memcached<0.454.0>: Sat Jul  5 03:13:19.196979 IST 3: (ap_userkey_uid) 
Failed to connect to: "127.0.0.1:11213"
memcached<0.454.0>: Sat Jul  5 03:13:19.201577 IST 3: (ap_uid_attr) Failed 
to connect to: "127.0.0.1:11213"
memcached<0.454.0>: Sat Jul  5 03:13:19.201593 IST 3: (ap_uid_attr) Failed 
to connect to: "127.0.0.1:11213"
memcached<0.454.0>: Sat Jul  5 03:13:19.202167 IST 3: (ap_userkey_uid) 
Failed to connect to: "127.0.0.1:11213"
memcached<0.454.0>: Sat Jul  5 03:13:19.202206 IST 3: (ap_userkey_uid) 
Failed to connect to: "127.0.0.1:11213"
memcached<0.454.0>: Sat Jul  5 03:13:19.206777 IST 3: (ap_uid_attr) Failed 
to connect to: "127.0.0.1:11213"
​

​emcached<0.454.0>: Sat Jul  5 03:13:19.228271 IST 3: (ap_userkey_uid) TAP 
(Producer) eq_tapq:[email protected]
naws.com - Suspend for 5.00 secs

ns_server:info,2014-07-04T21:43:19.458,[email protected]:<0.452.0>:ns_port_server:log:168]moxi<0.452.0>:
 
ERROR: could not contact REST server(s): 
http://127.0.0.1:8091/pools/default/saslBucketsStreaming
moxi<0.452.0>: WARNING: curl error: couldn't connect to host from: 
http://127.0.0.1:8091/pools/default/saslBucketsStreaming

[ns_server:warn,2014-07-04T21:43:19.637,[email protected]:<0.454.0>:ns_port_server:log:173]Dropped
 
97 log lines from memcached
[ns_server:info,2014-07-04T21:43:19.838,[email protected]:<0.454.0>:ns_port_server:log:168]memcached<0.454.0>:
 
Sat Jul  5 03:13:19.398470 IST 3: (ap_ui


[ns_server:info,2014-07-04T22:38:08.932,[email protected]:<0.471.0>:ns_port_server:log:168]moxi<0.471.0>:
 
ERROR: could not contact R
EST server(s): http://127.0.0.1:8091/pools/default/saslBucketsStreaming
moxi<0.471.0>: WARNING: curl error: couldn't connect to host from: 
http://127.0.0.1:8091/pools/default/saslBucketsStreaming

[ns_server:info,2014-07-04T22:38:09.933,[email protected]:<0.471.0>:ns_port_server:log:168]moxi<0.471.0>:
 
ERROR: could not contact R
EST server(s): http://127.0.0.1:8091/pools/default/saslBucketsStreaming
moxi<0.471.0>: WARNING: curl error: couldn't connect to host from: 
http://127.0.0.1:8091/pools/default/saslBucketsStreaming

[ns_server:info,2014-07-04T22:39:22.952,[email protected]:<0.471.0>:ns_port_server:log:168]moxi<0.471.0>:
 
ERROR: could not contact R
EST server(s): http://127.0.0.1:8091/pools/default/saslBucketsStreaming
moxi<0.471.0>: WARNING: 
[error_logger:error,2014-07-04T22:40:51.132,[email protected]:error_logger<0.6.0>:ale_error_logger_handler:l
og_msg:76]** Generic server <0.466.0> terminating 
** Last message in was {#Port<0.3320>,{exit_status,134}}
** When Server state == {state,#Port<0.3320>,ns_server,
                               {["eheap_alloc: Cannot allocate 13593774640 
bytes of memory (of type \"heap\").",
                                 "Crash dump was written to: 
erl_crash.dump.1403604346.1257",
                                 [],"Erlang has closed",
                                 
"/opt/couchbase/lib/erlang/lib/os_mon-2.2.7/priv/bin/memsup: Erlang has 
closed. ",
                                 "working as port",
                                 "Apache CouchDB has started. Time to 
relax.",
                                 "Apache CouchDB 1.2.0a-01dda76-git 
(LogLevel=info) is starting.",
                                 empty],
                                [empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 
empty,empty,empty,empty,empty,empty,empty]},
                               undefined,[],0,true}

                               undefined,[],0,true}
** Reason for termination == 
** {abnormal,134}

[error_logger:error,2014-07-04T22:40:51.133,[email protected]:error_logger<0.6.0>:ale_error_logger_handler:log_report:72]
=========================CRASH REPORT=========================
  crasher:
    initial call: ns_port_server:init/1
    pid: <0.466.0>
    registered_name: []
    exception exit: {abnormal,134}
      in function  gen_server:terminate/6
    ancestors: [<0.465.0>,child_ns_server_sup,ns_babysitter_sup,<0.55.0>]
    messages: [{#Port<0.3320>,eof}]
    links: [<0.465.0>,#Port<0.3320>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 4181
    stack_size: 24
    reductions: 3633
  neighbours:

Some more logs 
error_logger:error,2014-07-
04T21:56:51.717,[email protected]:error_logger<0.6.0>:ale_error_logger_handler:log_report:72]
=========================SUPERVISOR REPORT=========================
     Supervisor: {local,ns_child_ports_sup}
     Context:    child_terminated
     Reason:     {abnormal,71}
     Offender:   [{pid,<0.1004.0>},
                  {name,
                      {memcached,"/opt/couchbase/bin/memcached",
                          ["-X",
                           
"/opt/couchbase/lib/memcached/stdin_term_handler.so",
                           "-X",
                           
"/opt/couchbase/lib/memcached/file_logger.so,cyclesize=104857600;sleeptime=19;filename=/opt/couchbase/var/lib/couchbase/logs/memcached.log",
          
[error_logger:error,2014-07-04T21:57:38.237,[email protected]:error_logger<0.6.0>:ale_error_logger_handler:log_msg:76]**
 
Generic server <0.1007.0> terminating 
** Last message in was {#Port<0.3586>,{exit_status,71}}
** When Server state == {state,#Port<0.3586>,memcached,
                               {["Sat Jul  5 03:26:51.750151 IST 3: failed 
to listen on TCP port 11210: Address already in use",
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty,
                                 empty,empty,empty,empty,empty,empty,empty],
[couchdb:info,2014-07-05T3:09:54.878,[email protected]:couch_server<0.212.0>:couch_log:info:39]Deleting
 
file /data/couchbase/ap_userkey_uid/510.couch.424
[couchdb:info,2014-07-05T3:09:54.924,[email protected]:couch_server<0.212.0>:couch_log:info:39]Deleting
 
database ap_userkey_uid/511
[couchdb:info,2014-07-05T3:09:54.927,[email protected]:couch_server<0.212.0>:couch_log:info:39]Deleting
 
file /data/couchbase/ap_userkey_uid/511.couch.426
[couchdb:info,2014-07-05T3:09:54.974,[email protected]:couch_server<0.212.0>:couch_log:info:39]Deleting
 
database ap_userkey_uid/512
[couchdb:info,2014-07-05T3:09:54.978,[email protected]:couch_server<0.212.0>:couch_log:info:39]Deleting
 
file /data/couchbase/ap_userkey_uid/512.couch.427
[couchdb:info,2014-07-05T3:19:35.732,nonode@39]Apache CouchDB has started 
on http://0.0.0.0:8092/
[couchdb:info,2014-07-05T11:22:23.462,[email protected] 
<[email protected]>:<0.8444.0>:couch_log:info:39]Starting
 
compaction for db "ap_userkey_uid/master", options: 
[{purge_before,1404280343}]
[couchdb:info,2014-07-05T11:22:23.603,[email protected] 
<[email protected]>:<0.12994.18>:couch_log:info:39]Native
 
compactor output: Purging items before timestamp 1404280343
[couchdb:info,2014-07-05T11:22:23.603,[email protected] 
<[email protected]>:<0.12994.18>:couch_log:info:39]Native
 
compactor output: Compacted /data/couchbase/ap_userkey_uid/master.couch.461 
-> /data/couchbase/ap_
[couchdb:info,2014-07-05T11:22:23.603,[email protected] 
<[email protected]>:<0.12994.18>:couch_log:info:39]Native
 
compactor output: userkey_uid/master.couch.461.compact
[couchdb:info,2014-07-05T11:22:23.604,*******pute-1.amazonaws.com:<0.12994.18>:couch_log:info:39]Native
 
initial compact succeeded for "ap_userkey_uid/master"
[couchdb:info,2014-07-05T11:22:23.867,[email protected] 
<[email protected]>:<0.8444.0>:couch_log:info:39]CouchDB
 
swapping files /data/couchbase/ap_userkey_uid/master.couch.462 and 
/data/couchbase/ap_userkey_uid/master.couch.461.compact.
[couchdb:info,2014-07-05T11:22:23.871,[email protected] 
<[email protected]>:<0.8444.0>:couch_log:info:39]Compaction
 
for db "ap_userkey_uid/master" completed.




Also Pls tell me , if i assign less memory to cukcet.

Eg for 16GB metadata i assigned 10 GB Memory , So will t us LRU mechanism . 
To flush data on disk from ram.
aur server will stop. there will be any data loss ?

Am using version 2.2.0_x86_64. Comminity Edition.


-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to