LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 12-13-2004, 07:23 PM   #1
tjuii
Member
 
Registered: Feb 2004
Location: Los Alamos, NM, USA
Distribution: Kubuntu, Suse 9.2 Pro, Gentoo
Posts: 32

Rep: Reputation: 15
.xsession-errors file exploding ???


I recently had an intersting experience where my system crashed and wouldn't restart (okay, wouldn't restart into X). The problem, I found, was that the HD had been completely filled by a file called .xsession-errors in my home directory. After deleting this file, I found that my problems were solved ... kinda. That file keeps reappearing and growing ... it is now 1.2 MB containing 175 lines of error messages and then 13,000 copies of the same error message (pasted below)

ALSA lib pcm_hw.c:1172snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy

My questions are:

1) Can I configure my system so that this offending file will never become larger than x.x MB so that I don't have that awful crash again?
2) where can I go to learn about what these error messages are telling me?

Thanks

TJ

Suse 9.2 pro, Centrino laptop, 2.0 GHz Pentium M, Linux Newbie
 
Old 12-14-2004, 11:00 AM   #2
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
Just symlink it to /dev/null, that way all the data written to it will simply disappear. Unless you need to see the errors logged for some reason...

ln -s /dev/null .xsession-errors

--Ian
 
Old 12-14-2004, 11:07 AM   #3
tjuii
Member
 
Registered: Feb 2004
Location: Los Alamos, NM, USA
Distribution: Kubuntu, Suse 9.2 Pro, Gentoo
Posts: 32

Original Poster
Rep: Reputation: 15
I might try that, but isn't it a good idea to try and resolve some of those errors, or are they typically meaningless? Is there a good place to go to find out what the errors mean, and how to fix them?
 
Old 12-14-2004, 01:32 PM   #4
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
Ok, what that error means is that some program is trying to access the sound card, but is failing because something else has it used. If you are not noticing any problems with your sound, then it is probably safe to ignore.

--Ian
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
".xsession-errors" file: need some advice tigerflag Linux - General 5 08-12-2005 08:36 AM
~/.xsession-errors Phiebie Debian 2 12-21-2004 09:00 AM
.xsession-errors caphead Debian 5 10-11-2004 07:52 AM
XSession-errors file eats my hard drive alexbgd Linux - Newbie 5 10-27-2003 03:31 PM
xsession errors DB Troll Linux - General 0 07-15-2003 11:09 PM


All times are GMT -5. The time now is 02:27 AM.

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