cancel
Showing results for 
Search instead for 
Did you mean: 

Too Many Open Files - Error

mahkath
Champ in-the-making
Champ in-the-making
Hi All,

These days we are getting "Too Many Open Files" error in the Alfresco log and after that Alfresco becomes unresponsive.

We have already set file descriptor value to maximum. The only solution is to restart Alfresco in order to reset file descriptor value.

We are using Alfresco 2.1 +Solaris 10 x86 + ImageMagick(for Image Thumbnails) + FFMPEG(for Video Thumbnails)

While going through Alfresco wiki, it says there is a bug in Alfresco(lower than v 2.1) + Lucene.

Is this resolved?

Please help me. Thanks in Advance.

Regards,
Mahesh
4 REPLIES 4

texasrh
Champ in-the-making
Champ in-the-making
We're also experiencing the same error. We found some custom extensions that were not closing files (which we fixed), but we're still getting the error.

I was given a open file setting that was 'rumored' to be directly from alfresco engineering - it was 8192. We have not tried it yet - we're trying to confirm if that high of a setting is really necessary or if we should be looking elsewhere. Our OPS team is concerned that that setting is really high. We are running a custom workflow with 2.2sp2 enterprise (WCM).

mahkath
Champ in-the-making
Champ in-the-making
Finally, we figured out that the custom JCR code has file closing issue.

We did code fix for that. Now open file descriptor is not increasing.

sisao
Champ in-the-making
Champ in-the-making
what you mean with custom JCR code? are you referring to some code you've developed using jcr-170?

mahkath
Champ in-the-making
Champ in-the-making
Yes , you are right.