LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-26-2004, 07:01 AM   #1
svar
Member
 
Registered: Jul 2003
Posts: 352

Rep: Reputation: 30
System freeze-why?


Lately I am having increasingly common occurences of freezing:
The main processes I have running are:
1) a shell script in a remote machine that checks a given directory for files
and , if found, gzips and ftps them to my machine
2) a perl script on my machine that looks in a specific directory and
for all files there gunzips them ,parses and stores relevant info
in memory as specific datastructures. After a certain time, these
datastructures are serialized and written on disk. Lately
I get sometimes garbage and even pieces of the file being read written
on the file with the datastructure dump, presumably this is the time
of the crash. The app is
running for some 3 years now, generally without problems. Every now and then, but now
this is more frequent I would have a freeze
Here are typical /var/log/messages relevant messages on freeze
Note that
a) sometimes I get a_alloc_pages message, lately not
b) sometimes I get some @@@ messages, sometimes not
my machine has a SCSI disk that is between 75% and 90% full(the /home partition)
Kernel is SuSe8(2.4.10, I think). I would just recompile the kernel with a more
recent one, but I am uncertain whether this would screw up anything else
and this is a production machine.
My guess is that the page_allocation error is an old kernel bug.
I'm not at all sure though all crashes are related to it.
I'm more worried that the freeze occurs when the app tries to write
to a bad disk sector. Fs is reiser.
Lately
Does anyone have any suggestion on what to check and do?
Thanks

