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

GenCopy random OOM on h2o #251

Open
qinsoon opened this issue Oct 4, 2023 · 0 comments
Open

GenCopy random OOM on h2o #251

qinsoon opened this issue Oct 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@qinsoon
Copy link
Member

qinsoon commented Oct 4, 2023

Seen in #250.

START: /tmp/linux-x86_64-h2o-release-fv-az1243-868-2023-10-04-Wed-234013/h2o.2500.340.jdk11-master.ms.s.fail_on_oom.tph.preserve.mmtk_gc-GenCopy.dacapo-23.9-RC3-chopin-ci.log.gz

-----
mkdir -p PLOTTY_WORKAROUND; timedrun; MMTK_PLAN=GenCopy /home/runner/work/mmtk-openjdk/mmtk-openjdk/bundles/jdk/bin/java -XX:MetaspaceSize=500M -XX:+DisableExplicitGC -server -XX:+CrashOnOutOfMemoryError -XX:+UseThirdPartyHeap --add-exports java.base/jdk.internal.ref=ALL-UNNAMED -Xms340M -Xmx340M -jar /home/runner/work/mmtk-openjdk/mmtk-openjdk/dacapo/dacapo-23.9-RC3-chopin.jar -n 1 h2o -preserve
running-ng v0.4.2
Wed Oct  4 23:40:37 UTC 2023

 23:40:37 up 7 min,  0 users,  load average: 1.81, 1.41, 0.74
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT

procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 0  0   1036 1728220 370660 4379944    0    1 22288 54915  648 3240 24 12 35 28  0
 0  0   1036 1728220 370660 4379900    0    0    88     0  308 1910  0  1 99  0  0

