LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-23-2007, 08:40 PM   #1
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Random restarts, and possible memory leak (0-order allocation failed (gfp=0x1d2/0) )


Slackware 10.2.0 (32-bit) on an AMD 64-bit 3800+.

I've been having frequent (every couple of days, continuous running) PC crashes lately, and it's starting to irritate me. Video (graphics, window refreshes, workspace switching) gets slow and stuttery, and finally the screen goes black. Mouse and keyboard become unresponsive (no ctrl+alt+backspace), and it stays that way 'til I hard reset it. At first I suspected my video card, which is a PCI-E GeForce something or other, as it usually crashed when I had World of Warcraft running via Cedega, but now I'm not so sure...

It just did it a couple of minutes ago, with nothing more running than Windowmaker, a few shells, Firefox, Gaim, Xmms, and opensshd in the background. /var/log/messages has this to say:

Code:
Jul 23 21:04:24 cleopatra -- MARK --
Jul 23 21:19:31 cleopatra kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Jul 23 21:23:39 cleopatra syslogd 1.4.1: restart.
Jul 23 21:23:40 cleopatra kernel: klogd 1.4.1, log source = /proc/kmsg started.
Jul 23 21:23:40 cleopatra kernel: BIOS-provided physical RAM map:
Jul 23 21:23:40 cleopatra kernel: 896MB LOWMEM available.
Jul 23 21:23:40 cleopatra kernel: Initializing CPU#0
Jul 23 21:23:40 cleopatra kernel: Memory: 904376k/917504k available (1832k kernel cod                 e, 12740k reserved, 607k data, 120k init, 0k highmem)
According to Google, that's basically "You're out of memory somewhere." So what I want to know is, what are the chances that this is based somewhere in hardware/drivers, or is it purely software and I should suck it up and upgrade to Slack 11 now?

Thanks!
 
Old 07-25-2007, 03:34 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It's very hard to say. I'd start from the software, however. It may be simply a buggy app that consumes the whole memory in certain situation. To find out what's going on will require you to monitor the memory usage. A simple script that will save an output of ps aux to file every minute or so should be enough. Of maybe, when you notice the slowness, you will be able to get to a terminal and run ps aux.
 
Old 07-30-2007, 10:02 AM   #3
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Original Poster
Rep: Reputation: 30
Ugh. Unfortunately, it just did it again:

Code:
Jul 30 09:43:40 cleopatra -- MARK --
Jul 30 10:03:40 cleopatra -- MARK --
Jul 30 10:23:40 cleopatra -- MARK --
Jul 30 10:43:40 cleopatra -- MARK --
Jul 30 10:55:28 cleopatra kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2                      /0)
Jul 30 10:57:10 cleopatra syslogd 1.4.1: restart.
Jul 30 10:57:11 cleopatra kernel: klogd 1.4.1, log source = /proc/kmsg started.
This time, with no warning whatsoever, and no abnormal memory usage showing up on my system monitor. I'll just reinstall the whole thing in a few days (now's not really a good time). Thanks, Mara!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent - random restarts on production server ??? Avatar Linux - General 4 06-13-2007 09:37 AM
random restarts? nick623 Ubuntu 10 05-08-2007 03:07 PM
Still X Random restarts redhatnoob Linux - General 2 02-17-2004 04:25 PM
Random X restarts on new install tomser Linux - Hardware 6 09-07-2003 09:32 PM
system msg "kernel:___alloc_page:0-order allocation failed nadine.mauch Linux - General 0 08-23-2003 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration