aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: disk space  (Read 4626 times)

geearf

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
disk space
« 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
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: disk space
« Reply #1 on: May 15, 2006, 12:28:03 AM »

Could you please lokk which file is filling up harddrive?
Logged
Homefucking is killing prostitution

geearf

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: disk space
« Reply #2 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.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: disk space
« Reply #3 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
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

geearf

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: disk space
« Reply #4 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 ...
Logged

geearf

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: disk space
« Reply #5 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 ?
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: disk space
« Reply #6 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.
Logged
Homefucking is killing prostitution

JusTiCe8

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 30
    • http://perso.wanadoo.fr/justice8
Re: disk space
« Reply #7 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.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: disk space
« Reply #8 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.
Logged
Homefucking is killing prostitution

JusTiCe8

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 30
    • http://perso.wanadoo.fr/justice8
Re: disk space
« Reply #9 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.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: disk space
« Reply #10 on: June 02, 2006, 07:41:21 PM »

Jep, but would be nice to know which prog.
Logged
Homefucking is killing prostitution