[jboss-jira] [JBoss JIRA] Resolved: (JBAS-5965) Max file soft limit can not always be set to hard limit on Darwin (OS X)

Jason T. Greene (JIRA) jira-events at lists.jboss.org
Tue Mar 24 16:43:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBAS-5965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason T. Greene resolved JBAS-5965.
-----------------------------------

    Resolution: Done


Darwin allows max files to be RLIMIT_INFINITY ("unlimited") only on hard limits. When the startup script tries to set the soft to be equal to the hard limit this fails.

The solution I have applied queries the kernel for the true limitation when the hard limit is set to unlimited. 

> Max file soft limit can not always be set to hard limit on Darwin (OS X)
> ------------------------------------------------------------------------
>
>                 Key: JBAS-5965
>                 URL: https://jira.jboss.org/jira/browse/JBAS-5965
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Other
>         Environment: Mac OSX
>            Reporter: Marc Lustig
>            Assignee: Jason T. Greene
>            Priority: Minor
>             Fix For: JBossAS-5.1.0.CR1
>
>
> Using run.sh of AS 4.2.3, bash reports an error message. 
> To fix this, introduce jboss_init_osx.sh
> I am ready to provide the script.
> Btw, beside that I have not identified any issues on OSX.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list