[Home]

Summary:ASTERISK-27105: [patch]core: when setting 'maxfiles' in asterisk.conf, a message is printed, even in rasterisk -x
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2017-07-03 06:20:09Date Closed:2017-08-16 06:52:19
Priority:MinorRegression?
Status:Closed/CompleteComponents:Core/General
Versions:13.16.0 14.5.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I set maxfiles in asterisk.conf, and then:

{code}
$ asterisk -rx 'core show uptime'
Setting max files open to 5000
System uptime: 13 minutes, 45 seconds
Last reload: 13 minutes, 45 seconds
{code}
From a quick look, no other value set in asterisk.conf (well, ignoring verbose and debug) has such an effect. They just silently set some setting.

I can think of several options:
1. Remove this print. Just like all others.
2. Make the print conditioned on !ast_opt_remote.
3. Make the whole setting (call to set_ulimit) conditioned on !ast_opt_remote.

What should it be?
Comments:By: Asterisk Team (asteriskteam) 2017-07-03 06:20:10.911-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].