Re: RC Scripts question

Noel Butler <[email protected]>
Newsgroups gmane.linux.slackware
Message-ID <1353845194.23595.28.camel@tardis>
On Sun, 2012-11-25 at 11:44 +1000, Nick Edwards wrote:


> 
> Am I correct in assuming this means if I set the ulimit to 8192 for
> rc.M  that all called scripts will get a ulimit raise to 8192?
> 


NFI,  but - 


> Also, conversely if I call, say,  rc.httpd with a ulimit of 8192 will
> that be honored or ignored?
> 


I think yes, we run our POP3 servers (dovecot) with
#!/bin/sh
# Start/stop/restart dovecot.
ulimit -n 8192

and they run fine, if we start it in a normal shell, it whinges because
not enough FD available.

Same for our news server, as for web servers, we call them with 4096
from the apachectl script - since rc.httpd normally calls that, best to
up your limits from in there.


> google is full of so much mis-information)?
> 


Now, that we can agree on

_______________________________________________
slackware mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/slackware
signature.asc (application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAABAgAGBQJQsgnKAAoJECg/hgl/0DbHW9QH/2qW2l05/kNk7EafPVblwVjX
kbN2msC2ZAogJXvk1LlBnmi/BTzN381RSUllEiEZJ5BEtks4cEhI2cDNDV/fMQMK
FeiERM8CnF4PH7G4LEVAQl/t7+4XN/+ASyFHIYzCRx4wEzqfSTf31qm4obPum5zI
OoFAZTkPzEI1Ut5iH5lNRqeVQx1U+Yrj4sNBS5fhfoMByPp9ocesBadJj3EPblJJ
TzzTrJy/bleCXWSALuwT/TklclNwKdgO0I3LmhNBp8pu85bLfZofoLtZ2XrHpZdc
vNPh65bE0F3UKQTirCJ+UO9YEXax7qeuoXm4mmN0QFtgEXqI1kGVBiXtTlB20H4=
=siik
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.