This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

(Re)indexing for the new Solr8 makes LARGE logs

Before launching any re-index such as the migration to the new Solr8 index, make sure you have lots of space where ever your retain-tomcat logs are collecting.

I hit it the hard way that this indexing is taking more than a few years worth of logging space and ran HARD into those limits (Retain stopped when it got to 5GB free space left)

I started one migration after the Ed's webinar running through it Tuesday, and only up to 35% done 2 days later.  Should be finished over the weekend now that there won't be pauses due to space issues.

________________________

Andy of KonecnyConsulting.ca in Toronto
Please use the "Like" and/or "Verified Answers" as appropriate as that helps us all.

  • Verified Answer

    +1  

    I had opened a case some time ago because re-index showed a lot of errors and log directory was exploding. This is one support's (Georg) hints.

    Go to RetainServer/WEB-INF/solrweb8/WEB-INF/classes and edit 'log4j2.xml'.

    You will find these lines near to the end:

    <Loggers>
                    <Root level="debug"> 
                          <AppenderRef ref="latestSolrFileAppender" /> 
                  </Root>       
    </Loggers>

    Change debug to error!

    So your file should be similar to this one:

    Restart retain-tomcat!


    Use "Verified Answers" if your problem/issue has been solved!

  • 0   in reply to   

    ahh,  the dreaded 'debug' setting bugging us

    looks like Solr7 doesn't log quite as much as Solr8 as I had run a re-index a few years back on the same space. 

    Now that I've already made space changes, I don't really need to in this case,  but will so be saving this for any other complete indexing runs.

    This system now up to 42% as it crawls the TB of old mail.

    ________________________

    Andy of KonecnyConsulting.ca in Toronto
    Please use the "Like" and/or "Verified Answers" as appropriate as that helps us all.