Closed rgidda closed 5 years ago
Events are not sufficient for determining failure. You'll need to look at your logs to determine what has happened around the time that the crashes happened.
an instance of the app crashed: APP#x2F;PROC /WEB: Exited with status 137 (out of memory) Apr 6, 2021, 05:26:23 AM | vy301-tha-nodesample. I get this error message and my domain name doesn't work. How do I go about this?
Pushing from manifest to org Aguugochukwukelvin / space dev as aguugochukwukelvin@gmail.com... Using manifest file C:\Users\ADMIN\Desktop\IBMCloud get-started-aspnet-core\get-started-aspnet-core\manifest.yml Getting app info... Updating app with these attributes... name: vy301-tha-nodesample path: C:\Users\ADMIN\Desktop\IBMCloud get-started-aspnet-core\get-started-aspnet-core command: cd ${DEPS_DIR}/0/dotnet_publish && exec ./dotnetHelloWorld --server.urls http://0.0.0.0:${PORT} disk quota: 1G health check type: port instances: 1
Updating app vy301-tha-nodesample... Mapping routes... Comparing local files to remote cache... Packaging files to upload... Uploading files... 43.21 KiB / 43.21 KiB [===================================================================================] 100.00% 2s
Waiting for API to complete processing files...
Stopping app...
Staging app and tracing logs... Downloading dotnet-core_v2_10-20210312-1113... Downloading ruby_buildpack... Downloading nodejs_buildpack... Downloading nginx_buildpack... Downloading swift_buildpack_cflinuxfs3_v2_1_0-20190404-1206... Downloaded nginx_buildpack Downloaded dotnet-core_v2_10-20210312-1113 Downloading r_buildpack... Downloaded ruby_buildpack Downloading dotnet_core_buildpack... Downloading sdk-for-nodejs_v4_5-20201130-1530... Downloaded nodejs_buildpack Downloading sdk-for-nodejs_v4_6-20210305-2036... Downloaded swift_buildpack_cflinuxfs3_v2_1_0-20190404-1206 Downloading liberty-for-java_v3_54-20210211-1310... Downloaded sdk-for-nodejs_v4_6-20210305-2036 Downloaded dotnet_core_buildpack Downloading liberty-for-java_v3_55-20210311-1642... Downloaded liberty-for-java_v3_54-20210211-1310 Downloaded sdk-for-nodejs_v4_5-20201130-1530 Downloading go_buildpack... Downloading swift_buildpack... Downloaded r_buildpack Downloading python_buildpack... Downloading dotnet-core_v2_9-20201207-2154... Downloaded swift_buildpack Downloaded python_buildpack Downloading php_buildpack... Downloaded go_buildpack Downloading liberty-for-java... Downloaded liberty-for-java_v3_55-20210311-1642 Downloading binary_buildpack... Downloaded dotnet-core_v2_9-20201207-2154 Downloading sdk-for-nodejs... Downloading swift_buildpack_v2_0_18-20190303-1915... Downloaded php_buildpack Downloading dotnet-core... Downloaded binary_buildpack Downloading swift_buildpack_v2_0_20-20190401-2122... Downloaded liberty-for-java Downloading xpages_buildpack_v1_2_1-20160913-103... Downloaded sdk-for-nodejs Downloading xpages_buildpack... Downloaded swift_buildpack_v2_0_18-20190303-1915 Downloading staticfile_buildpack... Downloaded dotnet-core Downloading java_buildpack... Downloaded swift_buildpack_v2_0_20-20190401-2122 Downloaded xpages_buildpack_v1_2_1-20160913-103 Downloaded xpages_buildpack Downloaded staticfile_buildpack Downloaded java_buildpack Cell e727c922-b2cf-4b68-9379-b6820a7bf18f creating container for instance 989eb675-0abe-4698-8902-bc27fd746b4c Cell e727c922-b2cf-4b68-9379-b6820a7bf18f successfully created container for instance 989eb675-0abe-4698-8902-bc27fd746b4c Downloading build artifacts cache... Downloading app package... Downloaded build artifacts cache (233B) Downloaded app package (43.2K) -----> Dotnet-Core Buildpack version v2.10-20210312-1113 -----> Supplying Dotnet Core -----> Installing libunwind 1.5 Copy [/tmp/buildpacks/6d081eb2b6f574c56eb1ed445cdafecf/dependencies/66a4a9541b55947fd8e80a9863001705/libunwind_1.5_linux_noarch_cflinuxfs3_6a1dd8f2.tgz] using the default SDK -----> Installing dotnet-sdk 3.1.407 Copy [/tmp/buildpacks/6d081eb2b6f574c56eb1ed445cdafecf/dependencies/e09f9f675fe49c9954b069dbc783813a/dotnet-sdk_3.1.407_linux_x64_any-stack_d0142171.tar.xz] -----> Installing dotnet-runtime 3.1.13 Copy [/tmp/buildpacks/6d081eb2b6f574c56eb1ed445cdafecf/dependencies/cbc66757d9b8e3c23b45340535c4b800/dotnet-runtime_3.1.13_linux_x64_any-stack_e154e565.tar.xz] -----> Finalizing Dotnet Core -----> Installing dotnet-runtime 2.1.26 Copy [/tmp/buildpacks/6d081eb2b6f574c56eb1ed445cdafecf/dependencies/44090733d0b989e233194a74a120502f/dotnet-runtime_2.1.26_linux_x64_any-stack_841c94bf.tar.xz] -----> Installing dotnet-aspnetcore 2.1.26 Copy [/tmp/buildpacks/6d081eb2b6f574c56eb1ed445cdafecf/dependencies/53b081103d7d514fc3ba722018dfb585/dotnet-aspnetcore_2.1.26_linux_x64_any-stack_6ff9d97f.tar.xz] -----> Publish dotnet
Welcome to .NET Core 3.1!
---------------------
SDK Version: 3.1.407
----------------
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Find out what's new: https://aka.ms/dotnet-whats-new
Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
Write your first app: https://aka.ms/first-net-core-app
--------------------------------------------------------------------------------------
Microsoft (R) Build Engine version 16.7.2+b60ddb6f4 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
Restored /tmp/app/src/GetStartedDotnet/GetStartedDotnet.csproj (in 21.36 sec).
Restored /tmp/app/src/GetStartedDotnet/GetStartedDotnet.csproj (in 29.13 sec).
/tmp/contents601877691/deps/0/dotnet-sdk/sdk/3.1.407/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets(189,5): warning NETSDK1071: A PackageReference to 'Microsoft.AspNetCore.All' specified a Version of `2.0.0`. Specifying the version of this package is not recommended. For more information, see https://aka.ms/sdkimplicitrefs [/tmp/app/src/GetStartedDotnet/GetStartedDotnet.csproj]
GetStartedDotnet -> /tmp/app/src/GetStartedDotnet/bin/Debug/netcoreapp2.2/ubuntu.18.04-x64/GetStartedDotnet.dll
GetStartedDotnet -> /tmp/contents601877691/deps/0/dotnet_publish/
-----> Cleaning staging area Removing .nuget Removing .local Removing dotnet-sdk Exit status 0 Uploading droplet, build artifacts cache... Uploading build artifacts cache... Uploading droplet... Uploaded build artifacts cache (239B) Uploaded droplet (41.1M) Uploading complete Cell e727c922-b2cf-4b68-9379-b6820a7bf18f stopping instance 989eb675-0abe-4698-8902-bc27fd746b4c Cell e727c922-b2cf-4b68-9379-b6820a7bf18f destroying container for instance 989eb675-0abe-4698-8902-bc27fd746b4c Cell e727c922-b2cf-4b68-9379-b6820a7bf18f successfully destroyed container for instance 989eb675-0abe-4698-8902-bc27fd746b4c
Waiting for app to start...
name: vy301-tha-nodesample requested state: started routes: vy301-tha-nodesample.eu-gb.cf.appdomain.cloud last uploaded: Tue 06 Apr 05:14:42 PDT 2021 stack: cflinuxfs3 buildpacks: dotnet-core
type: web instances: 1/1 memory usage: 64M start command: cd ${DEPS_DIR}/0/dotnet_publish && exec ./GetStartedDotnet --server.urls http://0.0.0.0:${PORT} state since cpu memory disk details
C:\Users\ADMIN\Desktop\IBMCloud get-started-aspnet-core\get-started-aspnet-core>
Hi all , The issue is with meta space , pass the jvm arguments to increase meta space solved the issue
How do I go about that as I'm still learning and using the lite account? Thank you for your reply
On Wed, Apr 7, 2021, 5:15 AM rgidda @.***> wrote:
Hi all , The issue is with meta space , pass the jvm arguments to increase meta space solved the issue
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cloudfoundry/java-buildpack/issues/664#issuecomment-814586700, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATMMBVMHTLDOO634LCYUXILTHPL5DANCNFSM4GMZVZTQ .
You would set the JAVA_OPTS
environment variable and include in that the relevant JVM memory configuration arguments (same arguments as if not running on CF).
https://docs.cloudfoundry.org/buildpacks/java/index.html#memory-constraints
Thank you all for your help. I just increased the memory and its working fine. Thank you all so much
On Wed, Apr 7, 2021 at 9:00 AM Daniel Mikusa @.***> wrote:
You would set the JAVA_OPTS environment variable and include in that the relevant JVM memory configuration arguments (same arguments as if not running on CF).
https://docs.cloudfoundry.org/buildpacks/java/index.html#memory-constraints
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cloudfoundry/java-buildpack/issues/664#issuecomment-815030997, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATMMBVJMQPX2AJSC5MANTH3THR6RTANCNFSM4GMZVZTQ .
Java buildpack version :
Event Log :