首页 文章 精选 留言 我的

精选列表

搜索[渲染问题],共10000篇文章
优秀的个人博客,低调大师

HttpRequest常见问题

1、Q:HttpRequest真机请求报错误码error:4,errorMessage:无权调用该接口,和报错误码error11 A:需要把域名添加到开放平台中的小程序httpRequest接口请求域名白名单中 2, 2、Q:真机请求中如果Android请求正常,ios不能正常请求到数据请求为Https请求 A: 查看证书是否已经验证通过 3、Q:http能够请求到数据,https的就不能请求到服务器,返回500错误 A:1,[url=https://ds.alipay.com/fd-ipddfamm/index.html][color=windowtext]https://ds.alipay.com/fd-ipddfamm/index.html[/color][/url] 先关一下spdy 2,可以试试自己填下user-agent

优秀的个人博客,低调大师

jvm memcache 问题(求助)

谁遇到过麻烦解释下 2018-04-24 13:55:31 Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.31-b07 mixed mode): "RMI TCP Connection(idle)" #157 daemon prio=5 os_prio=0 tid=0x000000001c07f000 nid=0x2b3c waiting on condition [0x000000003d0be000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x0000000081e09ef0> (a java.util.concurrent.SynchronousQueue$TransferStack) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460) at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362) at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618) at java.lang.Thread.run(Thread.java:745) "logback-2" #51 daemon prio=5 os_prio=0 tid=0x000000001b762000 nid=0x2478 waiting on condition [0x000000002ca6e000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x0000000082189440> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067) at java.util.concurrent.ThreadPoolExecutor.null (Redefined) at java.util.concurrent.ThreadPoolExecutor$Worker.null (Redefined) at java.lang.Thread.run(Redefined) "nioEventLoopGroup-3-8" #47 prio=10 os_prio=2 tid=0x000000001b75e000 nid=0x918 runnable [0x000000002b65f000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278) at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - locked <0x0000000081d89fd0> (a io.netty.channel.nio.SelectedSelectionKeySet) - locked <0x0000000081d8c050> (a java.util.Collections$UnmodifiableSet) - locked <0x0000000081d89f00> (a sun.nio.ch.WindowsSelectorImpl) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:665) at io.netty.channel.nio.NioEventLoop.run(Redefined) at io.netty.util.concurrent.SingleThreadEventExecutor$5.null (Redefined) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.null (Redefined) at java.lang.Thread.run(Redefined) "nioEventLoopGroup-3-7" #46 prio=10 os_prio=2 tid=0x000000001b75d800 nid=0x3bf0 runnable [0x000000002a54f000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278) at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - locked <0x0000000081d99790> (a io.netty.channel.nio.SelectedSelectionKeySet) - locked <0x0000000081d9b810> (a java.util.Collections$UnmodifiableSet) - locked <0x0000000081d996c0> (a sun.nio.ch.WindowsSelectorImpl) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:665) at io.netty.channel.nio.NioEventLoop.run(Redefined) at io.netty.util.concurrent.SingleThreadEventExecutor$5.null (Redefined) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.null (Redefined) at java.lang.Thread.run(Redefined) "nioEventLoopGroup-3-6" #45 prio=10 os_prio=2 tid=0x000000001b75b000 nid=0x2418 runnable [0x000000002943d000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:150) at java.net.SocketInputStream.read(SocketInputStream.java:121) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) - locked <0x00000000d65edeb8> (a java.io.BufferedInputStream) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:703) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535) - locked <0x00000000d657e810> (a sun.net.www.protocol.http.HttpURLConnection) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440) - locked <0x00000000d657e810> (a sun.net.www.protocol.http.HttpURLConnection) at com.yst.m2.sdk.util.HTTPUtil.http_request(HTTPUtil.java:164) at com.yst.m2.sdk.util.HTTPUtil.do_http_post(HTTPUtil.java:103) at com.yst.m2.sdk.base.M2Base.do_send(M2Base.java:69) at com.ebc.m2.core.Core_Ca.execute(Core_Ca.java:169) at com.ebc.m2.core.Session.run(Session.java:140) at com.ebc.m2.netty.NettyServerHandler.channelRead(NettyServerHandler.java:53) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:335) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:328) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:335) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:328) at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:429) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:287) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:262) at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:243) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:335) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:328) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1336) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:335) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:544) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:485) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:399) at io.netty.channel.nio.NioEventLoop.run(Redefined) at io.netty.util.concurrent.SingleThreadEventExecutor$5.null (Redefined) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.null (Redefined) at java.lang.Thread.run(Redefined) "nioEventLoopGroup-3-5" #44 prio=10 os_prio=2 tid=0x000000001b758800 nid=0x2f08 runnable [0x000000002630e000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278) at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - locked <0x0000000081dac3c0> (a io.netty.channel.nio.SelectedSelectionKeySet) - locked <0x0000000081dae440> (a java.util.Collections$UnmodifiableSet) - locked <0x0000000081dac2f0> (a sun.nio.ch.WindowsSelectorImpl) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:665) at io.netty.channel.nio.NioEventLoop.run(Redefined) at io.netty.util.concurrent.SingleThreadEventExecutor$5.null (Redefined) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.null (Redefined) at java.lang.Thread.run(Redefined) "nioEventLoopGroup-3-4" #43 prio=10 os_prio=2 tid=0x000000001b759800 nid=0x14d4 runnable [0x000000002620f000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278) at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - locked <0x0000000081dbb1b0> (a io.netty.channel.nio.SelectedSelectionKeySet) - locked <0x0000000081dbd230> (a java.util.Collections$UnmodifiableSet) - locked <0x0000000081dbb0e0> (a sun.nio.ch.WindowsSelectorImpl) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:665) at io.netty.channel.nio.NioEventLoop.run(Redefined) at io.netty.util.concurrent.SingleThreadEventExecutor$5.null (Redefined) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.null (Redefined) at java.lang.Thread.run(Redefined) "nioEventLoopGroup-3-3" #42 prio=10 os_prio=2 tid=0x000000001b75c800 nid=0x27cc runnable [0x000000002610e000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278) at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - locked <0x0000000081dc0bf8> (a io.netty.channel.nio.SelectedSelectionKeySet) - locked <0x0000000081dc6c88> (a java.util.Collections$UnmodifiableSet) - locked <0x0000000081dc0b28> (a sun.nio.ch.WindowsSelectorImpl) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:665) at io.netty.channel.nio.NioEventLoop.run(Redefined) at io.netty.util.concurrent.SingleThreadEventExecutor$5.null (Redefined) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.null (Redefined) at java.lang.Thread.run(Redefined) "nioEventLoopGroup-3-2" #40 prio=10 os_prio=2 tid=0x000000001b758000 nid=0x439c runnable [0x0000000024eee000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278) at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - locked <0x0000000081dca650> (a io.netty.channel.nio.SelectedSelectionKeySet) - locked <0x0000000081dcc6d0> (a java.util.Collections$UnmodifiableSet) - locked <0x0000000081dca580> (a sun.nio.ch.WindowsSelectorImpl) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:665) at io.netty.channel.nio.NioEventLoop.run(Redefined) at io.netty.util.concurrent.SingleThreadEventExecutor$5.null (Redefined) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.null (Redefined) at java.lang.Thread.run(Redefined) "transcoder-2-1" #39 prio=10 os_prio=2 tid=0x000000001b75a000 nid=0x1e94 waiting on condition [0x0000000024def000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x000000008208f678> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:403) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067) at java.util.concurrent.ThreadPoolExecutor.null (Redefined) at java.util.concurrent.ThreadPoolExecutor$Worker.null (Redefined) at java.lang.Thread.run(Redefined) "logback-1" #38 daemon prio=5 os_prio=0 tid=0x000000001b755800 nid=0x43e8 waiting on condition [0x0000000024cee000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x0000000082189440> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067) at java.util.concurrent.ThreadPoolExecutor.null (Redefined) at java.util.concurrent.ThreadPoolExecutor$Worker.null (Redefined) at java.lang.Thread.run(Redefined) "Memcached IO over {MemcachedConnection to /10.153.29.11:11211}" #36 prio=10 os_prio=2 tid=0x000000001b756800 nid=0x24ec runnable [0x00000000246ef000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278) at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - locked <0x0000000081f116e8> (a sun.nio.ch.Util$2) - locked <0x0000000081f116d8> (a java.util.Collections$UnmodifiableSet) - locked <0x0000000081f10f18> (a sun.nio.ch.WindowsSelectorImpl) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:420) at net.spy.memcached.MemcachedConnection.run(Redefined) "threadDeathWatcher-4-1" #35 daemon prio=1 os_prio=-2 tid=0x000000001b75c000 nid=0x2620 waiting on condition [0x00000000233df000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at io.netty.util.ThreadDeathWatcher$Watcher.null (Redefined) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.null (Redefined) at java.lang.Thread.run(Redefined) "nioEventLoopGroup-3-1" #34 prio=10 os_prio=2 tid=0x000000001c080000 nid=0x426c runnable [0x00000000232de000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278) at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - locked <0x0000000081dd8080> (a io.netty.channel.nio.SelectedSelectionKeySet) - locked <0x0000000081dda100> (a java.util.Collections$UnmodifiableSet) - locked <0x0000000081dd7fb0> (a sun.nio.ch.WindowsSelectorImpl) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:665) at io.netty.channel.nio.NioEventLoop.run(Redefined) at io.netty.util.concurrent.SingleThreadEventExecutor$5.null (Redefined) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.null (Redefined) at java.lang.Thread.run(Redefined) "*** Profiler Agent Special Execution Thread 6" #28 daemon prio=5 os_prio=0 tid=0x000000001c07e800 nid=0x2e08 in Object.wait() [0x00000000218de000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:502) at org.netbeans.lib.profiler.server.ProfilerServer$SeparateCmdExecutionThread.run(ProfilerServer.java:251) - locked <0x0000000081db38f8> (a java.lang.Object) "*** JFluid Monitor thread ***" #27 daemon prio=10 os_prio=2 tid=0x000000001c084800 nid=0x68 waiting on condition [0x00000000217df000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at org.netbeans.lib.profiler.server.Monitors$SurvGenAndThreadsMonitor.run(Monitors.java:148) "*** Profiler Agent Communication Thread" #26 daemon prio=10 os_prio=2 tid=0x000000001ccc9800 nid=0x2d54 runnable [0x00000000216de000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:150) at java.net.SocketInputStream.read(SocketInputStream.java:121) at java.net.SocketInputStream.read(SocketInputStream.java:203) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2296) at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2476) at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2546) at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2618) at java.io.ObjectInputStream.read(ObjectInputStream.java:842) at org.netbeans.lib.profiler.wireprotocol.WireIO.receiveCommandOrResponse(WireIO.java:50) at org.netbeans.lib.profiler.server.ProfilerServer.listenToClient(ProfilerServer.java:1685) at org.netbeans.lib.profiler.server.ProfilerServer.run(ProfilerServer.java:652) "RMI Scheduler(0)" #21 daemon prio=5 os_prio=0 tid=0x000000001c22a000 nid=0x4010 waiting on condition [0x0000000020cde000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x0000000081db6698> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067) at java.util.concurrent.ThreadPoolExecutor.null (Redefined) at java.util.concurrent.ThreadPoolExecutor$Worker.null (Redefined) at java.lang.Thread.run(Redefined) "RMI TCP Accept-0" #19 daemon prio=5 os_prio=0 tid=0x000000001da6d800 nid=0x2b54 runnable [0x00000000209de000] java.lang.Thread.State: RUNNABLE at java.net.DualStackPlainSocketImpl.accept0(Native Method) at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketImpl.java:131) at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:404) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:199) - locked <0x0000000081d86db0> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:545) at java.net.ServerSocket.accept(ServerSocket.java:513) at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:52) at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.null (Redefined) at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(Redefined) at java.lang.Thread.run(Redefined) "nioEventLoopGroup-2-1" #18 prio=10 os_prio=2 tid=0x000000001bf14000 nid=0x4244 runnable [0x000000001f30e000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278) at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - locked <0x0000000081de13a0> (a io.netty.channel.nio.SelectedSelectionKeySet) - locked <0x0000000081de3490> (a java.util.Collections$UnmodifiableSet) - locked <0x0000000081de12c0> (a sun.nio.ch.WindowsSelectorImpl) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:665) at io.netty.channel.nio.NioEventLoop.run(Redefined) at io.netty.util.concurrent.SingleThreadEventExecutor$5.null (Redefined) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.null (Redefined) at java.lang.Thread.run(Redefined) "MongoCleaner2048529572" #15 daemon prio=5 os_prio=0 tid=0x000000001c22b000 nid=0x2d30 waiting on condition [0x000000001ef0f000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at com.mongodb.Mongo$CursorCleanerThread.run(Redefined) "cluster-1-10.153.29.16:27017" #14 daemon prio=5 os_prio=0 tid=0x000000001ccc9000 nid=0x3cc4 waiting on condition [0x000000001ee0e000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x0000000081e09c88> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at com.mongodb.ServerMonitor$ServerMonitorRunnable.waitForSignalOrTimeout(ServerMonitor.java:178) at com.mongodb.ServerMonitor$ServerMonitorRunnable.waitForNext(ServerMonitor.java:159) at com.mongodb.ServerMonitor$ServerMonitorRunnable.null (Redefined) at java.lang.Thread.run(Redefined) "Memcached IO over {MemcachedConnection to /10.153.29.11:11211}" #13 prio=5 os_prio=0 tid=0x000000001cc22800 nid=0x14e8 runnable [0x000000001ed0f000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278) at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - locked <0x0000000081b69f70> (a sun.nio.ch.Util$2) - locked <0x0000000081b6a000> (a java.util.Collections$UnmodifiableSet) - locked <0x000000008196ea60> (a sun.nio.ch.WindowsSelectorImpl) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:420) at net.spy.memcached.MemcachedConnection.run(Redefined) "Service Thread" #9 daemon prio=9 os_prio=0 tid=0x000000001a86e800 nid=0x39d0 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C1 CompilerThread2" #8 daemon prio=9 os_prio=2 tid=0x000000001a80c000 nid=0x27b0 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C2 CompilerThread1" #7 daemon prio=9 os_prio=2 tid=0x000000001a805800 nid=0x19c0 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C2 CompilerThread0" #6 daemon prio=9 os_prio=2 tid=0x000000001a801800 nid=0x25c4 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Attach Listener" #5 daemon prio=5 os_prio=2 tid=0x000000001a800800 nid=0x38b0 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Signal Dispatcher" #4 daemon prio=9 os_prio=2 tid=0x00000000193b1000 nid=0x4044 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Finalizer" #3 daemon prio=8 os_prio=1 tid=0x0000000004848000 nid=0x3b94 in Object.wait() [0x000000001a6ff000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:142) - locked <0x00000000818fc9d8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:158) at java.lang.ref.Finalizer$FinalizerThread.null (Redefined) "Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x000000000483f000 nid=0x1008 in Object.wait() [0x000000001a5ff000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:502) at java.lang.ref.Reference$ReferenceHandler.null (Redefined) - locked <0x000000008196e9c8> (a java.lang.ref.Reference$Lock) "main" #1 prio=5 os_prio=0 tid=0x0000000004753800 nid=0x39c8 in Object.wait() [0x000000000438e000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x0000000081de10c0> (a io.netty.channel.AbstractChannel$CloseFuture) at java.lang.Object.wait(Object.java:502) at io.netty.util.concurrent.DefaultPromise.null (Redefined) - locked <0x0000000081de10c0> (a io.netty.channel.AbstractChannel$CloseFuture) at io.netty.channel.DefaultChannelPromise.await(Redefined) at io.netty.channel.DefaultChannelPromise.await(Redefined) at io.netty.util.concurrent.DefaultPromise.sync(Redefined) at io.netty.channel.DefaultChannelPromise.sync(Redefined) at io.netty.channel.DefaultChannelPromise.sync(Redefined) at com.ebc.m2.netty.NettyServer.null (Redefined) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Redefined) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(Redefined) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.null (Redefined) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.null (Redefined) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(Redefined) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.null (Redefined) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.null (Redefined) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.null (Redefined) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.null (Redefined) - locked <0x000000008196f0f0> (a java.util.concurrent.ConcurrentHashMap) at org.springframework.beans.factory.support.AbstractBeanFactory.null (Redefined) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Redefined) at org.springframework.beans.factory.support.DefaultListableBeanFactory.null (Redefined) at org.springframework.context.support.AbstractApplicationContext.null (Redefined) at org.springframework.context.support.AbstractApplicationContext.null (Redefined) - locked <0x000000008196f290> (a java.lang.Object) at org.springframework.boot.SpringApplication.refresh(Redefined) at org.springframework.boot.SpringApplication.refreshContext(Redefined) at org.springframework.boot.SpringApplication.null (Redefined) at com.ebc.m2.NettyGatewayRouterApplication.null (Redefined) "VM Thread" os_prio=2 tid=0x0000000019366000 nid=0x1ed4 runnable "GC task thread#0 (ParallelGC)" os_prio=0 tid=0x000000000476a000 nid=0x232c runnable "GC task thread#1 (ParallelGC)" os_prio=0 tid=0x000000000476b800 nid=0x410c runnable "GC task thread#2 (ParallelGC)" os_prio=0 tid=0x000000000476d000 nid=0x334 runnable "GC task thread#3 (ParallelGC)" os_prio=0 tid=0x000000000476e800 nid=0x154c runnable "VM Periodic Task Thread" os_prio=2 tid=0x000000001a871000 nid=0x46b4 waiting on condition JNI global references: 440 捐助开发者 在兴趣的驱动下,写一个免费的东西,有欣喜,也还有汗水,希望你喜欢我的作品,同时也能支持一下。 当然,有钱捧个钱场(支持支付宝和微信 以及扣扣群),没钱捧个人场,谢谢各位。 个人主页:http://knight-black-bob.iteye.com/ 谢谢您的赞助,我会做的更好!

