aMule Forum

English => en_Bugs => Topic started by: geearf on May 14, 2006, 11:06:26 PM

Title: disk space
Post by: geearf on May 14, 2006, 11:06:26 PM
Hello,

I'm using amule cvs Snapshot: Thu May 11 07:02:01 CEST 2006 under Ubuntu, and sometimes it crashes, and eats all my hard drive, even after killing it, it does not stop, I have to reboot to regain my space.

I can only think it's amule, because it only happened since I went using amule CVS, and it only happens when amule is started (and crashed, but that could be because of no space left...).

Thanks
Title: Re: disk space
Post by: Vollstrecker on May 15, 2006, 12:28:03 AM
Could you please lokk which file is filling up harddrive?
Title: Re: disk space
Post by: geearf on May 15, 2006, 08:44:15 AM
Hello,

I've tried to find it, but I have no idea at all.
Is there an easy way to do so beside going into every directories ?

Thanks,

I'll let amule goes for the whole day, so maybe I'll have this problem by tonight.
Title: Re: disk space
Post by: stefanero on May 15, 2006, 08:45:53 AM
well you can compare teh folder sizes

du -hs /folder1

and when you come home

du -hs /foder1

and if you say its better after a restart, do the same thing after reboot and look at the diffs
Title: Re: disk space
Post by: geearf on May 15, 2006, 09:13:28 PM
Not bad yes :;)

But I've came back with a normal state, so I cannot say anything for now ...
Title: Re: disk space
Post by: geearf on May 15, 2006, 10:49:37 PM
well it crashed and stuff, and the only huge file was xsession-errors (over one giga bytes).
I wanted to read it but as it's so big even VIM cannot ..
can this be related to amule ?
Title: Re: disk space
Post by: Vollstrecker on May 16, 2006, 12:14:27 AM
Maybe, I can remember that I had such problems, too. But this was  last november or so.
Try a tail -f ~/.xsession-errors, then you can see  what messages are filling up the file before the disk is full.
Title: Re: disk space
Post by: JusTiCe8 on June 02, 2006, 10:59:14 AM
Do you have swap as file and only one harddisk partition for your system ?
It sounds like a such issue.
Title: Re: disk space
Post by: Vollstrecker on June 02, 2006, 01:53:03 PM
No, the problem is, that X produces many warnings and errors that go all to ~/.xsession-error. I had the same problem some time ago, but  the messages look like:

QPixmap: Cannot create a QPixmap when no GUI is being used
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0

With these infos I wasn't able to find out which prog causes this, but the partition with this file fills up over time. And guess what: That's your home which contains in most cases all the amule stuff, too. So amule can't write anything and crashes. It shouldn't crash in this case, but as you see it does.
Title: Re: disk space
Post by: JusTiCe8 on June 02, 2006, 06:39:15 PM
Quote
Originally posted by Vollstrecker
QPixmap: Cannot create a QPixmap when no GUI is being used
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0

Such message comes from QT programs (mainly KDE apps).
A "workaround" is to cron a task which trash file every x minutes.
Title: Re: disk space
Post by: Vollstrecker on June 02, 2006, 07:41:21 PM
Jep, but would be nice to know which prog.