LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-26-2003, 05:44 PM   #1
alexbgd
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
XSession-errors file eats my hard drive


.xsession-errors file in my home directory sometimes grows up to severeal hundred MB, although I don't experience any strange X server behaviour. It's a fresh SuSE 9 install. Can I disable writing to this file?
 
Old 10-26-2003, 06:01 PM   #2
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
Some applicaion must be generating a lot of errors. Can you tell of some message or set of messages is being repeated in the file ?

Tim
 
Old 10-27-2003, 08:26 AM   #3
alexbgd
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I've found out that most of the errors are generated by playing divx movies:

fifo_audio_out: blocked for more than 20 ms,
fifo_audio_out: 1152 sample(s) discarded.
fifo_audio_out: blocked for more than 47 ms,
fifo_audio_out: 1152 sample(s) discarded.
fifo_audio_out: blocked for more than 47 ms,
fifo_audio_out: 1152 sample(s) discarded.
fifo_audio_out: blocked for more than 47 ms,
fifo_audio_out: 1152 sample(s) discarded.
fifo_audio_out: blocked for more than 46 ms,
fifo_audio_out: 1152 sample(s) discarded.
fifo_audio_out: blocked for more than 47 ms,
fifo_audio_out: 1152 sample(s) discarded.
fifo_audio_out: blocked for more than 47 ms,
(...)

and this goes on and on for hundreds of MB (if I watch the whole movie).
 
Old 10-27-2003, 10:18 AM   #4
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
It looks to me like an application may have been configured with debugging turned on.

Do you know what application is generating these messages ? Is it something you compiled yourself or was it part of the distribution.

If you're using KDE you might be able to modify the applink icon or menu entry so that the app is run with standard error directed to /dev/null. The line would look like this :

program_name &> /dev/null

Tim
 
Old 10-27-2003, 11:20 AM   #5
alexbgd
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for your help Tim.

Those messages are generated by Kaffeine and Noatun - default media players on SuSE, however that doesn't happen with Totem, so I'll stick with it if I can't manage to fix this..
For some reason I can't play the movie if I start the player with that option. Is there a way to make all applications send standard error messages to /dev/null ?
 
Old 10-27-2003, 03:31 PM   #6
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
No I don't think so. I don't know why the program won't run with stdout and stderr thrown away. You might also try the following :

program_name 2> /dev/null (only discards stderr, not stdout)

program_name 2> /dev/null &

Tim
 
  


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
Hard Drive errors on S3 wakeup slinky2004 Linux - Laptop and Netbook 1 11-19-2005 12:07 PM
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 02:24 PM
".xsession-errors" file: need some advice tigerflag Linux - General 5 08-12-2005 08:36 AM
I just booted up and getting errors about my Hard Drive. Royle Debian 1 01-24-2005 03:00 PM
.xsession-errors file exploding ??? tjuii Linux - General 3 12-14-2004 01:32 PM


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