1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/net/generic-nqs/scripts/create-example-batch-queues
Chris Piazza cad6c0c117 Generic-NQS, a freely available Network Queuing System that provides
configurable limits on jobs on a per queue basis as well as for the
total queue system.
It is based on the de facto NQS standards and is interoperable with
commercial NQS products.

PR:		6699
Submitted by:	Tony Maher <tonym@angis.org.au>
1999-06-28 07:07:31 +00:00

25 lines
643 B
Bash

#!/bin/sh
qmgr <<eof
#
create pipe misc-sched run_limit= 40 destination= batch
enable queue misc-sched
start queue misc-sched
#
create batch_queue batch priority = 10 run_limit = 4 user_limit = 2
set data_limit = (2gb) batch
set per_process permfile_limit = (2gb) batch
set STack_limit = ( 8192kb ) batch
#
create batch_queue misc priority = 10 run_limit = 4 user_limit = 1
set data_limit = (2gb) batch
set per_process permfile_limit = (50mb) misc
set STack_limit = ( 8192kb ) misc
#
set default batch_request queue batch
SEt SHell_strategy FIxed = (/bin/csh)
enable queue batch
enable queue misc
start queue batch
start queue misc
eof