1nbdkit-limit-filter(1) NBDKIT nbdkit-limit-filter(1)
2
3
4
6 nbdkit-limit-filter - limit number of clients that can connect
7 concurrently
8
10 nbdkit --filter=limit PLUGIN [limit=N]
11
13 "nbdkit-limit-filter" is an nbdkit filter that limits the number of
14 clients which can connect concurrently. If more than "limit=N"
15 (default: 1) clients try to connect at the same time then later clients
16 are rejected.
17
19 limit=N
20 Limit the number of concurrent clients to "N". This parameter is
21 optional. If not specified then the limit defaults to 1. You can
22 also set this to 0 to make the number of clients unlimited (ie.
23 disable the filter).
24
26 $filterdir/nbdkit-limit-filter.so
27 The filter.
28
29 Use "nbdkit --dump-config" to find the location of $filterdir.
30
32 "nbdkit-limit-filter" first appeared in nbdkit 1.20.
33
35 nbdkit(1), nbdkit-exitlast-filter(1), nbdkit-exitwhen-filter(1),
36 nbdkit-ip-filter(1), nbdkit-noparallel-filter(1),
37 nbdkit-rate-filter(1), nbdkit-filter(3), nbdkit-plugin(3).
38
40 Richard W.M. Jones
41
43 Copyright Red Hat
44
46 Redistribution and use in source and binary forms, with or without
47 modification, are permitted provided that the following conditions are
48 met:
49
50 • Redistributions of source code must retain the above copyright
51 notice, this list of conditions and the following disclaimer.
52
53 • Redistributions in binary form must reproduce the above copyright
54 notice, this list of conditions and the following disclaimer in the
55 documentation and/or other materials provided with the
56 distribution.
57
58 • Neither the name of Red Hat nor the names of its contributors may
59 be used to endorse or promote products derived from this software
60 without specific prior written permission.
61
62 THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
63 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
64 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
65 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
66 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
67 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
68 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
69 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
70 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
71 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
72 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
73
74
75
76nbdkit-1.36.2 2023-11-26 nbdkit-limit-filter(1)