Observed problem with cgroups

Hi all,
On my elasticsearch logs I see the following. First, I’ll describe my env:

  • ES 5.5.2
  • SG 5.5.2-16 (no enterprise extension)
  • uname -a ->
    Linux poc-profiles-es-02 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux

``

The error:

Oct 3 09:54:41 poc-profiles-es-01 elasticsearch[poc-profiles-es-01][management][T#3] DEBUG OsProbe - error reading control group stats java.nio.file.NoSuchFileException: /sys/fs/cgroup/cpu/cpu.cfs_period_us

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:185)

at org.elasticsearch.monitor.os.OsProbe.readSysFsCgroupCpuAcctCpuCfsPeriod(OsProbe.java:300)

at org.elasticsearch.monitor.os.OsProbe.getCgroupCpuAcctCpuCfsPeriodMicros(OsProbe.java:286)

at org.elasticsearch.monitor.os.OsProbe.getCgroup(OsProbe.java:423)

at org.elasticsearch.monitor.os.OsProbe.osStats(OsProbe.java:464)

at org.elasticsearch.monitor.os.OsService$OsStatsCache.refresh(OsService.java:64)

at org.elasticsearch.monitor.os.OsService$OsStatsCache.refresh(OsService.java:57)

at org.elasticsearch.common.util.SingleObjectCache.getOrRefresh(SingleObjectCache.java:54)

at org.elasticsearch.monitor.os.OsService.stats(OsService.java:54)

at org.elasticsearch.node.NodeService.stats(NodeService.java:106)

at org.elasticsearch.action.admin.cluster.stats.TransportClusterStatsAction.nodeOperation(TransportClusterStatsAction.java:98)

at org.elasticsearch.action.admin.cluster.stats.TransportClusterStatsAction.nodeOperation(TransportClusterStatsAction.java:53)

at org.elasticsearch.action.support.nodes.TransportNodesAction.nodeOperation(TransportNodesAction.java:140)

at org.elasticsearch.action.support.nodes.TransportNodesAction$NodeTransportHandler.messageReceived(TransportNodesAction.java:262)

at org.elasticsearch.action.support.nodes.TransportNodesAction$NodeTransportHandler.messageReceived(TransportNodesAction.java:258)

at com.floragunn.searchguard.ssl.transport.SearchGuardSSLRequestHandler.messageReceivedDecorate(SearchGuardSSLRequestHandler.java:178)

at com.floragunn.searchguard.transport.SearchGuardRequestHandler.messageReceivedDecorate(SearchGuardRequestHandler.java:192)

at com.floragunn.searchguard.ssl.transport.SearchGuardSSLRequestHandler.messageReceived(SearchGuardSSLRequestHandler.java:140)

at com.floragunn.searchguard.SearchGuardPlugin$3$1.messageReceived(SearchGuardPlugin.java:376)

at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:69)

at org.elasticsearch.transport.TcpTransport$RequestHandler.doRun(TcpTransport.java:1544)

at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:638)

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)

``

Any ideas?

Please and thank you

This is not SG related, pls ask your question here: https://discuss.elastic.co

···

Am 03.10.2017 um 12:04 schrieb mcostantini@np6.com:

Hi all,
On my elasticsearch logs I see the following. First, I'll describe my env:

- ES 5.5.2
- SG 5.5.2-16 (no enterprise extension)
- uname -a ->
Linux poc-profiles-es-02 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux

The error:

Oct 3 09:54:41 poc-profiles-es-01 elasticsearch[poc-profiles-es-01][management][T#3] DEBUG OsProbe - error reading control group stats java.nio.file.NoSuchFileException: /sys/fs/cgroup/cpu/cpu.cfs_period_us
        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:185)
        at org.elasticsearch.monitor.os.OsProbe.readSysFsCgroupCpuAcctCpuCfsPeriod(OsProbe.java:300)
        at org.elasticsearch.monitor.os.OsProbe.getCgroupCpuAcctCpuCfsPeriodMicros(OsProbe.java:286)
        at org.elasticsearch.monitor.os.OsProbe.getCgroup(OsProbe.java:423)
        at org.elasticsearch.monitor.os.OsProbe.osStats(OsProbe.java:464)
        at org.elasticsearch.monitor.os.OsService$OsStatsCache.refresh(OsService.java:64)
        at org.elasticsearch.monitor.os.OsService$OsStatsCache.refresh(OsService.java:57)
        at org.elasticsearch.common.util.SingleObjectCache.getOrRefresh(SingleObjectCache.java:54)
        at org.elasticsearch.monitor.os.OsService.stats(OsService.java:54)
        at org.elasticsearch.node.NodeService.stats(NodeService.java:106)
        at org.elasticsearch.action.admin.cluster.stats.TransportClusterStatsAction.nodeOperation(TransportClusterStatsAction.java:98)
        at org.elasticsearch.action.admin.cluster.stats.TransportClusterStatsAction.nodeOperation(TransportClusterStatsAction.java:53)
        at org.elasticsearch.action.support.nodes.TransportNodesAction.nodeOperation(TransportNodesAction.java:140)
        at org.elasticsearch.action.support.nodes.TransportNodesAction$NodeTransportHandler.messageReceived(TransportNodesAction.java:262)
        at org.elasticsearch.action.support.nodes.TransportNodesAction$NodeTransportHandler.messageReceived(TransportNodesAction.java:258)
        at com.floragunn.searchguard.ssl.transport.SearchGuardSSLRequestHandler.messageReceivedDecorate(SearchGuardSSLRequestHandler.java:178)
        at com.floragunn.searchguard.transport.SearchGuardRequestHandler.messageReceivedDecorate(SearchGuardRequestHandler.java:192)
        at com.floragunn.searchguard.ssl.transport.SearchGuardSSLRequestHandler.messageReceived(SearchGuardSSLRequestHandler.java:140)
        at com.floragunn.searchguard.SearchGuardPlugin$3$1.messageReceived(SearchGuardPlugin.java:376)
        at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:69)
        at org.elasticsearch.transport.TcpTransport$RequestHandler.doRun(TcpTransport.java:1544)
        at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:638)
        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)

Any ideas?

Please and thank you

--
You received this message because you are subscribed to the Google Groups "Search Guard Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search-guard@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/f66e0cbc-a270-4eff-9cf9-92b71e00bff4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.