[ 
https://issues.apache.org/jira/browse/TRAFODION-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380387#comment-15380387
 ] 

ASF GitHub Bot commented on TRAFODION-1605:
-------------------------------------------

GitHub user traflm opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/597

    [TRAFODION-1605] sqstart hangs if ulimits not correct

    add ulimit checking in sqstart
    if not proper setup as Trafodion installer does, print WARNING
    
    This should only happen in dev environment as described in the JIRA. 
Installer already handle this, so a WARNING should be enough.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/traflm/incubator-trafodion TRAFODION-1605

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/597.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #597
    
----
commit 1c07dc7201e9c0b7a00980e639830585e8be5176
Author: Liu Ming <[email protected]>
Date:   2016-07-16T00:48:26Z

    [TRAFODION-1605] sqstart hangs if ulimits not correct

----


> sqstart hangs if ulimits not correct
> ------------------------------------
>
>                 Key: TRAFODION-1605
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1605
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: Build Infrastructure
>            Reporter: Roberta Marton
>            Assignee: liu ming
>
> If someone downloads a source tar file or uses the Trafodion git repository, 
> after building they need to install the results on their system.  If the 
> ulimits on the system are not sufficient, then sqlci start hangs.  The 
> customer has to kill sqlci and then kill all the processes in flight.
> This happens when you perform the build instructions and choose the 
> "install_local_hadoop" option.  The Trafodion Installer should already be 
> checking for this situation.
> Perhaps add a check before sqlci starts to make sure the correct limits are 
> set.
> Recommended limits:
> ulimit –a
>  core file size                    (blocks, -c) 1000000
> data seg size                    (kbytes, -d) unlimited
> scheduling priority            (-e) 0
> file size                             (blocks, -f) unlimited
> pending signals                (-i) 515196
> max locked memory         (kbytes, -l) 49595556
> max memory size             (kbytes, -m) unlimited
> open files                          (-n) 32000
> pipe size                           (512 bytes, -p) 8
> POSIX message queues  (bytes, -q) 819200
> real-time priority               (-r) 0
> stack size                         (kbytes, -s) 10240
> cpu time                           (seconds, -t) unlimited
> max user processes         (-u) 267263
> virtual memory                 (kbytes, -v) unlimited
> file locks                           (-x) unlimited



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to