Your message dated Sat, 27 Mar 2010 08:44:08 +1100
with message-id <[email protected]>
and subject line Re: Bug#575369: proc library doesnt detect _FILE_OFFSET_BITS, 
results in partial process list
has caused the Debian Bug report #575369,
regarding proc library doesnt detect _FILE_OFFSET_BITS, results in partial 
process list
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
575369: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575369
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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


      

--- End Message ---
--- Begin Message ---
On Thu, Mar 25, 2010 at 02:30:34AM -0700, Erik Bernhardson wrote:
>    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.
This is not used by default because on a stock Debian computer you don't
have pids that go above 32768.  The problem is that not only do you need
to set this macro, which is pretty simple, but you need to re-arrange
all the real-estate of programs, to take into account the larger string
length of the pid values.  Of course for pids up to 99999 we're fine,
but above that you need to move things around.

Bug #469600 was a duplicate of this bug, or close enough to it. You can
see some of the discussion at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469600
which had the same suggested (simple) fix, with the same problems too.

For the same reasons listed in that bug report, I'm closing this one.

 - Craig

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 


--- End Message ---

Reply via email to