cyrus daemons: -U option
Henrique de Moraes Holschuh
hmh at debian.org
Fri Mar 11 19:58:55 EST 2005
On Sat, 12 Mar 2005, kael wrote:
> I'm also interested with this question; specially, I don't clearly
> understand what the -U and -T options infer.
-U n means the service will die after it services n connections.
-T n means the service will die after waiting n seconds for a connection
(i.e. without any work to do).
> In /etc/cyrus.conf, I added in the SERVICES section:
>
> nntp cmd="nntpd -U 500 -T 600 -f " listen="nntp" prefork=5
If you want it to run 24/7, drop the -U and -T. And don't prefork 5 of
them if you want just one of them active.
And -T + prefork means your system will be killing and respawning processes
every n minutes, as all preforked processes die and are immediately
respawned.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list