Closed Bug 1364177 Opened 9 years ago Closed 9 years ago

dxr.mozilla.org unavailable

Categories

(Webtools Graveyard :: DXR, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: sal, Assigned: dhouse)

References

Details

this went down for a few minutes. 11:42:21 <~fubar> sal: mm, file a bug. something got wedged on an ES node and we should alert on that if possible 11:33:31 <@nagios-scl3> Thu 18:33:29 UTC [5016] [unset] dxr.mozilla.org:HTTP is CRITICAL: HTTP CRITICAL: HTTP/1.1 500 Internal Server Error - 651 bytes in 0.017 second response time (http://m.mozilla.org/HTTP)
See Also: → 1360368
so this happened again today.. 15:14:37 <@nagios-scl3> Wed 22:14:36 UTC [5036] [unset] dxr.mozilla.org:HTTP is CRITICAL: CRITICAL - Socket timeout (http://m.mozilla.org/HTTP)
client requests to node75 were not responded to fast enough (timeout). We had 161 unassigned shards, with some showing up as red on the head view. I stopped the new indexing jobs and the cluster recovered; it is now in "yellow" state and responding in normal time to search queries. So I don't know the true cause or fix, but we were able to recover. Searches on the issue and exceptions suggest memory/heap. Once the cluster is green (all shards assigned), I'll start indexing jobs again.
tracing back in the logs: web: [Wed Jul 05 23:08:35 2017] [error] ReadTimeoutError: HTTPConnectionPool(host='node75.bunker.scl3.mozilla.com', port=9200): Read timed out. (read timeout=60) node75: [2017-07-05 23:51:59,528][WARN ][search.action ] [node75_scl3] Failed to send release search context org.elasticsearch.transport.SendRequestTransportException: [node70_scl3][inet[/10.22.78.22:9300]][indices:data/read/search[free_context]] at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:213) at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:183) at org.elasticsearch.search.action.SearchServiceTransportAction.sendFreeContext(SearchServiceTransportAction.java:143) at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.releaseIrrelevantSearchContexts(TransportSearchTypeAction.java:341) at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction$2.run(TransportSearchQueryThenFetchAction.java:158) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:748) Caused by: org.elasticsearch.transport.NodeNotConnectedException: [node70_scl3][inet[/10.22.78.22:9300]] Node not connected at org.elasticsearch.transport.netty.NettyTransport.nodeChannel(NettyTransport.java:946) at org.elasticsearch.transport.netty.NettyTransport.sendRequest(NettyTransport.java:640) at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:199) ... 7 more node70: [2017-07-05 23:53:15,001][TRACE][transport.netty ] [node70_scl3] close connection exception caught on transport layer [[id: 0x24ec2cce, /10.22.78.26:33648 :> /10.22.78.22:9300]], disconnecting from relevant node java.nio.channels.ClosedChannelException at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:433) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:128) at org.elasticsearch.common.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99) at org.elasticsearch.common.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:574) at org.elasticsearch.common.netty.channel.Channels.write(Channels.java:704) at org.elasticsearch.common.netty.channel.Channels.write(Channels.java:671) at org.elasticsearch.common.netty.channel.AbstractChannel.write(AbstractChannel.java:248) at org.elasticsearch.transport.netty.NettyTransportChannel.sendResponse(NettyTransportChannel.java:133) at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:280) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:748)
I want to check if we have logs of memory usage. So far, I can check the max heap on all the nodes (the ones with 20-40+ are the search clients): [dhouse@node75.bunker.scl3 ~]$ curl -s -XGET 'http://node77.bunker.scl3.mozilla.com:9200/_cat/nodes?v&h=master,host,ip,jdk,heap.max,heap' master host ip jdk heap.max m node73.bunker.scl3.mozilla.com 10.22.78.25 1.7.0_141 7.2gb - node79.bunker.scl3.mozilla.com 10.22.78.31 1.7.0_141 20.5gb m master1.bunker.scl3.mozilla.com 10.22.78.201 1.7.0_141 1.9gb - node80.bunker.scl3.mozilla.com 10.22.78.32 1.7.0_141 20.5gb - node65.bunker.scl3.mozilla.com 10.22.78.17 1.7.0_141 7.2gb - node66.bunker.scl3.mozilla.com 10.22.78.18 1.7.0_141 7.2gb - node64.bunker.scl3.mozilla.com 10.22.78.16 1.7.0_141 7.2gb - node71.bunker.scl3.mozilla.com 10.22.78.23 1.7.0_141 7.2gb - node77.bunker.scl3.mozilla.com 10.22.78.29 1.7.0_141 41.2gb - node68.bunker.scl3.mozilla.com 10.22.78.20 1.7.0_141 7.2gb - node75.bunker.scl3.mozilla.com 10.22.78.27 1.7.0_141 41.1gb - node72.bunker.scl3.mozilla.com 10.22.78.24 1.7.0_141 7.2gb - node69.bunker.scl3.mozilla.com 10.22.78.21 1.7.0_141 7.2gb - node67.bunker.scl3.mozilla.com 10.22.78.19 1.7.0_141 7.2gb - node76.bunker.scl3.mozilla.com 10.22.78.28 1.7.0_141 41.1gb - node74.bunker.scl3.mozilla.com 10.22.78.26 1.7.0_141 38.5gb - node70.bunker.scl3.mozilla.com 10.22.78.22 1.7.0_141 7.2gb * master2.bunker.scl3.mozilla.com 10.22.78.202 1.7.0_141 1.9gb - node78.bunker.scl3.mozilla.com 10.22.78.30 1.7.0_141 20.5gb
Assignee: nobody → dhouse
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.