Skip to contentSkip to conversation

problem on __alloc_pages

DISCUSSION Evaldo Gardenali 2 participants 4 messages Feb 5, 2004 – Feb 6, 2004

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.
I am a newbie to kernel memory alloc, and got this on my server.

Feb  5 11:09:39 server1 kernel: __alloc_pages: 1-order allocation failed
(gfp=0x1f0/0)
Feb  5 11:09:39 server1 kernel: __alloc_pages: 0-order allocation failed
(gfp=0x1f0/0)
Feb  5 11:10:36 server1 kernel: __alloc_pages: 0-order allocation failed
(gfp=0x1d2/0)
Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
(gfp=0x1d2/0)
Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
(gfp=0x1d2/0)
Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
(gfp=0xf0/0)
Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed

(gfp=0x1d2/0)
Fev 5 11:11:39 server1 gconfd (evaldo-2337): Recebido sinal 15, desligando corretamente
Fev 5 11:11:40 server1 gconfd (evaldo-2337): Terminando

Feb  5 11:11:52 server1 /usr/sbin/gpm[437]: imps2: Auto-detected

intellimouse PS/2 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@Feb 5 11:13:12 server1
syslogd 1.4.1: restart.

(server reboot)

my server runs like this normally:
~ total: used: free: shared: buffers: cached:

Mem:  527372288 422723584 104648704        0 45375488 222887936
Swap: 978726912        0 978726912
MemTotal:       515012 kB
MemFree:        102196 kB
MemShared:           0 kB
Buffers:         44312 kB
Cached:         217664 kB
SwapCached:          0 kB
Active:          58560 kB
Inactive:       325604 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       515012 kB
LowFree:        102196 kB
SwapTotal:      955788 kB
SwapFree:       955788 kB

Linux server1 2.4.25-pre6-athlonxp #1 Tue Jan 20 11:49:48 BRST 2004 i686 unknown unknown GNU/Linux
"-athlonxp" is just a descriptive name, for me to differentiate my kernels. no extra patch was made

Thanks
Evaldo Gardenali
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAIkT95121Y+8pAbIRAsmYAJwLAsTxZ2S6Q+RKQ//6l+Qrv25VXwCdHrTd 2+wNbdm7uNFfAUcYMG+g+qI=
=EyDh
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 19 lines · Evaldo Gardenali

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.
I am a newbie to kernel memory alloc, and got this on my server.

Feb  5 11:09:39 server1 kernel: __alloc_pages: 1-order allocation failed
(gfp=0x1f0/0)
Feb  5 11:09:39 server1 kernel: __alloc_pages: 0-order allocation failed
(gfp=0x1f0/0)
Feb  5 11:10:36 server1 kernel: __alloc_pages: 0-order allocation failed
(gfp=0x1d2/0)
Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
(gfp=0x1d2/0)
Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
(gfp=0x1d2/0)
Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
(gfp=0xf0/0)
Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
Quoted 5 lines

(gfp=0x1d2/0)
Fev 5 11:11:39 server1 gconfd (evaldo-2337): Recebido sinal 15, desligando corretamente
Fev 5 11:11:40 server1 gconfd (evaldo-2337): Terminando

Feb  5 11:11:52 server1 /usr/sbin/gpm[437]: imps2: Auto-detected

Hi Evaldo,

Do you have swap space available when this happens?

#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcelo Tosatti wrote:

|
| On Thu, 5 Feb 2004, Evaldo Gardenali wrote:
|
|
|>-----BEGIN PGP SIGNED MESSAGE-----
|>Hash: SHA1
|>
|>Hi.
|>I am a newbie to kernel memory alloc, and got this on my server.
|>
|>Feb  5 11:09:39 server1 kernel: __alloc_pages: 1-order allocation failed
|>(gfp=0x1f0/0)
|>Feb  5 11:09:39 server1 kernel: __alloc_pages: 0-order allocation failed
|>(gfp=0x1f0/0)
|>Feb  5 11:10:36 server1 kernel: __alloc_pages: 0-order allocation failed
|>(gfp=0x1d2/0)
|>Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
|>(gfp=0x1d2/0)
|>Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
|>(gfp=0x1d2/0)
|>Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
|>(gfp=0xf0/0)
|>Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
|>(gfp=0x1d2/0)
|>Fev  5 11:11:39 server1 gconfd (evaldo-2337): Recebido sinal 15,
|>desligando corretamente
|>Fev  5 11:11:40 server1 gconfd (evaldo-2337): Terminando
|>Feb  5 11:11:52 server1 /usr/sbin/gpm[437]: imps2: Auto-detected
|
|
| Hi Evaldo,
|
| Do you have swap space available when this happens?
|

Absolutely. this box never gets 500M swap used. highest I ever saw is 400M on VERY HIGH activity (which happened only once, when we had a task force going on here). right now, swap usage is 3M
I just added 500M more swap to it, just in case (swap partition)

Oh. and I had memtest86 run the 'full test' for 4 days non-stop before going production ;)

Thanks
Evaldo Gardenali
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAIoHj5121Y+8pAbIRAjQ3AKCgaj3ObSAd9lGN116n5vzjhs7bYACcCESO 3oXSuOE29piYqrybtruUSZk=
=awtt
-----END PGP SIGNATURE-----

#3 lore raw
Quoted 39 lines · Evaldo Gardenali

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcelo Tosatti wrote:

|
| On Thu, 5 Feb 2004, Evaldo Gardenali wrote:
|
|
|>-----BEGIN PGP SIGNED MESSAGE-----
|>Hash: SHA1
|>
|>Hi.
|>I am a newbie to kernel memory alloc, and got this on my server.
|>
|>Feb  5 11:09:39 server1 kernel: __alloc_pages: 1-order allocation failed
|>(gfp=0x1f0/0)
|>Feb  5 11:09:39 server1 kernel: __alloc_pages: 0-order allocation failed
|>(gfp=0x1f0/0)
|>Feb  5 11:10:36 server1 kernel: __alloc_pages: 0-order allocation failed
|>(gfp=0x1d2/0)
|>Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
|>(gfp=0x1d2/0)
|>Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
|>(gfp=0x1d2/0)
|>Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
|>(gfp=0xf0/0)
|>Feb  5 11:11:18 server1 kernel: __alloc_pages: 0-order allocation failed
|>(gfp=0x1d2/0)
|>Fev  5 11:11:39 server1 gconfd (evaldo-2337): Recebido sinal 15,
|>desligando corretamente
|>Fev  5 11:11:40 server1 gconfd (evaldo-2337): Terminando
|>Feb  5 11:11:52 server1 /usr/sbin/gpm[437]: imps2: Auto-detected
|
|
| Hi Evaldo,
|
| Do you have swap space available when this happens?
|
Quoted 7 lines

Absolutely. this box never gets 500M swap used. highest I ever saw is 400M on VERY HIGH activity (which happened only once, when we had a task force going on here). right now, swap usage is 3M
I just added 500M more swap to it, just in case (swap partition)

Oh. and I had memtest86 run the 'full test' for 4 days non-stop before going production ;)

This is probably happening because you ran out of swap space. Adding more will help.

Check for application memory leaks.