top - 23:40:38 up 7 min,  0 users,  load average: 1.81, 1.41, 0.74
Tasks: 142 total,   1 running, 141 sleeping,   0 stopped,   0 zombie
%Cpu(s):  3.0 us,  3.0 sy,  0.0 ni, 93.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :   6922.0 total,   1687.2 free,    595.6 used,   4639.2 buff/cache
MiB Swap:   4096.0 total,   4095.0 free,      1.0 used.   5992.5 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
      1 root      20   0  167696  1[27](https://github.com/mmtk/mmtk-openjdk/actions/runs/6412435842/job/17410373886?pr=250#step:18:28)80   8044 S   0.0   0.2   0:02.75 /sbin/init
      2 root      20   0       0      0      0 S   0.0   0.0   0:00.00 [kthreadd]
      3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [rcu_gp]
      4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [rcu_par_gp]
      5 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 [slub_flushwq]

Environment variables: 
	ACCEPT_EULA=Y
	AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache
	ANDROID_HOME=/usr/local/lib/android/sdk
	ANDROID_NDK=/usr/local/lib/android/sdk/ndk/25.2.9519653
	ANDROID_NDK_HOME=/usr/local/lib/android/sdk/ndk/25.2.9519653
	ANDROID_NDK_LATEST_HOME=/usr/local/lib/android/sdk/ndk/26.0.1079[28](https://github.com/mmtk/mmtk-openjdk/actions/runs/6412435842/job/17410373886?pr=250#step:18:29)18
	ANDROID_NDK_ROOT=/usr/local/lib/android/sdk/ndk/25.2.9519653
	ANDROID_SDK_ROOT=/usr/local/lib/android/sdk
	ANT_HOME=/usr/share/ant
	AZURE_EXTENSION_DIR=/opt/az/azcliextensions
	BOOTSTRAP_HASKELL_NONINTERACTIVE=1
	CHROMEWEBDRIVER=/usr/local/share/chromedriver-linux64
	CHROME_BIN=/usr/bin/google-chrome
	CI=true
	CONDA=/usr/share/miniconda
	DACAPO_DOWNLOAD_URL=https://download.dacapobench.org/chopin/dacapo-23.9-RC3-chopin.zip
	DACAPO_FILE=dacapo-23.9-RC3-chopin.zip
	DACAPO_VERSION=dacapo-23.9-RC3-chopin
	DEBIAN_FRONTEND=noninteractive
	DEPLOYMENT_BASEPATH=/opt/runner
	DOTNET_MULTILEVEL_LOOKUP=0
	DOTNET_NOLOGO=1
	DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
	EDGEWEBDRIVER=/usr/local/share/edge_driver
	GECKOWEBDRIVER=/usr/local/share/gecko_driver
	GHCUP_INSTALL_BASE_PREFIX=/usr/local
	GITHUB_ACTION=__run_10
	GITHUB_ACTIONS=true
	GITHUB_ACTION_REF=
	GITHUB_ACTION_REPOSITORY=
	GITHUB_ACTOR=qinsoon
	GITHUB_ACTOR_ID=1664709
	GITHUB_API_URL=https://api.github.com
	GITHUB_BASE_REF=master
	GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_e8fc3442-7bc9-4433-98a4-d33b5696f526
	GITHUB_EVENT_NAME=pull_request
	GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
	GITHUB_GRAPHQL_URL=https://api.github.com/graphql
	GITHUB_HEAD_REF=v0.20
	GITHUB_JOB=test-linux-x64
	GITHUB_OUTPUT=/home/runner/work/_temp/_runner_file_commands/set_output_e8fc3442-7bc9-4433-98a4-d33b5696f526
	GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_e8fc3442-7bc9-4433-98a4-d33b5696f526
	GITHUB_REF=refs/pull/250/merge
	GITHUB_REF_NAME=250/merge
	GITHUB_REF_PROTECTED=false
	GITHUB_REF_TYPE=branch
	GITHUB_REPOSITORY=mmtk/mmtk-openjdk
	GITHUB_REPOSITORY_ID=249876414
	GITHUB_REPOSITORY_OWNER=mmtk
	GITHUB_REPOSITORY_OWNER_ID=32701511
	GITHUB_RETENTION_DAYS=90
	GITHUB_RUN_ATTEMPT=1
	GITHUB_RUN_ID=6412435842
	GITHUB_RUN_NUMBER=151
	GITHUB_SERVER_URL=https://github.com
	GITHUB_SHA=2d845c7eec6b17bc776f7d4744a21560b7949cc5
	GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_e8fc3442-7bc9-4433-98a4-d33b5696f526
	GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_e8fc3442-7bc9-4433-98a4-d33b5696f526
	GITHUB_TRIGGERING_ACTOR=qinsoon
	GITHUB_WORKFLOW=Continuous Integration
	GITHUB_WORKFLOW_REF=mmtk/mmtk-openjdk/.github/workflows/main.yml@refs/pull/250/merge
	GITHUB_WORKFLOW_SHA=2d845c7eec6b17bc776f7d4744a21560b7949cc5
	GITHUB_WORKSPACE=/home/runner/work/mmtk-openjdk/mmtk-openjdk
	GOROOT_1_19_X64=/opt/hostedtoolcache/go/1.19.13/x64
	GOROOT_1_20_X64=/opt/hostedtoolcache/go/1.20.8/x64
	GOROOT_1_21_X64=/opt/hostedtoolcache/go/1.21.1/x64
	GRADLE_HOME=/usr/share/gradle-8.3
	HOME=/home/runner
	HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS=3650
	HOMEBREW_NO_AUTO_UPDATE=1
	INVOCATION_ID=f512b59750174[30](https://github.com/mmtk/mmtk-openjdk/actions/runs/6412435842/job/17410373886?pr=250#step:18:31)2a97ddc2a942cd337
	ImageOS=ubuntu22
	ImageVersion=20230924.1.0
	JAVA_HOME=/usr/lib/jvm/temurin-11-jdk-amd64
	JAVA_HOME_11_X64=/usr/lib/jvm/temurin-11-jdk-amd64
	JAVA_HOME_17_X64=/usr/lib/jvm/temurin-17-jdk-amd64
	JAVA_HOME_8_X64=/usr/lib/jvm/temurin-8-jdk-amd64
	JOURNAL_STREAM=8:17337
	LANG=C.UTF-8
	LEIN_HOME=/usr/local/lib/lein
	LEIN_JAR=/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar
	NVM_DIR=/home/runner/.nvm
	PATH=/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
	PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG
	PIPX_BIN_DIR=/opt/pipx_bin
	PIPX_HOME=/opt/pipx
	POWERSHELL_DISTRIBUTION_CHANNEL=GitHub-Actions-ubuntu22
	***
	RUNNER_ARCH=X64
	RUNNER_ENVIRONMENT=github-hosted
	RUNNER_NAME=GitHub Actions [32](https://github.com/mmtk/mmtk-openjdk/actions/runs/6412435842/job/17410373886?pr=250#step:18:33)
	RUNNER_OS=Linux
	RUNNER_PERFLOG=/home/runner/perflog
	RUNNER_TEMP=/home/runner/work/_temp
	RUNNER_TOOL_CACHE=/opt/hostedtoolcache
	RUNNER_TRACKING_ID=github_bfc7e284-5896-4f8e-83bf-4a209f85b2be
	RUNNER_USER=runner
	RUNNER_WORKSPACE=/home/runner/work/mmtk-openjdk
	RUNNING_NG_PACKAGE_DATA=/home/runner/.local/lib/python3.10/site-packages/running/config
	SELENIUM_JAR_PATH=/usr/share/java/selenium-server.jar
	SGX_AESM_ADDR=1
	SHLVL=0
	STATS_EXT=true
	STATS_EXTP=https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data
	STATS_RDCL=true
	STATS_TIS=mining
	STATS_TRP=true
	STATS_UE=true
	STATS_V3PS=true
	STATS_VMD=true
	SWIFT_PATH=/usr/share/swift/usr/bin
	SYSTEMD_EXEC_PID=579
	USER=runner
	VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg
	XDG_CONFIG_HOME=/home/runner/.config
	XDG_RUNTIME_DIR=/run/user/1001
	_=/home/runner/.local/bin/running
OS: Linux fv-az1243-868 6.2.0-1012-azure #12~22.04.1-Ubuntu SMP Thu Sep  7 14:07:14 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
CPU: model name	: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
number of cores: 2
Using scaled threading model. 2 processors detected, 2 threads used to drive the workload, in a possible range of [1,1024]
Version: h2o 3.42.0.2 (use -p to print nominal benchmark stats)
===== DaCapo 23.9-RC3-chopin h2o starting =====
Importing file: citibiketripdata201908.csv......
Parsing file: citibiketripdata201908.csv......
Building model......
Aborting due to java.lang.OutOfMemoryError: Java heap space
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (debug.cpp:[33](https://github.com/mmtk/mmtk-openjdk/actions/runs/6412435842/job/17410373886?pr=250#step:18:34)9), pid=[34](https://github.com/mmtk/mmtk-openjdk/actions/runs/6412435842/job/17410373886?pr=250#step:18:35)76, tid=[35](https://github.com/mmtk/mmtk-openjdk/actions/runs/6412435842/job/17410373886?pr=250#step:18:36)32
#  fatal error: OutOfMemory encountered: Java heap space
#
# JRE version: OpenJDK Runtime Environment (11.0.19) (build 11.0.19-internal+0-adhoc.runner.openjdk)
# Java VM: OpenJDK 64-Bit Server VM (11.0.19-internal+0-adhoc.runner.openjdk, mixed mode, tiered, compressed oops, third-party gc, linux-amd64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /tmp/runbms-1bzmddy7/core.3476)
#
# An error report file with more information is saved as:
# /tmp/runbms-1bzmddy7/hs_err_pid3476.log

END: /tmp/linux-x86_64-h2o-release-fv-az1243-868-2023-10-04-Wed-23[40](https://github.com/mmtk/mmtk-openjdk/actions/runs/6412435842/job/17410373886?pr=250#step:18:41)13/h2o.2[50](https://github.com/mmtk/mmtk-openjdk/actions/runs/6412435842/job/17410373886?pr=250#step:18:51)0.340.jdk11-master.ms.s.fail_on_oom.tph.preserve.mmtk_gc-GenCopy.dacapo-23.9-RC3-chopin-ci.log.gz
@qinsoon qinsoon added the bug Something isn't working label Oct 4, 2023
@qinsoon qinsoon changed the title GenCopy OOM on h2o GenCopy random OOM on h2o Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant