Re: Troubleshooting solr errors

2017-05-01 Thread Shawn Heisey
On 4/25/2017 12:05 PM, Daniel Miller wrote: > The problem isn't a particular email message - I get a cascade of > those errors (every time a new message is received) once the server > "breaks". The fix is to restart the server. I did find a Java heap > error in the log - so I've increased the mem

Re: Troubleshooting solr errors

2017-04-25 Thread Erick Erickson
Solr likes memory. A lot. Even 2G is quite small by recent installations I have seen. There is an "oom killer script" that can be specified to kill Solr if it gets an OOM, at least then you have something to warn you. After an OOM, Java is in an indeterminate state so all bets are off. Best, Eri

Re: Troubleshooting solr errors

2017-04-25 Thread Daniel Miller
The problem isn't a particular email message - I get a cascade of those errors (every time a new message is received) once the server "breaks". The fix is to restart the server. I did find a Java heap error in the log - so I've increased the memory allocation (now to -Xms512m -Xmx2048m). I h

Re: Troubleshooting solr errors

2017-04-24 Thread Rick Leir
Daniel, Would it be too much trouble to get some text out of that particular email message, and try it in the Solr Admin Analysis tool? By the way, I also have my email in Dovecot. Would you be able to describe how you index it and how you query to find an email? Perhaps with scripts in a gith

Troubleshooting solr errors

2017-04-24 Thread Daniel Miller
I'm running Solr 6.4.2 to index my mail server (Dovecot). Searching is great - but periodically I have Solr errors. Previously, when an error would occur Solr would terminate. I now have it running as a systemd service so it would auto-restart - but it seems like that doesn't solve it. Some o