You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Beliaev (JIRA)" <ji...@apache.org> on 2007/12/03 17:12:44 UTC

[jira] Updated: (HARMONY-5007) [buildtest][eut] adaptor must check Linux limitations

     [ https://issues.apache.org/jira/browse/HARMONY-5007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Beliaev updated HARMONY-5007:
--------------------------------------

    Attachment: 02-H5007.patch

> [buildtest][eut] adaptor must check Linux limitations
> -----------------------------------------------------
>
>                 Key: HARMONY-5007
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5007
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: build - test - ci
>         Environment: Linux
>            Reporter: Vladimir Beliaev
>            Assignee: Stepan Mishura
>         Attachments: 01-H5007.sh, 02-H5007.patch, 02-H5007.sh
>
>
> EUT may fail due to resources limitation on the current machine. Like there should be set:
>     # max memory size 
>     ulimit -m 2000000
>     # stack size
>     ulimit -s 8182
>     # open files
>     ulimit -n 8192
> I think it worth checking from adaptors these settings are in place be running EUT... This would safe a lot of time for evaluating EUT failures caused by host limitations.
> If someone knows a good way to get the shell command information to ant context - you welcome to share it (I'm not 'ant' expert)... I'm going to use something like:
>     <target name="check-linux-limitation" if="is.linux">
>         <exec executable="sh"
>               dir="${basedir}"
>               failonerror="false"
>               logError="false"
>               resultproperty="ulimit.memory.size">
>               <arg value="-c" />
>               <arg value="ulimit -m" />
>         </exec>
>        <!-- check value of ulimit.memory.size, fail if there is issue-->
>     </target>
> Thanks
> Vladimir Beliaev

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.