Feature idea summary
python.d.plugin imports a lot of packages (yaml, urllib3 + additional packages if they are present on the system - pymongo, pymysql, etc.) during auto-detection process and they live in memory even if they aren't needed later (module is not running).
For example, python.d.plugin consumes 21.1 MiB on my system (Manjaro) with only example module running.
Since it is almost impossible to remove imported packages from memory, the idea is to have a separate process that will:
- load configs (yaml package)
- load module and perform job check (job specific packages)
- report to main process which modules should be loaded (with at least on successful job)
Expected behavior
python.d.plugin use less memory
Feature idea summary
python.d.pluginimports a lot of packages (yaml, urllib3 + additional packages if they are present on the system - pymongo, pymysql, etc.) during auto-detection process and they live in memory even if they aren't needed later (module is not running).For example,
python.d.pluginconsumes 21.1 MiB on my system (Manjaro) with onlyexamplemodule running.Since it is almost impossible to remove imported packages from memory, the idea is to have a separate process that will:
Expected behavior
python.d.pluginuse less memory