Jul 5 11:45:59 quality5 in.ftpd[16516]: connect from 172.16.157.2 (172.16.157.2)
Jul 5 11:46:07 quality5 in.ftpd[16531]: connect from 172.16.157.2 (172.16.157.2)
Jul 5 11:50:32 quality5 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d
2/0)
Jul 5 11:51:10 quality5 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d
2/0)
Jul 5 11:51:59 quality5 last message repeated 3 times
Jul 5 11:51:59 quality5 kernel: VM: killing process httpd
[My QUESTION: WHAT DOES httpd have to do here???]
Jul 5 11:51:59 quality5 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d
2/0)
Jul 5 11:52:31 quality5 last message repeated 2 times
Jul 5 11:53:00 quality5 last message repeated 3 times
Jul 5 11:53:00 quality5 kernel: VM: killing process httpd
Jul 5 11:53:00 quality5 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d
2/0)
Jul 5 11:54:18 quality5 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d
2/0)
Jul 5 11:54:19 quality5 kernel: VM: killing process httpd
Jul 5 11:54:19 quality5 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d
2/0)
Jul 5 11:54:19 quality5 kernel: VM: killing process httpd
Jul 5 11:54:19 quality5 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d
2/0)
Jul 5 11:54:19 quality5 kernel: VM: killing process httpd
Jul 5 11:54:19 quality5 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d
2/0)
Jul 5 11:54:19 quality5 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d
2/0)
Jul 5 11:54:19 quality5 kernel: VM: killing process httpd
.....
Jul 13 07:28:31 quality5 syslogd 1.4.1: restart.
Jul 13 07:48:04 quality5 in.ftpd[5894]: connect from 172.16.157.2 (172.16.157.2)
Jul 13 07:59:00 quality5 /USR/SBIN/CRON[5905]: (root) CMD ( rm -f /var/spool/cron/lastrun/cron.hourly)
Jul 13 08:28:31 quality5 -- MARK --
Jul 13 08:30:46 quality5 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Jul 13 08:48:33 quality5 -- MARK --
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
Jul 13 10:21:01 quality5 syslogd 1.4.1: restart.
....
Aug 4 07:23:11 quality5 in.ftpd[10047]: connect from 172.16.157.2 (172.16.157.2)
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
/usr/lib/qt-2.3.2/examples/xml/tagreader-with-features/tagreader.cpp
/usr/lib/qt-2.3.2/examples/xml/tagreader-with-features/tagreader.pro
/usr/lib/qt-2.3.2/examples/xml/tagreader/animals.xml
/usr/lib/qt-2.3.2/examples/xml/tagreader/Makefile
/usr/lib/qt-2.3.2/examples/xml/tagreader/structureparser.cpp
/usr/lib/qt-2.3.2/examples/xml/tagreader/structureparser.h
/usr/lib/qt-2.3.2/examples/xml/tagreader/tagreader.cpp
/usr/lib/qt-2.3.2/examples/xml/tagreader/tagreader.pro
/usr/lib/qt-2.3.2/examples/xmlquotes
/usr/lib/qt-2.3.2/examples/xmlquotes/main.cpp
/usr/lib/qt-2.3.2/examples/xmlquotes/Makefile
/usr/lib/qt-2.3.2/examples/xmlquotes/moc_richtext.cpp
/usr/lib/qt-2.3.2/examples/xmlquotes/quoteparser.cpp
/usr/lib/qt-2.3.2/examples/xmlquotes/quoteparser.h
/usr/lib/qt-2.3.2/examples/xmlquotes/quotes.xml
/usr/lib/qt-2.3.2/examples/xmlquotes/README
/usr/lib/qt-2.3.2/examples/xmlquotes/richtext.cpp
/usr/lib/qt-2.3.2/examples/xmlquotes/richtext.h
/usr/lib/qt-2.3.2/examples/xmlquotes/xmlquotes
/usr/lib/qt-2.3.2/examples/xmlquotes/xmlquotes.pro
/usr/lib/qt-2.3.2/extensions
/usr/lib/qt-2.3.2/extensions/nsplugin
/usr/lib/qt-2.3.2/extensions/nsplugin/doc
/usr/lib/qt-2.3.2/extensions/nsplugin/doc/examples.doc
/usr/lib/qt-2.3.2/extensions/nsplugin/doc/index.doc
/usr/lib/qt-2.3.2/extensions/nsplugin/examples
/usr/lib/qt-2.3.2/extensions/nsplugin/examples/grapher
/usr/lib/qt-2.3.2/extensions/nsplugin/examples/grapher/graph.cgi
/usr/lib/qt-2.3.2/extensions/nsplugin/examples/grapher/graph.g1n
Aug 4 16:05:07 quality5 syslogd 1.4.1: restart.
.....
Aug 13 00:07:06 quality5 in.ftpd[22292]: connect from 172.16.157.2 (172.16.157.2)
Aug 13 00:07:08 quality5 in.ftpd[22296]: connect from 172.16.157.2 (172.16.157.2)
Aug 13 00:07:09 quality5 in.ftpd[22301]: connect from 172.16.157.2 (172.16.157.2)
Aug 13 00:07:11 quality5 in.ftpd[22303]: connect from 172.16.157.2 (172.16.157.2)
Aug 13 00:07:13 quality5 in.ftpd[22312]: connect from 172.16.157.2 (172.16.157.2)
Aug 13 07:03:17 quality5 syslogd 1.4.1: restart.
Aug 13 07:03:18 quality5 modprobe: modprobe: Can't locate module block-major-11
Aug 13 07:03:19 quality5 last message repeated 31 times
......
Aug 13 21:52:57 quality5 in.ftpd[8373]: connect from 172.16.157.2 (172.16.157.2)
Aug 13 21:53:03 quality5 in.ftpd[8384]: connect from 172.16.157.2 (172.16.157.2)
Aug 13 21:59:00 quality5 /USR/SBIN/CRON[9042]: (root) CMD ( rm -f /var/spool/cron/l
astrun/cron.hourly)
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
/usr/X11R6/share/xmclock/xmconvert.tcl
/var
/var/account
/var/account/pacct
/var/adm
/var/adm/autoinstall
/var/adm/autoinstall/files
/var/adm/autoinstall/logs
/var/adm/autoinstall/scripts
/var/adm/backup
/var/adm/current_package_descr
/var/adm/current_pa
Aug 14 08:50:16 quality5 syslogd 1.4.1: restart.
....
Aug 14 22:01:34 quality5 in.ftpd[29065]: connect from 172.16.157.2 (172.16.157.2)
Aug 14 22:01:38 quality5 in.ftpd[29075]: connect from 172.16.157.2 (172.16.157.2)
Aug 15 17:01:33 quality5 syslogd 1.4.1: restart.
Aug 15 17:01:34 quality5 modprobe: modprobe: Can't locate module block-major-11
Aug 15 17:01:35 quality5 last message repeated 31 times
.......
Aug 22 17:41:15 quality5 in.ftpd[19094]: connect from 172.16.157.2 (172.16.157.2)
Aug 22 17:41:17 quality5 in.ftpd[19096]: connect from 172.16.157.2 (172.16.157.2)
Aug 22 17:41:22 quality5 in.ftpd[19106]: connect from 172.16.157.2 (172.16.157.2)
Aug 23 07:08:43 quality5 syslogd 1.4.1: restart.
Aug 23 07:08:43 quality5 modprobe: modprobe: Can't locate module block-major-11
Aug 23 07:08:45 quality5 last message repeated 31 times
.....
Aug 23 21:31:34 quality5 in.ftpd[7138]: connect from 172.16.157.2 (172.16.157.2)
Aug 23 21:31:40 quality5 in.ftpd[7151]: connect from 172.16.157.2 (172.16.157.2)
Aug 24 15:30:49 quality5 syslogd 1.4.1: restart.
Aug 24 15:30:49 quality5 modprobe: modprobe: Can't locat
......
Aug 25 12:55:45 quality5 in.ftpd[23009]: connect from 172.16.157.2 (172.16.157.2)
Aug 25 12:55:50 quality5 in.ftpd[23022]: connect from 172.16.157.2 (172.16.157.2)
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@Aug 25 13:52:14 quality5 syslogd 1.4.1: restart.
Aug 25 13:52:15 quality5 modprobe: modprobe: Can't locate module block-major-11
Aug 25 13:52:16 quality5 last message repeated 31 times
Aug 25 13:52:19 quality5 kernel: klogd 1.4.1, log source =
 
