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

[BUG] <oom error> #1485

Closed
1 task done
tomsun28 opened this issue Jan 14, 2024 · 0 comments · Fixed by #1488
Closed
1 task done

[BUG] <oom error> #1485

tomsun28 opened this issue Jan 14, 2024 · 0 comments · Fixed by #1488
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@tomsun28
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

2024-01-11 15:22:58.233 [228414128916480-api-summary-8188] INFO org.dromara.hertzbeat.collector.collect.http.HttpCollectImpl Line:167 - Connection refused (Connection refused)
2024-01-11 15:22:58.233 [228414128916480-api-summary-8188] WARN org.dromara.hertzbeat.collector.dispatch.MetricsCollect Line:369 - [Collector Dispatch Warn, Dispatch Use 191ms.
2024-01-11 15:22:58.233 [228414128916480-api-summary-8188] INFO org.dromara.hertzbeat.collector.dispatch.MetricsCollect Line:372 - [Collect Failed, Run 45ms, All 236ms] Reason: Connection refused (Connection refused)
2024-01-11 15:22:58.240 [268085233732096-mysql-innodb-8077] INFO org.dromara.hertzbeat.collector.dispatch.MetricsCollect Line:374 - [Collect Success, Run 163ms, All 172ms].
2024-01-11 15:22:58.241 [metrics-task-dispatcher] ERROR org.dromara.hertzbeat.collector.dispatch.WorkerPool Line:48 - workerExecutor has uncaughtException.
2024-01-11 15:22:58.242 [metrics-task-dispatcher] ERROR org.dromara.hertzbeat.collector.dispatch.WorkerPool Line:49 - unable to create native thread: possibly out of memory or process/resource limits reached
java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
at java.base/java.lang.Thread.start0(Native Method)
at java.base/java.lang.Thread.start(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.addWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
at org.dromara.hertzbeat.collector.dispatch.WorkerPool.executeJob(WorkerPool.java:70)
at org.dromara.hertzbeat.collector.dispatch.CommonDispatcher.lambda$start$0(CommonDispatcher.java:114)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2024-01-11 15:22:58.241 [225929651763712-website-summary-8078] INFO org.apache.http.impl.execchain.RetryExec Line:97 - I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https://www.citycloud.org.cn:443: The target server failed to respond
2024-01-11 15:22:58.246 [225929651763712-website-summary-8078] INFO org.apache.http.impl.execchain.RetryExec Line:113 - Retrying request to {s}->https://www.citycloud.org.cn:443
2024-01-11 15:22:58.245 [244752483694592-api-summary-8191] WARN org.dromara.hertzbeat.collector.dispatch.MetricsCollect Line:369 - [Collector Dispatch Warn, Dispatch Use 194ms.
2024-01-11 15:22:58.241 [287172284832256-api-summary-7036] WARN org.apache.http.client.protocol.ResponseProcessCookies Line:130 - Invalid cookie header: "Set-Cookie: AWSALBTG=uT1a1YJGqdXN6djCG7ObSKogVlHxJsNU8x/1uk4sJSGNKNyF35oejnhzUZjFohD4VmvwYlW8StlJhqTuY/8GtqwalhpT9MvTZMATgC1rURi0HzqcImApc52WqZ7k0khHAcro1//AyXC0Y0MbfRgUw3jvt9v+hBa2yz+VJ1gkVzU+Ptr5usc=; Expires=Thu, 18 Jan 2024 07:22:58 GMT; Path=/". Invalid 'expires' attribute: Thu, 18 Jan 2024 07:22:58 GMT

Expected Behavior

No response

Steps To Reproduce

No response

Environment

HertzBeat version(s):1.4.4

Debug logs

2024-01-11 15:22:58.241 [metrics-task-dispatcher] ERROR org.dromara.hertzbeat.collector.dispatch.WorkerPool Line:48 - workerExecutor has uncaughtException.
2024-01-11 15:22:58.242 [metrics-task-dispatcher] ERROR org.dromara.hertzbeat.collector.dispatch.WorkerPool Line:49 - unable to create native thread: possibly out of memory or process/resource limits reached
java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
at java.base/java.lang.Thread.start0(Native Method)
at java.base/java.lang.Thread.start(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.addWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
at org.dromara.hertzbeat.collector.dispatch.WorkerPool.executeJob(WorkerPool.java:70)
at org.dromara.hertzbeat.collector.dispatch.CommonDispatcher.lambda$start$0(CommonDispatcher.java:114)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

Anything else?

No response

@tomsun28 tomsun28 added the bug Something isn't working label Jan 14, 2024
@tomsun28 tomsun28 added the good first issue Good for newcomers label Jan 14, 2024
@tomsun28 tomsun28 added this to the 1.4.5 milestone Jan 14, 2024
@tomsun28 tomsun28 linked a pull request Jan 15, 2024 that will close this issue
5 tasks
@github-project-automation github-project-automation bot moved this from To do to Done in hertzbeat-v1.0 Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant