-
-
Notifications
You must be signed in to change notification settings - Fork 958
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
Automatic translation using Weblate Translation Memory is very slow #4992
Comments
Is search on translation memory (while translating) slow for you as well? It can be caused by sub-optimal PostgreSQL configuration. You might want to start with https://pgtune.leopard.in.ua/ to get a reasonable configuration for your environment. |
|
The configuration applies after restart, but I assume you did that. Another thing which might help is trying to vacuum the |
A few hours have passed and it is much faster. The translation should now be completed in approximately 12 hours. Is weblate has built-in automatic periodic vacuuming base? |
You might want to tweak autovacuum configuration inside postgresql. In most cases the default configuration works well. |
@ilocit Maybe you could try suggestion in #4992 (comment) as well, your case had similar problems as described here. |
Thanks for the tipp @nijel. I will try this too. |
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you! |
After all the advice and update to weblate 4.4 the speed is a bit better. |
The issue you have reported is resolved now. If you don’t feel it’s right, please follow it’s labels to get a clue and take further steps.
|
Describe the bug
Automatic translation using Weblate Translation Memory is very slow. Component has 107,374 strings and 379,094 words. The imported memory has 120,000 strings. Translation using Weblate Translation Memory reached less than 30% after 48 hours.
To Reproduce the bug
Description should look similar to this:
Steps to reproduce the behavior:
Expected behavior
I expected faster speed.
Server configuration and status
Weblate installation: Docker
Weblate deploy checks
System check identified some issues:
INFOS:
?: (weblate.I021) Error collection is not set up, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-4.3.2/admin/install.html#collecting-errors
?: (weblate.I028) Backups are not configured, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-4.3.2/admin/backup.html
System check identified 2 issues (1 silenced).
Exception traceback
weblate_1 | uwsgi stderr | [pid: 688|app: 0|req: 315/4214] 172.21.0.2 () {58 vars in 1060 bytes} [Mon Dec 7 18:46:13 2020] GET /js/task/fe15c95d-5103-45fc-87e0-fa2f90f4142d/ => generated 66 bytes in 89 msecs (HTTP/1.0 200) 9 headers in 622 bytes (2 switches on core 0)
weblate_1 | nginx stdout | 172.21.0.2 - - [07/Dec/2020:18:46:13 +0100] "GET /js/task/fe15c95d-5103-45fc-87e0-fa2f90f4142d/ HTTP/1.0" 200 66 "https://weblate.xxxxxxxx.eu/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
weblate_1 | uwsgi stderr | [pid: 688|app: 0|req: 316/4215] 172.21.0.2 () {58 vars in 1060 bytes} [Mon Dec 7 18:46:14 2020] GET /js/task/fe15c95d-5103-45fc-87e0-fa2f90f4142d/ => generated 66 bytes in 62 msecs (HTTP/1.0 200) 9 headers in 622 bytes (2 switches on core 0)
weblate_1 | nginx stdout | 172.21.0.2 - - [07/Dec/2020:18:46:14 +0100] "GET /js/task/fe15c95d-5103-45fc-87e0-fa2f90f4142d/ HTTP/1.0" 200 66 "https://weblate.xxxxxxxx.eu/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
Additional context
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 46 bits physical, 48 bits virtual
CPU(s): 24
On-line CPU(s) list: 0-23
Thread(s) per core: 1
Core(s) per socket: 12
Socket(s): 2
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 62
Model name: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
Stepping: 4
CPU MHz: 2593.774
BogoMIPS: 5187.54
Hypervisor vendor: Xen
Virtualization type: full
L1d cache: 768 KiB
L1i cache: 768 KiB
L2 cache: 6 MiB
L3 cache: 480 MiB
NUMA node0 CPU(s): 0-23
The text was updated successfully, but these errors were encountered: