WARN com.netflix.zuul.netty.server.DirectMemoryMonitor - Error in DirectMemoryMonitor task.
See original GitHub issue[pool-5-thread-1] WARN com.netflix.zuul.netty.server.DirectMemoryMonitor - Error in DirectMemoryMonitor task.
java.lang.NullPointerException
at com.netflix.servo.monitor.LongGauge.set(LongGauge.java:42)
at com.netflix.zuul.netty.server.DirectMemoryMonitor$Task.run(DirectMemoryMonitor.java:78)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
请问 DirectMemoryMonitor类里面的 Field maxMemory = c.getDeclaredField(“DIRECT_MEMORY_LIMIT”) && Field reservedMemory = c.getDeclaredField(“DIRECT_MEMORY_COUNTER”) 的值是哪里获取的,为甚么一直为空?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
com.netflix.zuul.netty.server java code examples - Tabnine
private void handleComplete(Channel channel) { try { if ((isHandlingRequest)) { completeMetrics(channel, zuulResponse); // Notify requestComplete listener ...
Read more >netflix zuul - JHipster Gateway Application ZuulException
I found the solution with increase ribbon ReadTimeout on Gateway Application ribbon: eager-load: enabled: true eureka: enabled: true ...
Read more >Zuul 2 : The Netflix Journey to Asynchronous, Non-Blocking ...
The major architectural difference between Zuul 2 and the original is that Zuul 2 is running on an asynchronous and non-blocking framework, ...
Read more >8. Router and Filter: Zuul - Spring Cloud
Zuul is a JVM-based router and server-side load balancer from Netflix. ... Spring Cloud has created an embedded Zuul proxy to ease the...
Read more >API Gateways – An Evaluation of Zuul 2 - 一天不进步 - 博客园
Post-Filters perform tasks such as analytics or customization of HTTP ... Figure 4 High level architecture of Netflix Zuul 2 with Netty.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
had this same error (although I was using jdk 11). i was using zuul-core 2.1.4, updating to 2.1.8 fixed it.
I believe this commit was responsible for the fix.
I can’t repro this. Do you have steps?