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

error reading control group stats #369

Open
tengzhuofei opened this issue Sep 10, 2020 · 2 comments
Open

error reading control group stats #369

tengzhuofei opened this issue Sep 10, 2020 · 2 comments

Comments

@tengzhuofei
Copy link

version 6.8.4.10
cpu 8c memory 26Gi

This error is occasionally triggered during a large number of index creation

2020-09-10 02:52:54,420 DEBUG [elasticsearch[10.42.4.18][management][T#1]] org.elasticsearch.monitor.os.OsProbe.getCgroup(OsProbe.java:540) error reading control group stats
java.nio.file.NoSuchFileException: /sys/fs/cgroup/cpuacct/kubepods/burstable/pod2ef59b42-3959-438b-9998-484b472d3940/8d123c9540d8f5e2bace99a880f57bf1513b01a148a4932160e1e403dc399b34/cpuacct.usage
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:361)
at java.nio.file.Files.newByteChannel(Files.java:407)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
at java.nio.file.Files.newInputStream(Files.java:152)
at java.nio.file.Files.newBufferedReader(Files.java:2784)
at java.nio.file.Files.readAllLines(Files.java:3202)
at java.nio.file.Files.readAllLines(Files.java:3242)
at org.elasticsearch.monitor.os.OsProbe.readSingleLine(OsProbe.java:220)
at org.elasticsearch.monitor.os.OsProbe.readSysFsCgroupCpuAcctCpuAcctUsage(OsProbe.java:309)
at org.elasticsearch.monitor.os.OsProbe.getCgroupCpuAcctUsageNanos(OsProbe.java:296)
at org.elasticsearch.monitor.os.OsProbe.getCgroup(OsProbe.java:515)
at org.elasticsearch.monitor.os.OsProbe.osStats(OsProbe.java:635)
at org.elasticsearch.monitor.os.OsService$OsStatsCache.refresh(OsService.java:68)
at org.elasticsearch.monitor.os.OsService$OsStatsCache.refresh(OsService.java:61)
at org.elasticsearch.common.util.SingleObjectCache.getOrRefresh(SingleObjectCache.java:54)
at org.elasticsearch.monitor.os.OsService.stats(OsService.java:58)
at org.elasticsearch.node.NodeService.stats(NodeService.java:110)
at org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.nodeOperation(TransportNodesStatsAction.java:74)
at org.elasticsearch.action.admin.cluster.node.stats.TransportNodesStatsAction.nodeOperation(TransportNodesStatsAction.java:39)
at org.elasticsearch.action.support.nodes.TransportNodesAction.nodeOperation(TransportNodesAction.java:138)
at org.elasticsearch.action.support.nodes.TransportNodesAction$NodeTransportHandler.messageReceived(TransportNodesAction.java:259)
at org.elasticsearch.action.support.nodes.TransportNodesAction$NodeTransportHandler.messageReceived(TransportNodesAction.java:255)
at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:66)
at org.elasticsearch.transport.TcpTransport$RequestHandler.doRun(TcpTransport.java:1087)
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:751)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

@tengzhuofei
Copy link
Author

It will also trigger when there are not many indexes

@vroyer
Copy link
Collaborator

vroyer commented Sep 10, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants