Jiri Kosina: How to cope with 'creative' userspace

July 15, 2016

Related Material::

  1. systemd system.conf setting DefaultTaskMax

Additional Participants: Vlastimil Babka

People tagged: (none)

Jiri noted that some software tells the PIDs controller to limit the number of PIDs to a very small number, resulting in poor user experience. Jiri suggested documenting expected ranges of settings or emitting a warning when it appears that userspace is trying to “shoot itself in a foot”.

Vlastimil Babka noted massive bikeshedding potential, especially given that it can be very difficult for the kernel to know what “incorrect” means across the wide range of Linux workloads. Vlastimil also suggested that if the kernel takes some unusual action in response to an unusual setting, that it give the user some hint as to what the constraint might be.