-
Does solr work with sogo without any changes? Does it take a while to build an index ?
I have a big mailbox and searching with solr enable and via sogo is very slow.
Is there a way to view the indexing progress? I found a reference to /solr/admin/cores?action=REPORT&wt=xml
But I have no idea of the rest of the URL might be on cloudron (or if its workable). -
@AartJansen yes, it should work with no changes. I am not sure why it's slow though. SOLR is quite the memory and CPU hog. Do you have enough server resources to run SOLR? How large is your index? You will find the index files in
/home/yellowtent/boxdata/mail/solr/dovecot
. -
Index here is 20480kb... is that the set limit ?, or just coincidentally exactly 20mb.
On clients server enabling solr, just goes back to disabled, so the dovecot folder doesn't exist. I had set the mail memory to 16Gb, so much more than 3Gb required. I guess thats why their search is slow.
Is there a log to see why it wont stay enabled?
-
Index here is 20480kb... is that the set limit ?, or just coincidentally exactly 20mb.
On clients server enabling solr, just goes back to disabled, so the dovecot folder doesn't exist. I had set the mail memory to 16Gb, so much more than 3Gb required. I guess thats why their search is slow.
Is there a log to see why it wont stay enabled?
@AartJansen Can you SSH into the server and try this
docker exec -it mail /bin/bash supervisorctl status solr
If solr is not running, can you check contents of
/sys/fs/cgroup/memory.max
or/sys/fs/cgroup/memory/memory.limit_in_bytes
(inside the mail container) ? -
Index here is 20480kb... is that the set limit ?, or just coincidentally exactly 20mb.
On clients server enabling solr, just goes back to disabled, so the dovecot folder doesn't exist. I had set the mail memory to 16Gb, so much more than 3Gb required. I guess thats why their search is slow.
Is there a log to see why it wont stay enabled?
-
@AartJansen Can you SSH into the server and try this
docker exec -it mail /bin/bash supervisorctl status solr
If solr is not running, can you check contents of
/sys/fs/cgroup/memory.max
or/sys/fs/cgroup/memory/memory.limit_in_bytes
(inside the mail container) ?@girish Running those commands : solr STOPPED Not started
memory.max 13743685632theres no memory.limit_in_bytes
-
@AartJansen the memory limit looks OK . If the memory limit is less than 1073741824 (1GB), it will refuse to start solr. The only reason why solr might otherwise not be running is that it is disabled. Or there was an issue that the change was not applied properly. Can you try disabling solr and reenabling it in the UI?
Otherwise, if that still doesn't work, please write to support@cloudron.io and we can investigate.
-
G girish moved this topic from Discuss on
-
G girish marked this topic as a question on
-
Yeah I've click enable a few times, and when the page refreshs it goes back to disabled. I checked the memory usage screen again this morning mail was using 99% of its 16GB, so I pushed it up to 20Gb. Seems a lot, for 10 mailboxes.
I'll send an email. -
This was a regression in Cloudron 7.7. Thanks for reporting @AartJansen
Fixed in https://git.cloudron.io/cloudron/box/-/commit/1afa2e87ec93881ebcd1f79d83d4477467b40770
-
G girish has marked this topic as solved on
This topic was forked from Solr for full text email search is great!
girish