Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Installed confluent-5.0.0 (OSS), kafka-rest service is getting down after some idle time

I have Installed confluent-5.0.0 (OSS) on a Ubuntu VM.All services working fine.

But kafka-rest service is getting down after some idle time.

It should run forever.

Error details

confluent log kafka-rest -n 10

[2018-12-04 02:46:57,745] WARN [Producer clientId=producer-4] Connection to node 0 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient:615)
[2018-12-04 02:44:34,445] WARN [Producer clientId=producer-6] Connection to node 0 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient:615)
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000f3e00000, 40894464, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 40894464 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /home/kafka/hs_err_pid10781.log
# [ timer expired, abort... ]



confluent log kafka -n 10

[2018-12-03 18:55:39,115] WARN Attempting to send response via channel for which there is no open connection, connection id 10.7.1.4:9092-10.7.1.4:38900-511 (kafka.network.Processor)
[2018-12-03 18:56:01,229] WARN Attempting to send response via channel for which there is no open connection, connection id 10.7.1.4:9092-10.7.1.4:38882-508 (kafka.network.Processor)
[2018-12-03 21:18:57,256] WARN Attempting to send response via channel for which there is no open connection, connection id 10.7.1.4:9092-10.7.1.4:38888-509 (kafka.network.Processor)
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007fb112340000, 65536, 1) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 65536 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /home/kafka/hs_err_pid10311.log
# [ timer expired, abort... ]

kafka got down on 2018-12-03 21:18:57 first and then kafka-rest got down on 2018-12-04 02:44:34

Comments