What are the files core.**** for under the directory /opt/couchbase/var/lib/couchbase?


#1

Hi there,

I have several couchbase servers running on RHEL 6.x machines, I find one of the server have lots of core.**** files generated under the directory /opt/couchbase/var/lib/couchbase, I doubt what are these files for? Because other servers do not have this kind of situation, anyone can please guide me?

-rw------- 1 couchbase couchbase 68395008 Sep 19 14:06 core.9977
-rw------- 1 couchbase couchbase 68259840 Sep 19 12:31 core.9979
-rw------- 1 couchbase couchbase 66818048 Sep 19 23:49 core.9980
-rw------- 1 couchbase couchbase 68259840 Sep 19 03:45 core.9983
-rw------- 1 couchbase couchbase 66953216 Sep 19 19:40 core.9984
-rw------- 1 couchbase couchbase 68259840 Sep 19 21:13 core.9986
-rw------- 1 couchbase couchbase 68395008 Sep 19 07:43 core.9987
-rw------- 1 couchbase couchbase 66818048 Sep 19 09:06 core.999
-rw------- 1 couchbase couchbase 68395008 Sep 19 18:06 core.9990
-rw------- 1 couchbase couchbase 66953216 Sep 19 14:54 core.9994
-rw------- 1 couchbase couchbase 68395008 Sep 19 21:59 core.9996
-rw------- 1 couchbase couchbase 66818048 Sep 19 13:18 core.9998
-rw-rw---- 1 couchbase couchbase 17 Sep 19 02:53 couchbase-server.cookie
-rw-rw---- 1 couchbase couchbase 17 Sep 21 19:24 couchbase-server.cookie-ns-server
-rw-rw---- 1 couchbase couchbase 15 Sep 21 19:24 couchbase-server.node
-rw-r–r-- 1 couchbase root 6 Sep 21 19:24 couchbase-server.pid
drwxrwx— 2 couchbase couchbase 4096 Sep 13 02:23 crash
drwxrwx— 5 couchbase couchbase 4096 Sep 13 03:12 data
-rw-r----- 1 couchbase couchbase 5563985 Sep 19 22:32 erl_crash.dump.1474267996.6353.ns_server
drwxr-xr-x 2 root root 4096 Sep 13 03:26 inbox
-rw-rw---- 1 couchbase couchbase 6636 Sep 21 19:24 initargs


#2

It looks like these files are core dumps of a couchbase process which crashed. It’s usally used to get an idea what went wrong