优秀的个人博客,低调大师

端口丢包问题

最近发现核心交换机有几个下联二层交换机的端口出现了很多丢包,从监控平台上显示如下: 显示为7609的receive discards,登陆上交换机查看端口如下: 从上图中看到有很多数据包overrun(2294627),说明此端口的buffer已经耗尽,其将此buffer里的数据送往PFC的速度慢于此端口的接收数据报的速度,因此这些数据报就会丢弃,如上图Input queue有2289265 drops。overrun的官方解释如下: Q. What are overruns on a serial interface? A.Overruns appear in the output of theshow interface Serial 0command when the serial receiver hardware is unable to hand received data to a hardware buffer because the input rate exceeds the receiver's ability to handle the data. This occurs due to a limitation of the hardware. Overruns occur when the internal First In, First Out (FIFO) buffer of the chip is full, but is still tries to handle incoming traffic. The serial controller chip has limited internal FIFO. Some chips, for example, have only 256 bytes of buffer space. Data from the network is received into the buffer, whereupon the chip attempts to move the data from the buffer to the router's shared memory for the CPU to process. If the chip is not able to move the data from its internal FIFO buffer into shared memory faster than the rate at which data is received on the interface, then the internal FIFO buffer is full, incoming data is dropped, and the overrun counter is incremented. ------------摘自 [url]http://www.cisco.com/en/US/tech/tk801/tk36/technologies_q_and_a_item09186a008014f919.shtml[/url] 而同时由上图可以看出此端口没有启用flow-control特性,flow-control的官方解释如下: 因此启用flow-control特性可以避免overrun的现象。但是从根本上来考虑此端口为GE端口速率为1000Mbps,且为full-duplex。而且当时此端口的input速率为22.8Mbps,远没有达到GE的上限。而从硬件架构来看,也远没有达到瓶颈。下为硬件参数显示信息: 查看了一下此板卡WS-X6548-GE-TX的结构图,表示每连续8个GE端口共享1G,而且此8GE端口共享16KB的RX BUFFER和1M的TX/RX BUFFER。所以从结构上来看,应该没有达到性能瓶颈的。 补充: 本周通过与cisco case中心交涉,提交几个show命令显示结果给case中心,然后在case中心的协助下:完成以下2种测试: 1,disable head of line blocking which will utilize the interface buffers instead of the shared buffers. This will result in only the single over utilized port having drops。查看了一下cisco网站,意思就是说启用head of line blocking使得此8个一组端口的每个端口都启用自己的32kb buffer,而不使用共享的1Mb buffer,这样就能看出到底是哪个端口overrun比较多。详见 [url]http://www.cisco.com/en/US/products/hw/switches/ps700/products_tech_note09186a00801751d7.shtml[/url] 配置命令如下: 6500(config)#service internal //此命令表示可以启用内部命令,注意内部命令TAB或者?都无效,直接敲入就是了。 6500(config)#interface gigabit 1/1 6500(config-if)#hol-blocking disable %HOL Blocking is Disabled on: Gi1/1 Gi1/2 Gi1/3 Gi1/4 Gi1/5 Gi1/6 Gi1/7 Gi1/8 这样可以找出来到底是哪一个端口过多overrun,然后将此端口挪到另外一组去。 2,try to config "hold queue 4096 in" to raise the hold queue. please refer to : [url]http://www.cisco.com/en/US/docs/ios/12_3/interface/command/reference/int_d1g.html#wp1142192[/url] 在软件队列处理上通过“hold queue 4096 in”将端口的hold queue调高,看看是否有效果。实际上没有多大效果,依然有很大的丢包。 综合以上测试,case中心给出答复如下: 丢包现象为WS-X6548-GE-TX板卡性能瓶颈所致,即WS-X6548-GE-TX的端口buffer太小,请换成6148A或者6748板卡。下面比较一下此三个板卡的硬件架构: 1),X6548-GE:每8个端口(1-8,9-16,17-24...)共享16KB RX buffer和1MB的RX/TX buffer,并且每8个端口共享1GE带宽,此板卡为fabric-enabled,可以与引擎通过一个8GE的CrossBar或者32GE的系统共享Bus相连; 2),X6148A-GE:每8个端口共享160KB RX buffer,每一个端口独享5.2MB的TX buffer,并且每8个端口共享1GE带宽,但是此板卡为nonfabric-enabled,只能通过32GE的系统共享Bus相连; 3),X6748-GE:每个端口独享166KB的RX buffer和1.164MB的TX buffer,并且此板卡为fabric-enabled,可以与引擎通过每24个端口(1-24,25-48)共享20GE的CrossBar相连或者48GE端口共享32GE的系统共享Bus相连。 本文转自 chris_lee 51CTO博客,原文链接:http://blog.51cto.com/ipneter/92240,如需转载请自行联系原作者

资源下载

更多资源
Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册