Ticket #341 (assigned defect)
"too many open files" error
| Reported by: | anonymous | Owned by: | dbalmain |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | component1 | Version: | |
| Keywords: | Cc: |
Description
I've got a persistent process serving an index. The process can't survive longer than approx 2 days and finally dies with 'too many open files' error. The index is updated each 30 minutes, merge factor = 4, compound file true (default) and fd limit 100 per process. By the time the error occurs the whole 100 fds are held by the process but I only have 11-13 files in the index dir. I monitored fd usage by this process and observed that the number of fds held slowly grows over the course of these 2 days up to the limit. I believe there's some fd leakage. I saw you advise to just set the limit to a high value (such as 32000) in the case of people having this error. I agree that this can effectively mask the problem out. In my case 32000 would allow for about 640 days until restart (almost an eternity if I were able to change the limit :) ). But this ain't gonna seal the leak, is it? :)
