Tuesday, May 01, 2007

Linux pids wrapping

I have this old "ps waux" textdump:


Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386 GNU/Linux
23:29:59 up 9:35, 22 users, load average: 3.47, 1.13, 0.44
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
[...]
clarence 32522 0.0 0.7 4516 1616 pts/18 Ss 22:33 0:00 /bin/bash
clarence 32544 0.0 1.3 9100 2992 pts/18 T 22:34 0:01 vim test2.cc
clarence 729 0.9 6.0 36360 13516 ? S 23:27 0:01 konsole [kdeinit]
clarence 730 0.0 0.6 4516 1508 pts/19 Ss 23:27 0:00 /bin/bash


I still cannot figure out how I managed to do that. As far as I can see, I was only using OpenOffice.org Writer, viewing webpages and had compiled KDE4 earlier in the day. The machine had not even been up for 10hrs.

1 comment:

Anonymous said...

Compiling kde takes a lot of processes, so it's quite normal the pids wrap after only 10 hours of uptime. On busy mailservers the wrap can occur within a matter of hours.