Re: NumConnections is too high

kevin <[email protected]> Mon, 02 May 2005 23:10:42 +0200
Newsgroups gmane.network.mathopd
Message-ID <[email protected]>
Hi

here is a little shell script i use to start mathopd with the file limit
increased :


#!/bin/sh

ulimit -c 0 -n 2048

# uncomment the following to see what are the limits
#ulimit -aHS

exec  /usr/local/sbin/mathopd -f /etc/mathopd.conf



then your file limits will be 2048 the -c 0 part is to prevent from
generating a core dump, i think mathopd will prevent it itself but you
can't be too careful !

Of course your mathod binary should be in /usr/local/sbin/ and your conf
file /etc/mathopd.conf or change the paths ...


Great soft by the way i am currently testing it and it seems to work
real well !



KEvin


Quentin Gouedard a écrit :
> 
> Hello,
> When I start mathopd, i get the following warning:
> NumConnections=512 nfiles=1024
> warning: NumConnections is too high
> Why do I get this message ? Can i expect problems from this ?
> 
>