added a comment - - edited
We also get this. Our max filehandles is set to the default 1024.
At the time the error was occuring, I did a
ls -l /proc/PROCESSID/fd/
and confirmed there were 1024 filehandles. It also showed that vast majority of these were sockets.
So then I looked at the outgoing connections for this process using netstat.
I found there were about 800 connections stuck in CLOSE_WAIT state. These were connections to addresses of the external repositories we have configured in archiva. Could it be possible that these connections are not not being closed correctly in certain circumstances?
(Additional info: Our archiva is embedded in tomcat 6.0.16)
Marc, is it the same error as in
MRM-1100?MRM-1100?