Wednesday, April 26, 2023

Jane memory usage after 115 days uptime.

$ uptime
11:26:58 up 115 days, 20:14,  1 user,  load average: 0,21, 0,85, 0,75

$ ps aux --sort '%mem'
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
...
root     2719655  3.5  6.8 330456 136116 ?       Sl   11:22   0:05 python manage.py runworker linod_jane
root     2719649  5.4  7.5 199064 150212 ?       S    11:22   0:07 /usr/local/lino/lino_local/jane/env/bin/python
root     2719648  5.5  7.8 499776 154892 ?       Sl   11:22   0:08 /usr/local/lino/lino_local/jane/env/bin/python
root     2719661  5.2  7.8 351156 156072 ?       Sl   11:22   0:07 python manage.py runworker linod_welcht1
root     2719662  5.1  7.9 352700 158088 ?       Sl   11:22   0:07 python manage.py runworker linod_weleup1
root     2719652  8.7  8.5 219104 169104 ?       S    11:22   0:12 /usr/local/lino/lino_local/welcht1/env/bin/pyth
root     2719653  9.0  8.8 447240 175752 ?       Sl   11:22   0:12 /usr/local/lino/lino_local/welcht1/env/bin/pyth
root     2719654  9.0  8.9 298716 178220 ?       S    11:22   0:13 /usr/local/lino/lino_local/welcht1/env/bin/pyth
root     2719650  9.0  9.1 449840 180396 ?       Sl   11:22   0:13 /usr/local/lino/lino_local/welcht1/env/bin/pyth

$ sudo reboot now

$ ps aux --sort '%mem'
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
...
root         947  7.6  7.0 330580 138912 ?       Sl   11:28   0:04 python manage.py runworker linod_jane
root         940 12.6  8.0 351708 158636 ?       Sl   11:28   0:06 /usr/local/lino/lino_local/jane/env/bin/python
root         939 12.5  8.0 499500 159100 ?       Sl   11:28   0:06 /usr/local/lino/lino_local/jane/env/bin/python
root         948 11.5  8.0 351156 160008 ?       Sl   11:28   0:06 python manage.py runworker linod_welcht1
root         949 11.5  8.1 352692 162228 ?       Sl   11:28   0:06 python manage.py runworker linod_weleup1
root         942 20.1  8.6 219112 171032 ?       S    11:28   0:10 /usr/local/lino/lino_local/welcht1/env/bin/pyth
root         941 20.2  8.6 219112 171072 ?       S    11:28   0:10 /usr/local/lino/lino_local/welcht1/env/bin/pyth
root         943 20.5  8.7 220376 172740 ?       S    11:28   0:11 /usr/local/lino/lino_local/welcht1/env/bin/pyth
root         946 20.5  8.7 220640 173180 ?       S    11:28   0:11 /usr/local/lino/lino_local/welcht1/env/bin/pyth