[
http://jira.codehaus.org/browse/MRM-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=191946#action_191946
]
Fredrik Jonson commented on MRM-1097:
-------------------------------------
Marc, did you confirm that the "ulimit -n 10000" comand was successfully
executed?
Normally the nofile hard limit, configured in /etc/security/limits.conf in most
linux distributions, regulates how far ulimit may raise the limit on the
current shell. Normally a ordinary user cannot raise the nofile limit beyond
what is specified in limits.conf, and when nofile isn't explicitly specified
there, the default is normally 1024.
> Error 500 "too many open files"
> -------------------------------
>
> Key: MRM-1097
> URL: http://jira.codehaus.org/browse/MRM-1097
> Project: Archiva
> Issue Type: Bug
> Components: system
> Affects Versions: 1.1.3
> Environment: Linux RedHat, Tomcat 6 + Native Connector
> Reporter: Marc Lustig
> Fix For: 1.2.3
>
>
> In our start-script we have configured "ulimit -n 10000"
> But still, occassionally we get http error 500 "java.io.FileNotFoundException
> ... (Too many open files)" on a Maven-artifact-request.
> I suppose the files are not properly closed after they are delivered.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira