Package: memstat
Version: 0.8
Severity: important

I am looking at memstat, but it fails directly:
# memstat
strtol: No such file or directory

Looking at the output of strace it appears that this happens when a
vanished process is involved:

munmap(0x7fef3c74c000, 4096)            = 0
open("/proc/32377/maps", O_RDONLY)      = -1 ENOENT (No such file or directory)
dup(2)                                  = 4
fcntl(4, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(4, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 10), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fef3c74c000
lseek(4, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(4, "strtol: No such file or director"..., 34strtol: No such file or 
directory
) = 34
close(4)                                = 0
munmap(0x7fef3c74c000, 4096)            = 0
exit_group(1)                           = ?

I have tried it several times, but it looks like it's impossible on this
(busy) machine to get through this without any process disappearing.


-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5+blueyed.1-openvz-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages memstat depends on:
ii  libc6                         2.11.2-9   Embedded GNU C Library: Shared lib

memstat recommends no packages.

memstat suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to