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

mldonkey: out of memory



    Hello,

Running mldonkey with some files in queue (from 20 to 30 files) gave
me some sleepy behaviour. I found that mldonkey need a lot a openfiles
in order to open many sockets. So, I adjusted the openfiles parameter
in login.conf).
Now, mldonkey runs very well but not very longer because I get crash
quickly: "Fatal error: out of memory."

So, I set up the following in my login class:
    :datasize-max=infinity:\

But, it seems that my system doesn't allow more than 524288 kbytes
for this limit:
    $ ulimit -Ha | grep data
    data(kbytes)         524288
    $ ulimit -d 524288
    --> return no error
    $ ulimit -d 524416 
    ksh: ulimit: exceeds allowable limit


Here is information about my system:
$ sysctl kern.version         
kern.version = OpenBSD 3.3-current (GENERIC) #0: Fri May  2 12:00:31 CEST 2003
    oc@xxx.xxxx.xxxxx:/usr/src/sys/arch/i386/compile/GENERIC

I looked up in kernel configuration files but didn't find anything
relevant with this limitation.

How can I increase such limits?
Thanks.

-- 
oc - oc@karedas.cediti.be