Package: procps Version: 3.2.7-11 When using ps or top on a vps debian server pids > 65535 do not display.
Recompiling procps with -D_FILE_OFFSET_BITS=64 solved this issue on that particular machine. The errors source is a readdir() call in readproc.c:simple_readproc(). I thought it might just be a quirk of the machine, but since the ls application could correctly readdir() and find these pids i thought the ps command should be able to as well. -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.18-164.2.1.el5.028stab066.10 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages procps depends on: ii initscripts 2.86.ds1-61 Scripts for initializing and shutt ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii libncurses5 5.7+20081213-1 shared libraries for terminal hand ii libncursesw5 5.7+20081213-1 shared libraries for terminal hand ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip Versions of packages procps recommends: ii psmisc 22.6-1 Utilities that use the proc filesy procps suggests no packages. -- no debconf information