Ticket #341 (assigned defect)

Opened 11 months ago

Last modified 11 months ago

"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? :)

Attachments

Change History

Changed 11 months ago by dbalmain

  • owner changed from somebody to dbalmain
  • status changed from new to assigned

Thanks, I'll look into this. If you can create a test that will reproduce this problem, that'd be a big help.

Add/Change #341 ("too many open files" error)

Author



Change Properties
<Author field>
Action
as assigned
as The resolution will be set. Next status will be 'closed'
to The owner will change from dbalmain. Next status will be 'new'
 
Note: See TracTickets for help on using tickets.