Hi guys, I am monitoring a huge compaction right now and keeping an eye of the system not to fail with emfile error.
The number of file descriptor owned by couch is growing very fast. I can do: lsof -p CouchPID and get tons of these: beam.smp 21853 root *152u REG 254,2 8306 30670917 /opt/bigcouch/var/lib/.delete/b4b3ab2330a9672d7138fb562ebf90dd (deleted) beam.smp 21853 root *153u REG 254,2 8282 30671071 /opt/bigcouch/var/lib/.delete/a218b0088e72278990f848fd8b2de5d9 (deleted) beam.smp 21853 root *154u REG 254,2 8372 30670973 /opt/bigcouch/var/lib/.delete/05a22639d021929b31c982954ef9e99b (deleted) beam.smp 21853 root *155u REG 254,2 8297 30671201 /opt/bigcouch/var/lib/.delete/6669ce0a6c235a977ea46ded37928338 (deleted) beam.smp 21853 root *156u REG 254,2 8294 30670974 /opt/bigcouch/var/lib/.delete/bd2a65a16205529faf9118f0bd6d26b1 (deleted) beam.smp 21853 root *157u REG 254,2 8294 30671159 /opt/bigcouch/var/lib/.delete/6b87bba6fd0b87c1bcaf47a2ba22aee4 (deleted) beam.smp 21853 root *158u REG 254,2 8294 30670975 /opt/bigcouch/var/lib/.delete/392e9bd3825ff953dc808f83f6cba97e (deleted) Currently they are at 55000 such descriptors and they are never released. Note that these files are indeed deleted, but the system doesn't release the handles. I can't find a reference to similar problems. Is this a known issue i should watch out for? I suppose i can restart the system in between compactions to release the files, but if you have any other advice its highly appreciated.
