setrlimit

Bob Tito lists at magicfingers.org
Mon Apr 28 07:10:16 EDT 2003


foobar said:
> Hi,
>
> On Mon, 28 Apr 2003, Bob Tito wrote:
>
>> To be honest, not a real problem here, but a error in the log on which i
>> cannot find information with google...
>>
>
> man setrlimit , man ulimit , man sysctl
>
>> setrlimit: unable to set file discriptors limit to -1...
>> Is this a problem, an more how can i fix this ?
>>
>
> It tries to set fd-limits unlimited , 1024 should be reasonable I think
> if your server doesn't handle much connections. Master should be started
> as root (bind to 143, pop + setrlimits).

Hmm... started as root, no special things set in the config.

>
> This just tells (see man ulimit) that max open files is just 1024 which is
> the default (filedescriptors for sockets etc). You need to be root to
> setrlimit filedescriptors usually and thats why it says permission denied
> there (running master as non-root?).
Nope...

Thanks for the reply, i'll look into it further, but for now i cannot find
where the problem is created There is nothing special in the startup
scripts, nor in the config files. ..

>
> I hope this helped (and shoot me again).
>
> ++Titus
>
>
>


-- 
Bob Tito




More information about the Info-cyrus mailing list