iostat: Cannot open /proc/stat: Cannot allocate memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
I receive an intermittent error using iostat -k 5 : "Cannot open /proc/stat: Cannot allocate memory"
This can also be simply reproduced by entering: "cat /proc/stat", one to several (~5-10) times.
strace on the "cat /proc/stat" method:
...exclude typical run-up...
fstat(3, {st_mode=
mmap(NULL, 1607664, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd755b77000
close(3) = 0
fstat(1, {st_mode=
open("/proc/stat", O_RDONLY) = -1 ENOMEM (Cannot allocate memory)
write(2, "cat: ", 5cat: ) = 5
write(2, "/proc/stat", 10/proc/stat) = 10
open("/
fstat(3, {st_mode=
mmap(NULL, 4096, PROT_READ|
read(3, "# Locale name alias data base.\n#"..., 4096) = 2570
read(3, "", 4096) = 0
close(3) = 0
munmap(
open("/
open("/
...exclude typical throw-error via LC_MESSAGES/
/proc/meminfo detail:
# cat /proc/meminfo
MemTotal: 32947584 kB
MemFree: 302664 kB
Buffers: 154064 kB
Cached: 21284268 kB
SwapCached: 1728840 kB
Active: 12576792 kB
Inactive: 17279896 kB
Active(anon): 5097984 kB
Inactive(anon): 3320844 kB
Active(file): 7478808 kB
Inactive(file): 13959052 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 187617276 kB
SwapFree: 185330320 kB
Dirty: 148 kB
Writeback: 0 kB
AnonPages: 7048592 kB
Mapped: 104312 kB
Shmem: 604 kB
Slab: 1947068 kB
SReclaimable: 1523288 kB
SUnreclaim: 423780 kB
KernelStack: 8800 kB
PageTables: 38260 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 204091068 kB
Committed_AS: 15333712 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 163292 kB
VmallocChunk: 34359457992 kB
HardwareCorrupted: 0 kB
AnonHugePages: 38912 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 333824 kB
DirectMap2M: 14313472 kB
DirectMap1G: 18874368 kB
This only seems to happens on specific hardware: Intel Server System P4000CP / S2600CP Motherboard, booted with kernel option: "pci=conf1"
This does NOT happen on very similar hardware: Intel Server R2312GZ / S2600GZ Motherboard
Is there a possible memory, or kernel memory sysctl configurable I'm missing here?
---
AlsaDevices:
total 0
crw-rw---T 1 root audio 116, 1 Aug 23 07:12 seq
crw-rw---T 1 root audio 116, 33 Aug 23 07:12 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 13.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2013-02-17 (210 days ago)
InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Release amd64 (20121017.2)
Lsusb:
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
MachineType: Intel Corporation S2600CP ..........
MarkForUpload: True
Package: linux 3.8.0.30.48
PackageArchitec
PciMultimedia:
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.106
RfKill: Error: [Errno 2] No such file or directory
Tags: raring
Uname: Linux 3.8.0-30-generic x86_64
UpgradeStatus: Upgraded to raring on 2013-05-07 (132 days ago)
UserGroups:
dmi.bios.date: 02/26/2013
dmi.bios.vendor: Intel Corp.
dmi.bios.version: SE5C600.
dmi.board.
dmi.board.name: S2600CP
dmi.board.vendor: Intel Corporation
dmi.board.version: E99552-507
dmi.chassis.
dmi.chassis.type: 17
dmi.chassis.vendor: .......
dmi.chassis.
dmi.modalias: dmi:bvnIntelCor
dmi.product.name: S2600CP ..........
dmi.product.
dmi.sys.vendor: Intel Corporation
affects: | base-files (Ubuntu) → sysstat (Ubuntu) |
affects: | sysstat (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: kernel-da-key |
tags: | added: bios-outdated-02.01.0002 needs-upstream-testing regression-potential |
Changed in linux (Ubuntu): | |
status: | Confirmed → Incomplete |
Wong package assigned on bug create.. I believe /proc lies within base-files.