Is this memory used a bit high?

Yes, it’s technically okay to have more than one RPC call.

And, stats.pl memory usage is low. CPU usage is quite high, which I generally expected to be about 0.6-0.8%; you probably took a screenshot while it was writing a file to the disk.

For anyone noticing high Webmin memory usage, what is the output of the following command on your system:

CG=$(systemctl show -p ControlGroup --value webmin); P=$({ cat /sys/fs/cgroup"$CG"/cgroup.procs; systemctl show -p MainPID --value webmin; } | sort -u); COLUMNS=10000 ps --cols 10000 -ww --no-headers -o pid=,ppid=,rss=,pmem=,pcpu=,args= --sort=-rss -p $P | awk 'function h(k){m=k/1024;g=m/1024;return g>=1?sprintf("%.2fG",g):sprintf("%.1fM",m)} BEGIN{printf "%6s %6s %9s %6s %6s  %-s\n","PID","PPID","RSS_KiB","%MEM","%CPU","CMD (RSS_human)"} {cmd=substr($0,index($0,$6)); printf "%6s %6s %9s %6s %6s  %s (%s)\n",$1,$2,$3,$4,$5,cmd,h($3)}'