Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] memory leak - outbound socket


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
christian.loeschenkohl...
Guest





PostPosted: Wed Sep 16, 2009 9:46 am    Post subject: [Freeswitch-users] memory leak - outbound socket Reply with quote

hello

version : 1.0.4 std. tarball

- the wiki example for php outbound socket connection leaks memory without the async option
- the memory used is never given back
- async isn't that usefull for us - we want to query databases, set variables and so on
no wait statements are possible

<extension name="outbound-socket">
<condition field="destination_number" expression="^55(522)$">
<action application="set" data="ivr_path=/usr/local/freeswitch/scripts/ivrd-demo.php"/>
<action application="socket" data="127.0.0.1:8084 full"/> <<<<---- no async !!!!
</condition>
</extension>

the script is on the site
http://wiki.freeswitch.org/wiki/PHP_ESL

-------------------------------

what can i do?
on our production server we use outbound socket connection and the 4 gig of memory are
eaten up in less than a day

br

--
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP

xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria

T +43 (0) 5 77 11 - 1000
F +43 (0) 5 77 11 - 1002
E christian.loeschenkohl@xpirio.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
Back to top
rupa at rupa.com
Guest





PostPosted: Wed Sep 16, 2009 10:24 am    Post subject: [Freeswitch-users] memory leak - outbound socket Reply with quote

Either:

1) Provide a simple self-contained example that demonstrates the leak

or

2) Run your application with FreeSWITCH under valgrind and provide the
final output. To run freeswitch under valgrind:

http://wiki.freeswitch.org/wiki/Reporting_Bugs#Collection_Information_With_Valgrind_.28Linux.2FUnix.29

You should not have to run with high load to capture the behavior.
Try with just 5 (in series) and then stop freeswitch.


2009/9/16 Christian Löschenkohl <christian.loeschenkohl@xpirio.com>:
Quote:
hello

version : 1.0.4 std. tarball

- the wiki example for php outbound socket connection leaks memory without the async option
- the memory used is never given back
- async isn't that usefull for us - we want to query databases, set variables and so on
  no wait statements are possible

<extension name="outbound-socket">
<condition field="destination_number" expression="^55(522)$">
<action application="set" data="ivr_path=/usr/local/freeswitch/scripts/ivrd-demo.php"/>
<action application="socket" data="127.0.0.1:8084 full"/> <<<<---- no async !!!!
</condition>
</extension>

the script is on the site
http://wiki.freeswitch.org/wiki/PHP_ESL

-------------------------------

what can i do?
on our production server we use outbound socket connection and the 4 gig of memory are
eaten up in less than a day

br

--
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP

xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria

T  +43 (0) 5 77 11 - 1000
F  +43 (0) 5 77 11 - 1002
E  christian.loeschenkohl@xpirio.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




--
-Rupa

_______________________________________________
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
Back to top
christian.loeschenkohl...
Guest





PostPosted: Wed Sep 16, 2009 10:52 am    Post subject: [Freeswitch-users] memory leak - outbound socket Reply with quote

as a good fs user - of course i am Smile - i made a jira on this
MODAPP-336 to be precise

i hope this helps to solve my problem

br

On 2009-09-16 17:05, Rupa Schomaker wrote:
Quote:
Either:

1) Provide a simple self-contained example that demonstrates the leak

or

2) Run your application with FreeSWITCH under valgrind and provide the
final output. To run freeswitch under valgrind:

http://wiki.freeswitch.org/wiki/Reporting_Bugs#Collection_Information_With_Valgrind_.28Linux.2FUnix.29

You should not have to run with high load to capture the behavior.
Try with just 5 (in series) and then stop freeswitch.


2009/9/16 Christian Löschenkohl<christian.loeschenkohl@xpirio.com>:
Quote:
hello

version : 1.0.4 std. tarball

- the wiki example for php outbound socket connection leaks memory without the async option
- the memory used is never given back
- async isn't that usefull for us - we want to query databases, set variables and so on
no wait statements are possible

<extension name="outbound-socket">
<condition field="destination_number" expression="^55(522)$">
<action application="set" data="ivr_path=/usr/local/freeswitch/scripts/ivrd-demo.php"/>
<action application="socket" data="127.0.0.1:8084 full"/> <<<<---- no async !!!!
</condition>
</extension>

the script is on the site
http://wiki.freeswitch.org/wiki/PHP_ESL

-------------------------------

what can i do?
on our production server we use outbound socket connection and the 4 gig of memory are
eaten up in less than a day

br

--
Ing. Christian Löschenkohl
Technische Leitung, Forschung& Entwicklung VoIP

xpirio
Telekommunikation& Service GmbH
Lakeside B04
9020 Klagenfurt
Austria

T +43 (0) 5 77 11 - 1000
F +43 (0) 5 77 11 - 1002
E christian.loeschenkohl@xpirio.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





--
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP

xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria

T +43 (0) 5 77 11 - 1000
F +43 (0) 5 77 11 - 1002
E christian.loeschenkohl@xpirio.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
Back to top
mike at jerris.com
Guest





PostPosted: Wed Sep 23, 2009 3:23 am    Post subject: [Freeswitch-users] memory leak - outbound socket Reply with quote

This should now be resolved in svn trunk.

Mike

On Sep 16, 2009, at 11:39 AM, Christian Löschenkohl wrote:

Quote:
as a good fs user - of course i am Smile - i made a jira on this
MODAPP-336 to be precise

i hope this helps to solve my problem

br

On 2009-09-16 17:05, Rupa Schomaker wrote:
Quote:
Either:

1) Provide a simple self-contained example that demonstrates the leak

or

2) Run your application with FreeSWITCH under valgrind and provide
the
final output. To run freeswitch under valgrind:

http://wiki.freeswitch.org/wiki/Reporting_Bugs#Collection_Information_With_Valgrind_.28Linux.2FUnix.29

You should not have to run with high load to capture the behavior.
Try with just 5 (in series) and then stop freeswitch.


2009/9/16 Christian Löschenkohl<christian.loeschenkohl@xpirio.com>:
Quote:
hello

version : 1.0.4 std. tarball

- the wiki example for php outbound socket connection leaks memory
without the async option
- the memory used is never given back
- async isn't that usefull for us - we want to query databases,
set variables and so on
no wait statements are possible

<extension name="outbound-socket">
<condition field="destination_number" expression="^55(522)$">
<action application="set" data="ivr_path=/usr/local/freeswitch/
scripts/ivrd-demo.php"/>
<action application="socket" data="127.0.0.1:8084 full"/>
<<<<---- no async !!!!
</condition>
</extension>

the script is on the site
http://wiki.freeswitch.org/wiki/PHP_ESL

-------------------------------

what can i do?
on our production server we use outbound socket connection and the
4 gig of memory are
eaten up in less than a day

br


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services