1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ElasticSearch switch off

Discussion in 'Enhanced Search Support' started by giorgino, Apr 20, 2013.

  1. giorgino

    giorgino Well-Known Member

    I installed and run ElasticSearch following the Slavik direction. All working fine, but ES switch off every few hours.

    How troubleshoot this?

    Code:
    XenForo_Exception: Elasticsearch server returned no response. Is it running? - library/XenES/Search/SourceHandler/ElasticSearch.php:718
    Generato Da: Account Sconosciuto, 9 minuti fa
    Code:
    #0 /store1/www/it.immobilio.www/doc_root/library/XenES/Search/SourceHandler/ElasticSearch.php(405): XenES_Search_SourceHandler_ElasticSearch->_logSearchResponseError(false, true)
    #1 /store1/www/it.immobilio.www/doc_root/library/XenForo/ControllerPublic/Member.php(533): XenES_Search_SourceHandler_ElasticSearch->executeSearchByUserId(5598, 0, 15)
    #2 /store1/www/it.immobilio.www/doc_root/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Member->actionRecentContent()
    #3 /store1/www/it.immobilio.www/doc_root/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #4 /store1/www/it.immobilio.www/doc_root/index.php(13): XenForo_FrontController->run()
    #5 {main}
    Code:
    array(3) {
      ["url"] => string(59) "http://www.immobilio.it/members/ada-gay.5598/recent-content"
      ["_GET"] => array(1) {
        ["/members/ada-gay_5598/recent-content"] => string(0) ""
      }
      ["_POST"] => array(0) {
      }
    }
     
  2. giorgino

    giorgino Well-Known Member

    For turn on ES again I have to login via SSH and restart ES with restart shell command.
    After few minutes, the same error. I'm really frustrated.
     
  3. Mike

    Mike XenForo Developer Staff Member

    Anything in your ES logs?
     
  4. giorgino

    giorgino Well-Known Member

    uhmm... a rid of this Mike

    Code:
    [2013-04-20 17:34:16,954][WARN ][netty.channel.socket.nio.NioServerSocketPipelineSink] Failed to initialize an accepted socket.
    org.elasticsearch.common.netty.channel.ChannelException: Failed to create a selector.
        at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.register(NioWorker.java:105)
        at org.elasticsearch.common.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.registerAcceptedChannel(NioServerSocketPipelineSink.java:279)
        at org.elasticsearch.common.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(NioServerSocketPipelineSink.java:246)
        at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
        at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:44)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: Too many open files
        at sun.nio.ch.IOUtil.makePipe(Native Method)
        at sun.nio.ch.EPollSelectorImpl.<init>(Unknown Source)
        at sun.nio.ch.EPollSelectorProvider.openSelector(Unknown Source)
        at java.nio.channels.Selector.open(Unknown Source)
        at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.register(NioWorker.java:103)
        ... 7 more
     
  5. Mike

    Mike XenForo Developer Staff Member

    giorgino likes this.
  6. giorgino

    giorgino Well-Known Member

Share This Page