-
Notifications
You must be signed in to change notification settings - Fork 101
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
omero.LockTimeout exception on "omero admin email" #6394
Comments
Forgot to mention,we're currently having about 800 active (=enabled) user accounts on this instance... |
@ehrenfeu I'm afraid I don't know the answer to your specific questions, but in general we find it preferable to use the webclient admin tool to send e-mails to users as this doesn't suffer these timeout issues. Looking at the code at https://github.com/ome/omero-py/blob/8d8108de02104c654741d65f0ecbbf11c85e329d/src/omero/plugins/admin.py#L1599 it looks like you can use a
|
Petr tells me he's used the webclient to e-mail 3000 users at a time and guesses that 800 users would take 40 minutes. |
Thanks a lot @will-moore, that's already super helpful. 🚀 We prefer using the CLI for sending emails, as this allows us to store the emails in a local folder on the server and re-use them later on (e.g. to announce maintenance windows, storage downtimes, ...) without having to go for lengthy excursions into one or the other email client's search nightmare. I'll have a look into the Unfortunately it's nothing I can easily test under real conditions, as it would mean bothering about 800 people each time 😦 Cheers, |
We are having the email texts in g.docs. There must be anyway a fresh editing step prior to each sending (?). I do not suggest that our OMERO.web UI workflow is the best, but possibly the best under the circumstances. The UI workflow in our hands never crashed in the middle of sending emails. Afaik, there is no way to ascertain to which users the email was already sent to. The 40 minutes wait is a pretty safe estimate for 800 users. |
By g.docs you're referring to Google docs? Or to some database table? |
Google docs indeed, sorry for the shorthand. |
Hi all,
while sending emails to users using the
omero admin email
command is working fine in general for us, we seem to be having just too many users on our main OMERO instance.When running e.g.
the process is taking "a bit" longer and at some point (25s) crashes with an
omero.LockTimeout
exception like this:Unfortunately I failed in finding where to configure this timeout.
➡️ Is there a log / database entries that would tell me who received the email?
All OMERO components are on their latest version, running on Ubuntu 22.04.
Cheers,
Niko
The text was updated successfully, but these errors were encountered: