summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-01-03 18:28:19 +0000
committerShaun Ruffell <sruffell@digium.com>2011-01-03 18:28:19 +0000
commitd1adf4dd4521039444076028a94d72389221763b (patch)
tree8bfeb89da3134a3c76be65725ef35c6df67448db /README
parent2cb9c6ff46dfe30094d660707c1038a94fa4256f (diff)
dahdi: Add module parameter to limit number of pseudo channels.
Since there isn't a fixed array to hold all the channels, and also limit the total number of channels that can be created, we'll add a module parameter to allow the system administrator to specify the maximum number of pseudo channels. This is to prevent a potentially non-privledged process from consuming too much CPU (since all pseudos are checked each "tick" for conferencing) and kernel memory. By default the number of pseudo channels is limited to 512. Change the default limit with: ]# modprobe dahdi max_pseudo_channels=<new limit> or at runtime with: ]# echo <new limit> > /sys/module/dahdi/parameters/max_psuedo_channels Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9610 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 5 insertions, 0 deletions
diff --git a/README b/README
index ad72d41..5cc3b80 100644
--- a/README
+++ b/README
@@ -437,6 +437,11 @@ deftaps (dahdi)::
different default size. So normally setting this doesn't change
anything.
+max_pseudo_channels (dahdi)::
+ The maximum number of pseudo channels that dahdi will allow userspace to
+ create. Pseudo channels are used when conferencing channels together.
+ The default is 512.
+
To get a list of parameters supported by a module, use
modinfo module_name