-
Notifications
You must be signed in to change notification settings - Fork 162
Description
Hi,
I have a huge problem with RAM usage with acd_cli.
I have an ACD account with couple thousands of 2-3GB files that toogether consumes couple of terabytes of storage.
I'm connecting with this account using acd_cli's FUSE option using this command:
/usr/local/bin/acdcli -nl mount /mnt/acd
Than, one of my scripts is constantly accessing and reading these files (it isn't downloading whole files all the time, it's only accessing certain parts of them) in a loop.
The problem I am experiencing is exccessive acd_cli's memory usage. Memory usage is constantly growing, and in the end (when it consumes nearly whole RAM and swap on the system) it's crasing acd_cli, so i'm not able to access directory mounted by acd_cli.
When I'm trying to force unmount the drive, and mount it again, acd_cli is freeing some of the memory, so the whole script is able work again, but this solution is fine for me, because all other processes on the system are suffering from the high RAM usage.
Do you have any clues what could be causing these issues? How can I profile acd_cli's memory usage when using FUSE?
I'm running acd_cli on
- Ubuntu 16.04 LTS
- Python 3.5.2
- acd_cli 0.3.2 (api 0.9.2)
- 2GB of RAM and 3 GB of swap