aMule Forum

English => aMule Help => Topic started by: hopelessone on December 10, 2007, 01:01:13 PM

Title: error 24: Too many open files....how can i fix this?
Post by: hopelessone on December 10, 2007, 01:01:13 PM
Hi,

i get:
2007-12-10 20:54:14: Logger.cpp(268): Error: can't open file '/media/hd/Temp/310.part.met.bak' (error 24: Too many open files)

i get this alot...what can i do to get rid of this?

i have 500/600 connections..what else do you need to know?

box@fbox-desktop:~$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 6140
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 6140
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


thanks..
Title: Re: error 24: Too many open files....how can i fix this?
Post by: Kry on December 10, 2007, 04:49:38 PM
Obviously raise your open files max.
Title: Re: error 24: Too many open files....how can i fix this?
Post by: hopelessone on December 11, 2007, 01:50:51 AM
Ahhhhh Haaaa...

Thx

p.s. any recommendations?
p.s.s. Thanks for aMule CVS version more than tripled my upload/download speeds from 2.1.3 !!
Title: Re: error 24: Too many open files....how can i fix this?
Post by: hopelessone on December 12, 2007, 09:01:25 AM
It still gives me errors:
2007-12-12 16:57:57: PartFile.cpp(885): ERROR while saving partfile: Failed to open part.met file (001.part.met ==> Movie.avi)
2007-12-12 16:57:58: ClientCreditsList.cpp(360): Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24

i raiseed max connections in aMule to 5000 and still no diff??

do you mean raise file max in aMule or Linux? if so how?

thanks..
Title: Re: error 24: Too many open files....how can i fix this?
Post by: hopelessone on December 12, 2007, 02:18:36 PM
Fix:

edit /etc/security/limits.conf

and add :
[username] soft nofile 4096
[username] hard nofile 4096

hope that helps others...

cheers...

happy aMuling...