LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-27-2003, 08:08 AM   #1
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Unstable Xwindows


Everything's working fine so far on my machine - except when I give the GUI a go. It runs fine for a while, but eventually, for no apparent reason, it crashes and I'm sent back to the command line. What manager I'm running seems to make no difference - FVWM2 is as problematic as Gnome.

Can anyone point me to any good references for debugging X windows?
 
Old 11-27-2003, 08:26 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
First stop should be checking the log file for error messages and other useful information. You can find it in /var/log.

Håkan
 
Old 11-27-2003, 02:06 PM   #3
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
also depends on the amt. of ram u got
 
Old 11-28-2003, 03:57 AM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Original Poster
Rep: Reputation: 48
It gives one Warning on startup, but now that I want it to crash so I can see the error messages, it has of course become rock stable.. I seem to recall an error code of 11 being mentioned..

Ram = 64mb
 
Old 11-28-2003, 07:46 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,431

Rep: Reputation: Disabled
Start KDE so as to produce the error, it consumes more resources.

I use 640 MB, probably not necessary for survival, but less than 128 MB ...
 
Old 11-28-2003, 02:33 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 257Reputation: 257Reputation: 257
Quote:
Originally posted by LinuxLala
also depends on the amt. of ram u got
Not amount but maybe if there is some kind of memory leak, bad memory, etc. But 64megs is plenty to run the Window Manager that he is running.
 
Old 11-28-2003, 02:41 PM   #7
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
thanks for clarifying that bit.
 
Old 12-02-2003, 06:35 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,431

Rep: Reputation: Disabled
Quote:
Originally posted by trickykid
Not amount but maybe if there is some kind of memory leak, bad memory, etc. But 64megs is plenty to run the Window Manager that he is running.
Not to dispute your experience, but in that case I would expect his machine to crash anytime the RAM is fully utilized -- i.e. almost always. Why would that be only the case with GUIs (big chunks of code)?
 
Old 12-02-2003, 01:31 PM   #9
8nasmith
Member
 
Registered: Oct 2003
Location: Cornwall, UK
Distribution: Fedora Core 4
Posts: 268

Rep: Reputation: 30
yes but 64megs is plenty to run the Window Manager !
 
Old 12-02-2003, 01:35 PM   #10
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 257Reputation: 257Reputation: 257
Quote:
Originally posted by JZL240I-U
Not to dispute your experience, but in that case I would expect his machine to crash anytime the RAM is fully utilized -- i.e. almost always. Why would that be only the case with GUIs (big chunks of code)?
Why would you expect it to crash just because its fully utilized? Isn't thats RAM is suppose to be used for, to be used? I would hate to think my machine is going to crash each time all of my RAM is being used..

I've run Gnome on a machine with 32mb RAM and a 2mb Video card for days and weeks with no problems.. I think it goes beyond problems with the amount of RAM he has.. but could be bad RAM, etc.
 
Old 12-03-2003, 09:21 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,431

Rep: Reputation: Disabled
Quote:
Originally posted by trickykid
Why would you expect it to crash just because its fully utilized? Isn't thats RAM is suppose to be used for, to be used? I would hate to think my machine is going to crash each time all of my RAM is being used...
Well, if you start e.g. with the lower adresses, filling up the available RAM, then a small application has less of a chance to "reach" a hypothetical bad adress. Since Linux gradually uses most or all RAM as buffers and whatnot also for data my original reasoning was to use a larger chunk or code to increase the chance to get corrupted code (for the next crash) not data, where it might go unnoticed. (Yeah, sure I want my RAM used, who doesn't?)

If your RAM would truly be fully utilized by code and static data (and no swap) your system would crash .

As I said, I don't doubt your assessment, I just couldn't/can't follow your reasoning. Is it "just" experience? And Gnome on 32 MB without a lot of swapping?
 
  


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
is ubuntu unstable less unstable than debian unstable? lefty.crupps Ubuntu 9 10-14-2005 02:38 PM
Unstable is really unstable... shorty_boy Debian 22 09-16-2005 02:46 PM
Just how unstable is unstable??? R00ts Debian 8 02-12-2005 02:35 PM
what if unstable isn't enough? shadowhunter Debian 2 01-08-2004 09:38 PM
following unstable rdanda Debian 6 06-23-2003 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:28 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