Skip to main content

Error: fts_solr: Lookup failed: 500 Server Error

Comments

6 comments

  • KaieR

    I have the same issue. 
    OS: Rocky Linux v9.6.0
    cPanel Version: 128.0.15

     

    0
  • cPRex Jurassic Moderator

    Although the error in the guide is for the service not starting, have you tried the workaround here?

    https://support.cpanel.net/hc/en-us/articles/33191856881047-Recent-update-including-tzdata-java-causes-cPanel-SOLR-to-not-start

    0
  • FredQ

    Many thanks for your response. Searching the issue before my original post, I saw the page with the solr restart issues and I confirm that cpanel-dovecot-solr is definitely up and restarts OK. Given that Alma Linux v8.10.0 is newer than CentOS 7, I confirm that I did not downgrade tzdata-java. I also checked /etc/sysconfig/cpanel-dovecot-solr the code was already set to use jre-11: SOLR_JAVA_HOME="/usr/lib/jvm/jre-11".

    CSF is running on the server and it sends *a lot* of emails, so I missed this initially. But looking at these as part of this issue, for the last 8 days they have included excessive resource usage for the cpanelsolr account with Executable: /usr/lib/jvm/java-11-openjdk-11.0.25.0.9-2.el8.x86_64/bin/java. These appear to have started with a single:
    Account:      cpanelsolr
    Resource:   RSS Memory Size
    Exceeded:     406 > 256 (MB)
    Executable:   /usr/lib/jvm/java-11-openjdk-11.0.25.0.9-2.el8.x86_64/bin/java
    and then emails every hour starting with:
    Account:      cpanelsolr
    Resource:     Process Time
    Exceeded:     3624 > 1800 (seconds)
    Executable:   /usr/lib/jvm/java-11-openjdk-11.0.25.0.9-2.el8.x86_64/bin/java
    until the most recent:
    Account:      cpanelsolr
    Resource:     Process Time
    Exceeded:     712825 > 1800 (seconds)
    Executable:   /usr/lib/jvm/java-11-openjdk-11.0.25.0.9-2.el8.x86_64/bin/java

    Searching this issue I also found reports of 'out of memory' issues for solr. Earlier today, I therefore increased the SOLR_MEMORY to 750m in /etc/sysconfig/cpanel-dovecot-solr before the most recent restart. I wasn't sure if this would help because it was set to 512m and the CSF report relates to RSS Memory Size which appears to be set to 256Mb.

    Having updated the memory to 750m and restarted solr, I confirm that the dovecot maillog is still reporting 'Error: fts_solr: Lookup failed: 500 Server Error' across multiple accounts and the CSF resource limit emails are still arriving every hour.

    Please advise.

    0
  • cPRex Jurassic Moderator

    FredQ - at this point it would be best to create a ticket since this doesn't sound like one of the recent known issues with Solr.

    0
  • FredQ

    Many thanks KaieR, the recommended workaround on the cPanel page you found has stopped the errors in the logs. The excessive resource usage emails from CSF lfd continue.

    However, since you made the update, have you had any issues with resolv.conf?
    I.e.
    exim -bt user@domain.com, returning
    user@domain.tld cannot be resolved at this time: host lookup did not complete

    0

Please sign in to leave a comment.