Hello

Slávek Banko píše v So 03. 11. 2018 v 13:56 +0100:
[...]
> File "/var/lib/weblate/local/lib/python2.7/site-
> packages/whoosh/filedb/compound.py", 
> line 278, in _readback
>     temp.close()
>   
> File "/var/lib/weblate/local/lib/python2.7/site-
> packages/whoosh/filedb/structfile.py", 
> line 123, in close
>     raise Exception("This file is already closed")
> Exception: This file is already closed

This should be now addressed by following commit:

https://github.com/WeblateOrg/weblate/commit/2748696bc69b9930b622912399efb4fb6a768a84

> By the way, I had to set "--concurrency=1", because the individual
> worker 
> will quickly load 790 MiB RAM after the startup and the memory 
> consumption then rises steadily. Now I was restarting the celery when
> the 
> consumption was over 1600 MiB RAM. Is this normal behavior?

The workers on Hosted Weblate service consume around 150 MiB RAM, so
that is probably not expected. How big is your fulltext index?

Anyway there seem to be some memory leaks in Whoosh, at least there is
known issue with deleted documents:

https://bitbucket.org/mchaput/whoosh/issues/492/unnecessary-and-leaked-memory-usage-of

-- 
        Michal Čihař | https://cihar.com/ | https://weblate.org/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Weblate mailing list
[email protected]
https://lists.cihar.com/cgi-bin/mailman/listinfo/weblate

Reply via email to