mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] NetBSD-Mystery and how i solved it


From: Karsten Kruse
Subject: [Mldonkey-users] NetBSD-Mystery and how i solved it
Date: Fri, 07 Feb 2003 17:52:22 +0100
User-agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.2.1) Gecko/20030205

Hoi,

Mldonkey (latest and greatest from CVS) uses 100% CPU. This is not for some minutes but for days. Here is what ktruss -p <pid-of-mldonkey> says (ktruss is something like strace):

   467 mldonkey gettimeofday(0xbfbffa00, 0)        = 0
   467 mldonkey poll(0x82f8200, 0x2f, 0x23)        = 1
   467 mldonkey gettimeofday(0xbfbffa00, 0)        = 0
   467 mldonkey accept(0x11, 0xbfbff978, 0xbfbff954) Err#24 EMFILE
   467 mldonkey gettimeofday(0xbfbffa00, 0)        = 0
   467 mldonkey poll(0x82f8200, 0x2f, 0x20)        = 1
   467 mldonkey gettimeofday(0xbfbffa00, 0)        = 0
   467 mldonkey accept(0x11, 0xbfbff978, 0xbfbff954) Err#24 EMFILE
   467 mldonkey gettimeofday(0xbfbffa00, 0)        = 0
   467 mldonkey poll(0x82f8200, 0x2f, 0x1d)        = 1
   467 mldonkey gettimeofday(0xbfbffa00, 0)        = 0
   467 mldonkey accept(0x11, 0xbfbff978, 0xbfbff954) Err#24 EMFILE
   467 mldonkey gettimeofday(0xbfbffa00, 0)        = 0
   467 mldonkey poll(0x82f8200, 0x2f, 0x1a)        = 1
   467 mldonkey gettimeofday(0xbfbffa00, 0)        = 0
   467 mldonkey accept(0x11, 0xbfbff978, 0xbfbff954) Err#24 EMFILE

I opened man accept(2) and this is what it says:

    [EMFILE]      The per-process descriptor table is full.

I guess this is the problem, but how can i solve this?
Is this a system- or Mldonkey-related problem?
Why is there so often gettimeofday?

top:
 PID USERNAME PRI NICE SIZE RES STATE  TIME   WCPU    CPU COMMAND
 467 karsten   94   20  13M 13M RUN   31:54 99.02% 99.02% mldonkey

envstat:
TSENS1 TSENS2 TSENS3   FAN1   FAN2 VSENS1 VSENS2  Vcore VSENS3 VSENS4
  degC   degC   degC    RPM    RPM      V      V      V      V      V
 62.10  42.20  20.10   2163      0   1.82   0.06   3.28   4.88  12.37

CPU on fire ;).

Karsten

--
Home Screenshots  Mac68k  A/UX-Links  Shorties  » www.tecneeq.de
Linuxrouter ISDN Clienteinrichtung Masquerading » www.newbierouter.de
Mailingliste Forum Newsserver Linuxanleitungen  » www.newbie-net.de
Shellspass:   :(){ :|:&};:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]