Quantcast
Channel: All System Administration posts
Viewing all articles
Browse latest Browse all 1179

Re: Warning in syslog. hpsa-host-scan

$
0
0

The hpsa driver encountered a situation where it could not allocate memory.

Even though your system seems to have quite a bit of free memory, it may be that the driver requested a contiguous chunk of memory in a particular range, and the kernel was not able to satisfy the request.

 

The first part of the message is a call trace, identifying exactly where the error was detected. The rest is memory management statistics, while the kernel attempts to find a way to satisfy the memory allocation request.


> Nov 21 12:11:46 localhost kernel: Node 0 DMA32: 16579*4kB 192*8kB 56*16kB 231*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 76204kB

 

For example, this indicates the available chunks of memory in NUMA node 0, in the DMA32 address range (= memory that can be used for DMA transfers with 32-bit PCI devices). Even though there is a total of about 76 MB free, all of it is in separate pieces of 64 kB or less. If the driver attempted to allocate a contiguous chunk of 128 kB or more in the DMA32 range, it would have failed.

 

Since there seems to be plenty of free memory, this would seem to be a memory fragmentation problem. If you have an application that is using a large number of small pieces of memory, stopping and restarting the application once in a while (e.g. weekly/daily) would allow the kernel a chance to coalesce the freed memory into larger chunks again. But that is just a workaround: a better solution would be to change the behaviour of the application. If the application has any memory-related settings that could be adjusted, now might be a good time to review them.


Viewing all articles
Browse latest Browse all 1179

Trending Articles