Bug #433

ulimit -s unlimited causes tmsrv and tpbridge boot failure

Added by Madars Vitolins 4 months ago. Updated 3 months ago.

Status:ClosedStart date:07/31/2019
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

History

#1 Updated by Madars Vitolins 3 months ago

Seems like on ubuntu 14.04 we have some issues with stack size too:

[ 49%] Generating jexunit00b
Enduro/X 7.0.3, build Sep 10 2019 12:51:37, using SystemV for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017-2019 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
AGPLv3 (with Java and Go exceptions) or Mavimax license for commercial use.

Enduro/X Java 1.0.1, Linker

To control debug output, set debugconfig file path in $NDRX_DEBUG_CONF
N:NDRX:4:9211474f:18136:2ae1ffc625c0:000:20190910:155854973:plugins_load:inbase.c:0181:No plugins defined by NDRX_PLUGINS env variable
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854974:cconfig_load:config.c:0430:CC tag set to: []
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854975:x_inicfg_new:inicfg.c:0115:_ndrx_inicfg_new: load_global_env: 1
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854975:ig_load_pass:config.c:0397:_ndrx_cconfig_load_pass: ret: 0 is_internal: 1 G_tried_to_load: 1
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854975:systest_init:s_test.c:0090:sys_test off
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854975:main        :/exjld.c:0341:Out binary set to: [jexunit00b]
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854976:main        :/exjld.c:0336:Main class set to: [org.junit.runner.JUnitCore]
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854976:main        :/exjld.c:0317:Adding [/home/user1/modules/endurox-java/include] to include path
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854976:main        :/exjld.c:0304:Setting library path: [/home/user1/modules/endurox-java/libexjlds]
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854976:main        :/exjld.c:0304:Setting library path: [/home/user1/modules/endurox-java/libexjlds:/usr/lib/jvm/default-java/jre/lib/amd64]
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854976:main        :/exjld.c:0304:Setting library path: [/home/user1/modules/endurox-java/libexjlds:/usr/lib/jvm/default-java/jre/lib/amd64:/usr/lib/jvm/default-java/jre/lib/amd64/server]
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854976:main        :/exjld.c:0330:Testing not required
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854976:main        :/exjld.c:0411:Build command set to: [buildserver]
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854976:main        :/exjld.c:0420:Adding library: [exjlds]
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854977:main        :/exjld.c:0420:Adding library: [java]
N:NDRX:5:9211474f:18136:2ae1ffc625c0:000:20190910:155854977:main        :/exjld.c:0420:Adding library: [jvm]
N:NDRX:4:9211474f:18136:2ae1ffc625c0:000:20190910:155854977:ack_get_size:atform.c:0090:Current stack size: -1, max: -1
N:NDRX:4:9211474f:18136:2ae1ffc625c0:000:20190910:155854977:ack_get_size:atform.c:0090:Current stack size: -1, max: -1
N:NDRX:4:9211474f:18136:2ae1ffc625c0:000:20190910:155854977:ack_get_size:atform.c:0090:Current stack size: -1, max: -1
N:NDRX:4:9211474f:18136:2ae1ffc625c0:000:20190910:155854978:ack_get_size:atform.c:0090:Current stack size: -1, max: -1

The process hangs with 100% cpu usage.

#2 Updated by Madars Vitolins 3 months ago

In case of unlimited stack, thread stack is alloced to 16M*30 .

#3 Updated by Madars Vitolins 3 months ago

  • Status changed from New to Resolved

#4 Updated by Madars Vitolins 3 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF