Summary:ASTERISK-26097: [patch] CLI: show maximum file descriptors
Reporter:Alexander Traud (traud)Labels:
Date Opened:2016-06-08 05:55:36Date Closed:2016-06-20 07:49:14
Versions:11.22.0 13.9.1 Frequency of
Environment:Attachments:( 0) file_descriptor_current_11.patch
( 1) file_descriptor_current.patch
( 2) file_descriptor_master.patch
( 3) file_descriptor.patch
Description:On the command-line interface (CLI),

{{core show settings}}
shows the requested maximum number of file descriptors (via asterisk.conf:maxfiles) but not the maximum number which are granted. For example, if the environment does not grant the whole request or rejected the request completely, the CLI does not show the maximum value but just the number written in the configuration file.

{{core show fd}}
shows the maximum size of a single file but not the maximum number of file descriptors. This was fixed with ASTERISK-25405 in the master branch but not for Asterisk 13 or Asterisk 11. However, for the master branch, the maximum-maximum value should be removed because it does not add any additional information = it is the same as the current value, always.