this post was submitted on 02 Mar 2024
397 points (96.3% liked)

Programmer Humor

32479 readers
614 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 8 months ago (2 children)

This is fake the pid of the younger guy is smaller than that of grandpa

[–] [email protected] 6 points 8 months ago (1 children)

Their age is measured in CPU time

[–] [email protected] 1 points 8 months ago

and their niceness increases with age

[–] [email protected] 2 points 8 months ago* (last edited 8 months ago)

Could be an instance of BSD where (so I hear) PIDs are assigned randomly from the unused numbers, or else the system has massive process churn going on elsewhere and the old timer is from a previous cycle of consecutive PIDs.

Some systems still have /proc/sys/kernel/pid_max set to something around 32768, so wrapping back to 0 can happen fairly often.

Given all the PIDs in the comic seem pretty low, it might even be as low as 1024 wherever this is.

(Yes, I know I'm taking this way too seriously.)