pinpoint-docker icon indicating copy to clipboard operation
pinpoint-docker copied to clipboard

# There is insufficient memory for the Java Runtime Environment to continue. # Cannot create worker GC thread. Out of system resources.

Open zlcolin opened this issue 7 months ago • 0 comments

##flink jobmanager: container_name: "${PINPOINT_FLINK_NAME}-jobmanager" image: "pinpointdocker/pinpoint-flink:${PINPOINT_VERSION}" expose: - "6123" ports: - "${FLINK_WEB_PORT:-8081}:8081" command: standalone-job -p 1 pinpoint-flink-job.jar -spring.profiles.active release -Xmx4096m -Xms1024m environment: - JOB_MANAGER_RPC_ADDRESS=jobmanager - PINPOINT_ZOOKEEPER_ADDRESS=${PINPOINT_ZOOKEEPER_ADDRESS} networks: - pinpoint depends_on: - zoo1

##docker logs pinpoint-flink-jobmanager Starting Job Manager [ERROR] The execution result is empty. [ERROR] Could not get JVM parameters and dynamic configurations properly. [ERROR] Raw output from BashJavaUtils: [0.009s][warning][os,thread] Failed to start thread "GC Thread#0" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.

There is insufficient memory for the Java Runtime Environment to continue. Cannot create worker GC thread. Out of system resources. An error report file with more information is saved as: /opt/flink/hs_err_pid147.log [0.003s][warning][os,thread] Failed to start thread "GC Thread#0" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.

There is insufficient memory for the Java Runtime Environment to continue. Cannot create worker GC thread. Out of system resources. An error report file with more information is saved as: /opt/flink/hs_err_pid269.log

How much resources and jvm parameter need? Any comments please...

zlcolin avatar Jul 08 '24 01:07 zlcolin