Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erlang hangs in Docker container #82

Open
walter-weinmann opened this issue Feb 27, 2020 · 1 comment
Open

Erlang hangs in Docker container #82

walter-weinmann opened this issue Feb 27, 2020 · 1 comment
Assignees
Labels

Comments

@walter-weinmann
Copy link
Contributor

Time is now 18:00:

=============================================================================
Start src_erlang/scripts/run_bench_oranif.sh
-----------------------------------------------------------------------------
ora_bench - Oracle benchmark - oranif and Erlang.
-----------------------------------------------------------------------------
MULTIPLE_RUN               : true
BENCHMARK_DATABASE         : db_19_3_ee
CONNECTION_HOST            : 192.168.1.109
CONNECTION_PORT            : 1521
CONNECTION_SERVICE         : orclpdb1
-----------------------------------------------------------------------------
BENCHMARK_BATCH_SIZE       :
BENCHMARK_CORE_MULTIPLIER  :
BENCHMARK_TRANSACTION_SIZE :
-----------------------------------------------------------------------------
DATE TIME : 27.02.2020 13:21:54
=============================================================================
2020-02-27 13:21:54:650 [INFO] OraBench - Start OraBench.java
2020-02-27 13:21:54:651 [INFO] OraBench - args[0]=setup_erlang
2020-02-27 13:21:54:653 [INFO] OraBench - Start Setup Erlang OraBench Run
2020-02-27 13:21:54:709 [INFO] OraBench - End   Setup Erlang OraBench Run
2020-02-27 13:21:54:710 [INFO] OraBench - End   OraBench.java

[main:16] Start orabench (oranif)
[orabench:main:68] Partition 0 contains 50124 rows
[orabench:main:68] Partition 1 contains 49876 rows

@c-bik
Copy link
Contributor

c-bik commented Mar 1, 2020

Loading bulk data in docker

[orabench:main:57] Loading data...1% (0s)...2% (0s)...3% (0s)...4% (0s)...5% (0s)...6% (0s)...
7% (0s)...8% (1s)...9% (1s)...10% (1s)...11% (1s)...12% (2s)...13% (2s)...14% (2s)...15% (3s)...
16% (3s)...17% (4s)...18% (4s)...19% (5s)...20% (5s)...21% (6s)...22% (7s)...23% (7s)...24% (8s)...
25% (9s)...26% (10s)...27% (11s)...28% (12s)...29% (13s)...30% (14s)...31% (16s)...32% (17s)...
33% (19s)...34% (21s)...35% (21s)...36% (23s)...37% (25s)...38% (27s)...39% (28s)...40% (32s)...
41% (34s)...42% (37s)...43% (40s)...44% (44s)...45% (48s)...46% (49s)...47% (54s)...48% (59s)...
49% (64s)...50% (69s)...51% (75s)...52% (78s)...53% (83s)...54% (90s)...55% (95s)...56% (99s)...
57% (105s)...58% (112s)...59% (119s)...60% (126s)...61% (132s)...62% (139s)...63% (146s)...
64% (153s)...65% (161s)...66% (166s)...67% (173s)...68% (182s)...69% (191s)...70% (198s)...
71% (204s)...72% (212s)...73% (221s)...74% (231s)...75% (240s)...76% (249s)...77% (258s)...
78% (268s)...79% (276s)...80% (281s)...81% (285s)...82% (295s)...83% (305s)...84% (315s)...
85% (326s)...86% (337s)...87% (348s)...88% (359s)...89% (365s)...90% (375s)...91% (386s)...
92% (398s)...93% (409s)...94% (421s)...95% (431s)...96% (436s)...97% (449s)...98% (461s)...
99% (474s)...100% (487s)

Loading bulk data in windows

[orabench:main:57] Loading data...1% (0s)...2% (0s)...3% (0s)...4% (0s)...5% (0s)...6% (0s)...
7% (0s)...8% (0s)...9% (0s)...10% (0s)...11% (0s)...12% (0s)...13% (0s)...14% (0s)...15% (0s)...
16% (0s)...17% (0s)...18% (0s)...19% (0s)...20% (0s)...21% (0s)...22% (0s)...23% (0s)...24% (0s)...
25% (0s)...26% (0s)...27% (0s)...28% (0s)...29% (0s)...30% (0s)...31% (0s)...32% (1s)...33% (1s)...
34% (1s)...35% (1s)...36% (1s)...37% (1s)...38% (1s)...39% (1s)...40% (1s)...41% (1s)...42% (1s)...
43% (1s)...44% (1s)...45% (1s)...46% (1s)...47% (1s)...48% (1s)...49% (1s)...50% (1s)...51% (1s)...
52% (1s)...53% (1s)...54% (1s)...55% (1s)...56% (1s)...57% (1s)...58% (1s)...59% (1s)...60% (1s)...
61% (1s)...62% (2s)...63% (2s)...64% (2s)...65% (2s)...66% (2s)...67% (2s)...68% (2s)...69% (2s)...
70% (2s)...71% (2s)...72% (2s)...73% (2s)...74% (2s)...75% (2s)...76% (2s)...77% (2s)...78% (2s)...
79% (2s)...80% (2s)...81% (2s)...82% (2s)...83% (2s)...84% (2s)...85% (2s)...86% (2s)...87% (2s)...
88% (2s)...89% (2s)...90% (3s)...91% (3s)...92% (3s)...93% (3s)...94% (3s)...95% (3s)...96% (3s)...
97% (3s)...98% (3s)...99% (3s)...100% (3s)

Look like docker has some garbage collect problem. To-be-Considered re-design with ETS instead of deep map structure!

Ref: https://github.com/KonnexionsGmbH/ora_bench/tree/erl_docker_memory_debug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants