[Gaudenz Steinlin] > isenkramd uses about 4GB of memory on my system: Ouch. :(
> IMO this is way to much for this small daemon. I agree. I had a problem earlier with the apt python library leaking memory, which I had to solve by forking before loading the apt database to make sure the leaked memory would be released after looking for packages. I am not aware of any other similar leak. > Don't know if this is related, but lsof shows that it opened > /usr/lib/os-release 301 times: Not sure which supporting library uses that file. isenkram is not using it directly, at least. Any idea how to get more memory usage? Just running in the background, or should one insert USB dongles a lot? My isenkram is not using that much ram, nor is holding os-release open: % ps -C isenkramd v PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND 4072 ? S 1:11 7335 3190 243449 2292 0.0 /usr/bin/python /usr/bin/isenkram % ls -l /proc/4072/fd total 0 lr-x------ 1 pere pere 64 juli 18 20:29 0 -> pipe:[24522] l-wx------ 1 pere pere 64 juli 18 20:29 1 -> /home/pere/.xsession-errors lr-x------ 1 pere pere 64 juli 18 20:29 12 -> /dev/urandom l-wx------ 1 pere pere 64 juli 18 20:29 2 -> /home/pere/.xsession-errors lrwx------ 1 pere pere 64 juli 18 20:29 3 -> socket:[30950] lrwx------ 1 pere pere 64 juli 18 20:29 4 -> socket:[29271] lrwx------ 1 pere pere 64 juli 18 20:29 5 -> anon_inode:[eventfd] lr-x------ 1 pere pere 64 juli 18 20:29 6 -> pipe:[30951] l-wx------ 1 pere pere 64 juli 18 20:29 7 -> pipe:[30951] % -- Happy hacking Petter Reinholdtsen

