linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* __alloc_pages: 4-order allocation failed
@ 2001-04-26  1:09 Feng Xian
  2001-04-26  1:48 ` Marcelo Tosatti
  2001-04-26  6:15 ` Jeff V. Merkey
  0 siblings, 2 replies; 16+ messages in thread
From: Feng Xian @ 2001-04-26  1:09 UTC (permalink / raw)
  To: linux-kernel; +Cc: Feng Xian

Hi,

I am running linux-2.4.3 on a Dell dual PIII machine with 128M memory.
After the machine runs a while, dmesg shows,

__alloc_pages: 4-order allocation failed.
__alloc_pages: 3-order allocation failed.
__alloc_pages: 4-order allocation failed.
__alloc_pages: 4-order allocation failed.
__alloc_pages: 4-order allocation failed.
__alloc_pages: 4-order allocation failed.


and sometime the system will crash. I looked into the memory info,
there still has some free physical memory (20M) left and swap space is
almost not in use. (250M swap)

I didn't have this problem when I ran 2.4.0 (I even didn't see it on
2.4.2) could anybody tell me what's wrong or where should I look into this
problem?

Thanks,

Alex

-- 
Feng Xian


^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <Pine.LNX.4.10.10104252238590.3810-100000@coffee.psychology.mcmaster.ca>]
* __alloc_pages: 4-order allocation failed
@ 2001-07-02 16:59 Ho Chak Hung
  2001-07-05 21:25 ` Jes Sorensen
  0 siblings, 1 reply; 16+ messages in thread
From: Ho Chak Hung @ 2001-07-02 16:59 UTC (permalink / raw)
  To: linux-kernel

Hi,

I got the error __alloc_pages: 4-order allocation failed in a module that uses and frees a lot of pages.
Basically, I am trying implement a page cache for the module. First, I keep allocating pages using page_cache_alloc() until it fails, then I free a whole bunch of pages using freepages((unsigned long)page_address(page))

Would anyone please give me some advice about how to solve this problem?
Thanks a lot.

__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: __alloc_pages: 4-order allocation failed
@ 2001-07-06  0:33 David Whysong
  2001-07-06  0:23 ` Marcelo Tosatti
  0 siblings, 1 reply; 16+ messages in thread
From: David Whysong @ 2001-07-06  0:33 UTC (permalink / raw)
  To: linux-kernel

Jes Sorensen (jes@sunsite.dk) wrote:

>You ran out of memory, ie. there were no more free blocks of 16
>consecutive pages available in the system. This is what happens on a
>system with little memory or which is loaded with memory intensive
>applications.

I'm seeing the same thing here on a machine with 256 MB RAM and 1.5
gigabytes of swap. There is no chance I am using anywhere near that
much virtual memory.

Something is wrong with the MM in 2.4.6-pre9.

Dave

David Whysong                                       dwhysong@physics.ucsb.edu
Astrophysics graduate student         University of California, Santa Barbara
My public PGP keys are on my web page - http://www.physics.ucsb.edu/~dwhysong
DSS PGP Key 0x903F5BD6  :  FE78 91FE 4508 106F 7C88  1706 B792 6995 903F 5BD6
D-H PGP key 0x5DAB0F91  :  BC33 0F36 FCCD E72C 441F  663A 72ED 7FB7 5DAB 0F91


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2001-07-06  1:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-26  1:09 __alloc_pages: 4-order allocation failed Feng Xian
2001-04-26  1:48 ` Marcelo Tosatti
2001-04-26 12:09   ` Feng Xian
2001-04-26 12:30     ` Andi Kleen
2001-04-26 13:50       ` Feng Xian
2001-04-26 13:53         ` Andi Kleen
2001-04-26 13:56         ` Feng Xian
2001-04-26  6:15 ` Jeff V. Merkey
2001-04-26  8:57   ` Mike Galbraith
2001-04-26 18:00   ` Szabolcs Szakacsits
2001-04-26 17:33     ` Jeff V. Merkey
     [not found] <Pine.LNX.4.10.10104252238590.3810-100000@coffee.psychology.mcmaster.ca>
2001-04-26 12:11 ` Feng Xian
2001-07-02 16:59 Ho Chak Hung
2001-07-05 21:25 ` Jes Sorensen
2001-07-06  0:33 David Whysong
2001-07-06  0:23 ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).