- From:
- To: chef <
>
- Subject: [chef] couchdb leaving deleted file descriptor turds?
- Date: Fri, 30 Mar 2012 13:52:26 -0700
hi. i'm running couchdb 1.0.1, chef-server 0.10.8-1 on ubuntu 11.04.
upon seeing my file system get a bit full, i sniffed around lsof, and
see a bunch of couchdb open file descriptors in a deleted state. to
bring my file system usage down, i bounce couchdb.
is this known? a bug? a misconfig on my part?
:~#
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 9.9G 7.5G 1.9G 81% /
:~#
lsof | grep deleted
couchdb 11249 couchdb 2u CHR 136,11 0t0
14 /dev/pts/11 (deleted)
couchdb 11256 couchdb 11u CHR 136,11 0t0
14 /dev/pts/11 (deleted)
beam.smp 11257 couchdb 13u REG 202,1 43831394
288649 /var/lib/couchdb/1.0.1/.delete/6465595cac049ad9c04da01e14fa8d52
deleted)
beam.smp 11257 couchdb 14u REG 202,1 47362146
289828 /var/lib/couchdb/1.0.1/.delete/9df04fbb0baf4c1d49c6dcdd4e8039c1
deleted)
beam.smp 11257 couchdb 16u REG 202,1 44003426
289857 /var/lib/couchdb/1.0.1/.delete/510caf00ad6ee38e06f7d58eb609d8e7
deleted)
beam.smp 11257 couchdb 17u REG 202,1 48873570
289830 /var/lib/couchdb/1.0.1/.delete/3fc13e1b05fb2e30a630582fc7266f7f
deleted)
[snip many]
after restarting couchdb (and chef-server), lsof is clean and got disk
space back
:~#
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 9.9G 2.7G 6.7G 29% /
thanks!
kallen
- [chef] couchdb leaving deleted file descriptor turds?, kallen, 03/30/2012
Archive powered by MHonArc 2.6.16.