Re: [Freeswitch-users] inefficient build scripts for Debian 8, 32bit packages ?
On 20/07/16 08:27, freeswitch-users-request@lists.freeswitch.org wrote:
Date: Wed, 20 Jul 2016 00:35:51 +0200 From: Stanislav Sinyagin <ssinyagin@gmail.com> Subject: Re: [Freeswitch-users] inefficient build scripts for Debian 8, 32bit packages ? To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Message-ID: <CACOYK=imxbQZ6x+sZFbsKLWB-cOAxV4Fk_REsHgL+PoGMSyTHA@mail.gmail.com> Content-Type: text/plain; charset=UTF-8
actually in the scripts at https://freeswitch.org/confluence/display/FREESWITCH/Building+debs+for+other... the build utilities are executed with -z1 option, which should result in minimal compression. Did you use that in your build procedure?
I apologise Stanislav, the memory issue is not with your script but the invoked debian/rules script by Travis Cross, when building the sound packages I had to change the compression level in line 90 on a 512MiB RAM machine: xz -6ev $(pkg)_$(ver).orig.tar compression level was -9e resulting in allocating 674 MiB for the operation.
On Tue, Jul 19, 2016 at 10:57 PM, Peter <happy@hour.com> wrote:
Thanks Steven and Luis for your lightning fast responses!
Reading the man pages for xz was indeed a good suggestion. So with 512MiB RAM, I got away with 6e for the compression level :-)
On 19/07/16 20:05, freeswitch-users-request@lists.freeswitch.org wrote:
Le 19 juil. 2016 12:24 PM, "Steven Ayre" <steveayre@gmail.com> a ?crit :
The issue is that xz is compressing with the extreme '9e' compression option which is the most resource-hungry. 9e needs 674MB during compression (see the table on the xz manpage). Try running it via the util.sh script with the -z option to set a much lower compression level (eg 3).
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------
Message: 2 Date: Tue, 19 Jul 2016 21:44:10 -0300 From: ?talo Rossi <italo@freeswitch.org> Subject: Re: [Freeswitch-users] limit usage? To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Message-ID: <CABMX_w-Sqq+QKGssBOrwpuLsTLSa9PsxoJ2f2c0Pjg4Oa1nmhA@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
It?s already documented
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+Limit#mo...
On Mon, Jul 18, 2016 at 7:04 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I keep a list of variables that need yet to be documented. I'll add this one too.
But in general, source code is your best friend ))
On 18 Jul 2016 22:18, "Yu Boot" <yu@yu-boot.ru> wrote:
Thanks! limit_ignore_transfer=true solves my problem.
Never seen that parameter in wiki etc. Kind of yet another FS black magic :)
18.07.2016 17:47, ?talo Rossi ?????:
Hard to say without logs.
But a common mistake is to transfer the call to another extension and by default this causes would cause drop the limit, you may need to set limit_ignore_transfer=true
On Mon, Jul 18, 2016 at 7:40 AM, Yu Boot <yu@yu-boot.ru> wrote:
I want to use "limit" dialplan app for calls count.
dialplan:
....
<action application="limit" data="hash peername allcalls 1000"/> .....
Then, in fs_cli:
limit_usage hash peername allcalls 0
Why zero? How to use this correctly?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ?talo Rossi italo@freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (1)
-
Peter