FreeSWITCH: init.d script with wron ulimit -s in AlpineLinux 2.6.0
if I execute “/etc/init.d/freeswitch restart” I get the message:
#/etc/freeswitch# /etc/init.d/freeswitch restart
* Stopping Freeswitch … [ ok ]
* Starting Freeswitch …
Error: stacksize 244 is not optimal: run ulimit -s 240 from your shell
before starting the application.
auto-adjusting stack size for optimal performance…
2319 Backgrounding. [ ok ]
This message disappears once I adjust the “ulimit -s 244” command in /etc/init.d/fresswitch to “ulimit -s 240”
(from redmine: issue id 1929, created on 2013-05-22, closed on 2013-06-03)
- Changesets:
- Revision 361e18e8 by Natanael Copa on 2013-05-23T16:34:57Z:
main/freeswitch: set stacksize to 240
ref #1929
- Revision efb930d2 by Natanael Copa on 2013-05-29T16:53:37Z:
main/freeswitch: set stacksize to 240
fixes #1929
(cherry picked from commit 361e18e8327b89aa11943dd236d5df7e8e4e7781)