[asterisk-bugs] [JIRA] (ASTERISK-27105) [patch]core: when setting 'maxfiles' in asterisk.conf, a message is printed, even in rasterisk -x

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Jul 3 19:22:57 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-27105:
------------------------------------

    Summary: [patch]core: when setting 'maxfiles' in asterisk.conf, a message is printed, even in rasterisk -x  (was: when setting 'maxfiles' in asterisk.conf, a message is printed, even in rasterisk -x)

> [patch]core: when setting 'maxfiles' in asterisk.conf, a message is printed, even in rasterisk -x
> -------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27105
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27105
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 13.16.0, 14.5.0
>            Reporter: Tzafrir Cohen
>            Severity: Minor
>
> 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?



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list