home *** CD-ROM | disk | FTP | other *** search
-
- NAME
- dspd - ServiceMail dispatcher daemon
-
- SYNOPSIS
- dspd [-nb] [-s time] [-q time] [-k time] [-d spooling directory]
- [-e executable] [-m max meshes] [-Q queuesize] [-t time value]
- [-p priority value] [-l log facility]
-
- DESCRIPTION
- dspd's basic function is to generate a priority queue out of the
- files in a directory and then start dispatching jobs out of that
- queue. dspd wait()s for each job it has dispatched, and starts
- up another job whenever one finishes (provided there is work to
- be done), then unlinks the file. File priorities are computed
- via a weighted sum of the assigned priority (the leading digit)
- and how old the file is.
-
- switches:
- -n will cause dspd not to unlink files after processing. If
- your program doesn't delete them for you, this will cause
- the same files to be processed over and over.
-
- -d will cause dpsd to run as a daemon
-
- -s allows you to specify the time to sleep when there is no
- work to be done. It can be specified as a raw number in which
- case it is taken to be seconds or as number units, e.g. 1h,3m
- default is 300s
-
- -q allows you to specify how long to wait before reorganizing
- the priority queue (by rescanning the directory)
- default is 300 s
-
- -k allows you to specify how long dspd waits before it decides
- a job is hung and guns it down. default is 600s
-
- -d controls the directory where the spooled files are found.
- You must provide this.
-
- -e can be used to specify an executable other than mesh
-
- -m the number of executables to run concurrently.
-
- -Q the length of a queue to maintain
-
- -t the importance of file age in computing job execution order
- default is zero
-
- -p the importance of file assigned priority in computing
- execution order. default is zero.
-
- -l the log facility to log to. Can be 0-7 corresponding to
- LOG_LOCAL0-LOG_LOCAL7. Default is LOG_LOCAL6
-
- dspd writes it's process id in the spooling directory in the
- file .dsp.pid. This information is used by halt_dequeue to
- shut down dspd.
-
- SEE ALSO
- halt_dequeue(1), restart_dequeue(1)
-
-
-
-