I'm trying to build an RPM for myself so when I do upgrades and such to my
system I can just install the RPM and make life easy on myself. My
question has to do with conf-spawn. In Bruce's RPM, it uses this to
define the conf-spawn value:
fds=`ulimit -n`
# let spawnlimit='(fds-6)/2'
echo $spawnlimit >conf-spawn
On my system, this gives me a value of (1024-6)/2 or a value of 509. In
the conf-spawn file that comes with qmail it defaults to 120 and says it
can't be set about 255, so the value that comes out of Bruce's RPM is way
too high... I fixed this by dividing it by 4, so the end result is 254,
but now I'm not sure if this is a good value to be putting in
there. Ideally I'd like to be able to hand the source of this RPM out to
a few friends so they can use it with little to no modification.
What would be a good average value for the silent concurrency limit and is
there a better way to figure it out on a system-by-system basis? Or
should I just leave it at 120 or "hard-code" a different limit (ie. should
I make it 150 or 160 or what would be appropriate for a Linux system
running on a pentium class or higher machine?).
Thanks for any light you can shed on this.
--
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS: telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn: http://www.freezer-burn.org