[jboss-jira] [JBoss JIRA] Commented: (JBAS-4948) errors in bin/run.sh on OSX
Joseph Provost (JIRA)
jira-events at lists.jboss.org
Thu Oct 30 18:26:33 EDT 2008
[ https://jira.jboss.org/jira/browse/JBAS-4948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12436409#action_12436409 ]
Joseph Provost commented on JBAS-4948:
--------------------------------------
if you change the line:
MAX_FD=`sysctl kern.maxfilesperproc | awk '{ print $2 }'`
to:
MAX_FD=`sysctl -n kern.maxfilesperproc'`
you can avoid the use of awk.
> errors in bin/run.sh on OSX
> ---------------------------
>
> Key: JBAS-4948
> URL: https://jira.jboss.org/jira/browse/JBAS-4948
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: JBossAS-4.2.2.GA
> Environment: osx 10.5
> Reporter: Jon Stevens
> Assignee: Jean-Frederic Clere
> Priority: Minor
> Attachments: patch.txt
>
>
> I see this when I run run.sh:
> ./bin/run.sh: line 89: ulimit: open files: cannot modify limit: Invalid argument
> run.sh: Could not set maximum file descriptor limit: unlimited
> Doesn't seem to affect the rest of the script.
--
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