Details
Description
Steps:
- Initialize a single node cluster
- Load sample-bucket
- Start cbcollect from the command line using,
$ /opt/couchbase/bin/cbcollect_info /tmp/test.zip
Observation:
After cbcollect is completed successfully, seeing a random tmp dir "/tmp/tmpziovxbeq" with ~ 11MB of size on each collect
# ls -l /tmp/tmpziovxbeq/
|
total 10180
|
-rw-r--r-- 1 root root 8252626 Jan 9 05:45 kv_trace.json
|
-rw-r--r-- 1 root root 2170555 Jan 9 05:44 systemd_journal.gz
|
Due to this most of the VMs are hitting the disk full issue in consecutive runs with cbcollect
Expected behavior:
This "tmp{[0-9a-z])" dir should be removed from /tmp after cbcollect command is complete
Attaching cbcollect.zip and tmp dir contents for reference
Attachments
For Gerrit Dashboard: MB-60311 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
203453,3 | MB-60311: Cbcollect not correctly cleaning /tmp | trinity | ns_server | Status: ABANDONED | +2 | 0 |
203484,2 | Force removing random dir created by MB-60311 | master | testrunner | Status: MERGED | +2 | +1 |
203561,4 | MB-60311: Cbcollect not correctly cleaning /tmp | 7.6.0 | ns_server | Status: MERGED | +2 | +1 |
203785,1 | Merge remote-tracking branch 'couchbase/7.6.0' into HEAD | trinity | ns_server | Status: MERGED | +2 | +1 |
203786,3 | Merge branch 'couchbase/trinity' into master | master | ns_server | Status: MERGED | +2 | +1 |