Pingu
Computer MySQL PostgreSQL Books Publications
Spielereien Kanu Geopolitik Business TopoDB POI Klettersteigen History TransPool Thermal Baden Brokenstuben Goldwaschen
Blog Contact
Shinguz
Google
/ch/open

GNU/LinuxDay 2026 - Notizen

/ home / computer / .

GNU/LinuxDay in Vorarlberg - am 26. Sept. 2026 sowie Downloads und Vorträge.

Spruch an der Wand:

KuKuK - Kurz und Knackig und Kompakt

Wirtschaftskammer Vorarlberg / Österreich

OSS in der Industrie, Wirtschaftskammer Vorarlberg

Kontakt Dipl. Ing. Dr. Roland Alton von fairkom

“Und führe mich in Versuchung” Wie man LLM’s überlistet

Uli Kleemann (CISO)

  • Verbreitet Angst.

Incus und incus-compose OCI / System Container / VMs

René Jochum

  • Driver: ZFS, LVM, Btrfs, Linstor (DRBD)
  • Incus: Unified Hypervisor
  • incus-compose: docker-compose für Incus

Let’s Encrypt im Heimnetzwerk

Robert Scheck

SSL: TLS wäre richtiger!

Validation < 47 Tage ➜ Automatisierung!

Wildcard Certificate? Aber gleicher Schlüssel! :-(

Certbot mit Hooks!

Folien: hier

Eine überraschend schwierige Frage: Wie viel RAM nutzt mein System?

Richard Weinberger

Linux: 4 k Pages (min.)

$ free -m: free ist falsch!

/proc/vmstat ➜ 198 Metriken (185)

/proc/meminfo ➜ 60 Metriken (55)

User Space Memory

  • Anonymous Private ➜ Process im RAM
  • Anonymous Shared ➜ Shared Memory (SHM) im RAM
  • File batched Private ➜ Process in Memory Mapped Files (MMAP)
  • File batched Shared ➜ Shared Memory (SHM) in Memory Mapped Files (MMAP)

anonymous = RAM

Memory Account Metrics

top - table of process

RSS / RSZ ➜ im RAM, Applikations-Memory

VSZ / VSS ➜ Grösse des Addressraums

PSZ / PSS ➜ RSS + (Shared Objects * 1/n)

TRS-CODE ➜ Programm Code

SHZ / SHM ➜ Shared Memory

Memory Zones

/proc/zoneinfo ➜ Counter klein ➜ OoM

Buddy Allocator: /proc/budyinfo ➜ Fragmentierung

SLAB Allocator: /proc/slabinfo (braucht root) ➜ Welcher Prozess Speicherprobleme hat

SLAB / SLOB ➜ alt

SLIB ➜ neu

Reclaim

  • Cache: Page Cache ➜ Drop or Write back

free -m ➜ available ➜ Monitoring

PSS: cat /proc/<PID>/smaps_rollup | grep ^Pss ➜ nur User Space

Pss:                6463 kB
Pss_Dirty:          6192 kB
Pss_Anon:           6192 kB
Pss_File:            271 kB
Pss_Shmem:             0 kB

cgroup ➜ User + memory space

$ systemd-cgtop
$ systemd-cgls

/sys/fs/cgroups memory.current in bytes

cat /sys/fs/cgroup/system.slice/system-postgresql.slice/memory.current 
34983936

kann man einschalten

kein messbarer Performance overhead

Kernel leaks:

/proc/meminfo: Slab und VmallocUsed

CMAtotal + CMAused

/proc/slabinfo: num_objs x objsize

$ cat /proc/slabinfo 
slabinfo - version: 2.1
# name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>
nf_conntrack_expect      0      0    232   35    2 : tunables    0    0    0 : slabdata      0      0      0
nf_conntrack        1792   1920    256   32    2 : tunables    0    0    0 : slabdata     60     60      0
QIPCRTR                2     78    832   39    8 : tunables    0    0    0 : slabdata      2      2      0
AF_VSOCK               1     25   1280   25    8 : tunables    0    0    0 : slabdata      1      1      0
fat_inode_cache        4    287    784   41    8 : tunables    0    0    0 : slabdata      7      7      0
...

Bei wichtigen Workloads ausschalten?

sysctl vm.overcommit_memory
vm.overcommit_memory = 0

Overcommit Accounting

What you should know about Linux memory overcommit in PostgreSQL

➜ What about MariaDB???

Gutes Tool fürs Montoring: collectd

Folien: hier

Linux Kernel: Concepts overview

Ein flexibles IT-Fortbildungssystem mit Debian/GNU Linux

Andreas B. Mundt

strace – mein schweizer Taschenmesser zum analysieren, debuggen, monitoren

Harald König

$ strace echo hallo
$ strace time echo hallo
$ strace -s 99 pwd   # max string size len
$ type -a echo   # all variants of echo available
$ strace -o   # to file
$ strace -f   # follow child
$ strace -ff -o   # 1 file pro PID
$ strace -t   # timestamp
$ strace -tt   #
$ strace -r   #relative timestamps
$ strace -tttr   #
$ strace -T   #Kernel-Zeit
$ ... | sort -t -k2n   # separator key numeric
$ strace -v   # verbose
$ strace -x   # hex
$ strace -e   # filtern z.B. nach open/close

Folien: hier