Old 08-27-2004, 04:25 PM   #2
bluefire
Member
 
Registered: Oct 2003
Distribution: Mandrake 10
Posts: 160

Rep: Reputation: 30
I was having freezes for a while while running Debian Testing and Mandrake Cooker. Hardware is AMD-k6. I "solved" it by re-installing Mandrake 10 vanilla. My guess is that there's something in the Xorg libraries causing this (since that was the major change between my vanilla and testing setups) but I was unable to get to the bottom of the cause. Any of those circumstances apply to you?
 
Old 08-28-2004, 06:02 AM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
What kernel sources are you using and what chipset does your motherboard have?
 
Old 08-28-2004, 06:34 AM   #4
ambayah
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Rep: Reputation: 0
KDE 3.3?
 
Old 08-28-2004, 09:26 AM   #5
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
Kernel is 2.4.18-4GB (Suse 8.0)
MB is ASUS CUv4x ASUS says chipsets are
VIA 694XDP and VIA 686B Chipsets

Hds are 3 Seagate Cheetah 36.7GB ULTRA (SCSI)(one of them is /home and seems to give the problem)
Controller SCSI AHA 29160

No, I do not have KDE3.3, this is an older distribution
Neither do I have AMD, and this is not Debian. It is very puzzling though. I'v had
these freezes occur infrequently at times(almost a month or more with no problems or even twice a day) Initially I though(because there is writing to disk) this must be som edisk error, but now I am not so sure.
 
Old 08-28-2004, 11:34 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
IMO, three very frequent causes of freezes are:

1. Overheating
2. Overclocking
3. Bad or incompatible memory

with #1 being the most likely culprit. What are your system temps, and do you use something like gkrellm to monitor them? -- J.W.
 
Old 08-29-2004, 09:26 AM   #7
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
Overheating-the ventillator seems to work
Overclocking-definitely not
bad/incompatible memory


Could it be bad disk sectors?
 
Old 08-31-2004, 02:40 AM   #8
ambayah
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Rep: Reputation: 0
When it freezes, does the red light / HDD activity light stays?
 
Old 08-31-2004, 02:43 AM   #9
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
The LEDs above Pause/Scroll Lock are on(green)
 
Old 08-31-2004, 02:48 AM   #10
ambayah
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Rep: Reputation: 0
Maybe its the Hard-disk.

Have you upgraded your system?

Try using swaret to upgrade and see if it still hangs.
 
Old 08-31-2004, 02:53 AM   #11
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
Meaning the kernel? No, I'm still with 2.4.22
Are you suggesting 2.6.7?
 
Old 08-31-2004, 03:06 AM   #12
ambayah
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Rep: Reputation: 0
Nope, I'm still 2.4.22, I've faced hangs before but havnt yet since upgraded a few stuff. I'm on Slacware and I upgrade using Swaret.
 
Old 08-31-2004, 03:06 AM   #13
ambayah
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Rep: Reputation: 0
And try reinstalling the drivers, or reconfigre alsoconfig.
 
Old 08-31-2004, 03:10 AM   #14
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
Thanks about swaret, I was not aware.
Not sure I follow though... What drivers are you talking about? Drivers for the SCSI disks?
You mean reconfigure alsaconfig? Please be more specific, if you can(or remember)
Thanks again
 
Old 08-31-2004, 03:13 AM   #15
ambayah
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Rep: Reputation: 0


run alsoconfig on the terminal, and follow the menu.

I don't know how SuSeans upgrade, apt-get or something, but on Slackware we use Swaret to automagically upgrade.

Upgrade Disk, Sound, Display if possible.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System freeze edgjerp Linux - General 2 01-22-2005 04:49 AM
System freeze Tony Empire Linux - General 2 12-24-2004 10:22 AM
System freeze with CDRW teckk Linux - Hardware 1 10-20-2004 09:32 PM
hpt374 and system freeze island_dude Linux - Hardware 0 07-22-2004 09:34 AM
RH 6.2 System Freeze - Help! jfd118 Linux - General 2 08-02-2001 12:31 PM


All times are GMT -5. The time now is 03:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration