-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Server Error: Failed to send UID SEARCH command" when searching large mailboxes #1715
Comments
Two different timouts need to be set: - imap_timeout in roundcube configuration - fastcgi_read_timeout in nginx as rouncube imap sessions are going through HTTPS Closes mail-in-a-box#1715.
Two different timeouts needs to be set: - imap_timeout in roundcube - fastcgi_read_timeout in nginx as rouncube imap sessions are going through HTTPS Closes mail-in-a-box#1715.
I run my own solr FTS backend from which I do search with dovecot. I modified php.ini's timeout and not nginx's config. master...jvolkenant:solr-jetty The forum post above mentions the php.ini change but not one for nginx. Are both needed, or one or the other? |
I am also seeing this. Maybe time to implement FTS by default? Pattern in mail.log is (with dovecot debug enabled)
With the following in the kernel logs:
FYI the title's error msg is from within Roundcube, (so what most users will see) but this is not were the problem resides, as it's internal to dovecot. Only really seeing this after v0.48, but maybe I increased by mail count enough since the upgrade.. Any temporary fixes? |
Note, In a hail-mary effort I just rebased @jvolkenant 's https://github.com/jvolkenant/mailinabox/tree/solr-jetty with v0.48 and all is well and searching now works for me after re-applying the install (start.sh). Thanks! Hopefully this is another +1 for returning a feature we lost with Bionic. |
Just wondering if anyone has looked at creating a PR to add Solr to MiaB? I have one mailbox that the search is getting a little slow for devices that don't store locally IMAP (Thunderbird seems to store IMAP locally, but Android.... no). I suspect that as time goes on, this will be come an issue for more MiaB users. Have to admit that I've never configured it before, so I don't know the requirements or other potential issues. |
You can use solr from my tree here https://github.com/jvolkenant/mailinabox/tree/solr-jetty , but it's not supported. Solr (really jetty) is a resource hog, but it works on my 1GB memory VM (with not much to spare) |
Just out of curiosity, have you experimented with changing files format |
I have not. I try to keep it as stock as possible since I use my MIAB box for testing patches I submit here. |
See this forum post for an occurrence of this issue.
I'm experiencing the same issue while trying to find e-mail in a 6.2 GB folder (yeah... I know!).
Here's what
dovecot
logs in this case:And
roundcube
displays a popup with the following message:A 15 seconds timeout looks a bit small, so I'll propose to raise it to something like 5 minutes. I don't see any obvious drawbacks in doing it by default.
The text was updated successfully, but these errors were encountered: