[asterisk-bugs] [JIRA] (ASTERISK-27105) when setting 'maxfiles' in asterisk.conf, a message is printed, even in rasterisk -x
Tzafrir Cohen (JIRA)
noreply at issues.asterisk.org
Mon Jul 3 07:42:57 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tzafrir Cohen updated ASTERISK-27105:
-------------------------------------
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?
was:
I set maxfiles in asterisk.conf, and then:
{code}
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?
> 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