Re: Memory leakage in kannel

2001-12-17 Thread Aarno Syvänen

Hi,

Manish Khare wrote:
   I do not think that is the reason as I have tested it
   with 1 message/second. I am using fakesmsc(Not of
   kannel). Even at 1 msg/sec it is givving same error.
   Can you please tell me which is the optimal rate
   of sending message to Kannel ?

It is certainly higher than 1 msg/s !

Should I use kannel's fakesmsc ?

Fakesmsc is just a testing tool. It is possible that it is 
leaking memory. Does debug trace after ^C report allocated
areas ?
   Has any one tested the optimal performance of Kannel ?

Usually the bottleneck is smsc, not Kannel.

 On Fri, 14 Dec 2001 pravesh khokhar wrote :
  The reason could be that the rate with which you are
  pumping messages to
  kannel is much greater than the rate at which responses
  are coming from the
  SMSC and so as per implementation of kannel kannel
  keeps on allocating
  memory for the messages u pump into and deaalocates
  only when an response
  comes from smsc. So over a period of load pumping u
  might get ur all memory
  allocated and so this error.
 
  Regards,
  Pravesh
  - Original Message -
  From: Manish Khare [EMAIL PROTECTED]
  To: Aarno Syvänen [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Thursday, December 13, 2001 7:42 PM
  Subject: Re: Re: Memory leakage in kannel
 
 
 
 
  Hello,
I am using SMS service. I have deleted all the
   WAP files. I am using only SMPP part of it.
I have configured it with --alloc=native as
it was not working for more then 2-3 hours in
another configuration and comming out by giving
error.
Now it works with 1 msg/sec or 10 msg/sec (any
no of messages between this range) and gives
error (can not allocate memmory any number
System error 11 : resource temporary unavailable);
 
I am using kannel 1.2 version.
Can you or any one tell me what could be the
reason ?
Thanks
 From
  Manish Khare
 
 
 
  On Thu, 13 Dec 2001 Aarno Syvänen wrote :
   Hi,
  
   Manish Khare wrote:
  
  Can anyone tell why my kannel gateway works for
  some time and after some time it crashes by giving
  error
  Resource temporaryly unavailable.
  I am having 248 MB RAM and 1 gb of swap space
  and running it on Solaris 8 Intel system.
  Any help please ?
  From
   Manish Khare
  
   Are you using WAP or SMS services ?
  
   Aarno
 
 
 





Re: Memory leakage in kannel

2001-12-13 Thread Aarno Syvänen

Hi,

Manish Khare wrote:

   Can anyone tell why my kannel gateway works for
   some time and after some time it crashes by giving
   error
   Resource temporaryly unavailable.
   I am having 248 MB RAM and 1 gb of swap space
   and running it on Solaris 8 Intel system.
   Any help please ?
   From
Manish Khare

Are you using WAP or SMS services ?

Aarno




Re: Re: Re: Memory leakage in kannel

2001-12-13 Thread Manish Khare


Sir,
  I do not think that is the reason as I have tested it
  with 1 message/second. I am using fakesmsc(Not of
  kannel). Even at 1 msg/sec it is givving same error.
  Can you please tell me which is the optimal rate
  of sending message to Kannel ? Should I use kannel's
  fakesmsc ? 
  Has any one tested the optimal performance of Kannel ?
  Please reply soon.
  Thanks
  From
   Manish Khare

On Fri, 14 Dec 2001 pravesh khokhar wrote :
 The reason could be that the rate with which you are 
 pumping messages to
 kannel is much greater than the rate at which responses 
 are coming from the
 SMSC and so as per implementation of kannel kannel 
 keeps on allocating
 memory for the messages u pump into and deaalocates 
 only when an response
 comes from smsc. So over a period of load pumping u 
 might get ur all memory
 allocated and so this error.
 
 Regards,
 Pravesh
 - Original Message -
 From: Manish Khare [EMAIL PROTECTED]
 To: Aarno Syvänen [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, December 13, 2001 7:42 PM
 Subject: Re: Re: Memory leakage in kannel
 
 
 
 
 Hello,
   I am using SMS service. I have deleted all the
  WAP files. I am using only SMPP part of it.
   I have configured it with --alloc=native as
   it was not working for more then 2-3 hours in
   another configuration and comming out by giving
   error.
   Now it works with 1 msg/sec or 10 msg/sec (any
   no of messages between this range) and gives
   error (can not allocate memmory any number
   System error 11 : resource temporary unavailable);
 
   I am using kannel 1.2 version.
   Can you or any one tell me what could be the
   reason ?
   Thanks
From
 Manish Khare
 
 
 
 On Thu, 13 Dec 2001 Aarno Syvänen wrote :
  Hi,
 
  Manish Khare wrote:
 
 Can anyone tell why my kannel gateway works for
 some time and after some time it crashes by giving
 error
 Resource temporaryly unavailable.
 I am having 248 MB RAM and 1 gb of swap space
 and running it on Solaris 8 Intel system.
 Any help please ?
 From
  Manish Khare
 
  Are you using WAP or SMS services ?
 
  Aarno
 
 
 
 





Memory leakage in kannel

2001-12-12 Thread Manish Khare



Hi,
  Can anyone tell why my kannel gateway works for
  some time and after some time it crashes by giving
  error
  Resource temporaryly unavailable.
  I am having 248 MB RAM and 1 gb of swap space
  and running it on Solaris 8 Intel system.
  Any help please ?
  From
   Manish Khare

On Wed, 12 Dec 2001 [EMAIL PROTECTED] wrote :
 Send users mailing list submissions to
   [EMAIL PROTECTED]
 
 To subscribe or unsubscribe via the World Wide Web, 
 visit
   http://kannel.3glab.org/mailman/listinfo/users
 or, via email, send a message with subject or body 
 'help' to
   [EMAIL PROTECTED]
 
 You can reach the person managing the list at
   [EMAIL PROTECTED]
 
 When replying, please edit your Subject line so it is 
 more specific
 than Re: Contents of users digest...
 
 
 Today's Topics:
 
1. RE: Libxml2-2.5 (Solomon Odeny)
2. Multiple Kannel BB for HA (Philippe Girolami (ESF)
 )
3. Re: Multiple Kannel BB for HA (Carwyn T. Edwards)
4. RE: Multiple Kannel BB for HA (Paul Keogh)
5. RE: Multiple Kannel BB for HA (Philippe Girolami 
 (ESF))
 
 --__--__--
 
 Message: 1
 Reply-To: [EMAIL PROTECTED]
 From: Solomon Odeny [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: RE: Libxml2-2.5
 Date: Tue, 11 Dec 2001 15:42:21 +0300
 
 Thanks,
 
 I have installed the latest libxml2 but still get the 
 following error
 
 configure: error: Libxml is too old. You need at least 
 2.2.5
 
 Any idea what the problem could be?
 
 Solomon
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 On Behalf Of
 Aarno Syv=E4nen
 Sent: Tuesday, December 11, 2001 1:08 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Libxml2-2.5
 
 
 Hi,
 
 Solomon Odeny wrote:
 
  Hello,
 
  Anyone knows where I can get the latest version of 
 Libxml. I need at le=
 ast
  version 2.2.5 to install the latest kannel.
 
 See http://www.xmlsoft.org/downloads.html
 
 Aarno
 
 
 
 
 --__--__--
 
 Message: 2
 From: Philippe Girolami (ESF) 
 [EMAIL PROTECTED]
 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Subject: Multiple Kannel BB for HA
 Date: Wed, 12 Dec 2001 11:16:18 +0100
 
 Hello,
 
 Has anyone ever deployed multiple BearerBoxes for 
 High-availability purposes ? Do SMS-C usually allow two 
 receivers to bind on the same address range ? How do 
 they handle it usually : distribute load evenly (I'm 
 probably dreaming here).
 Has anyone figured out a good way of doing this ? Maybe 
 with load balancers ?
 
 Regards,
 Philippe Girolami
 Software Engineer
 I-Lab, Ericsson France 
 
 
 --__--__--
 
 Message: 3
 Date: Wed, 12 Dec 2001 10:39:58 +
 From: Carwyn T. Edwards [EMAIL PROTECTED]
 To: Philippe Girolami (ESF) 
 [EMAIL PROTECTED]
 CC: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Subject: Re: Multiple Kannel BB for HA
 
 Philippe Girolami (ESF) wrote:
 
 Hello,
 
 Has anyone ever deployed multiple BearerBoxes for 
 High-availability purposes ? Do SMS-C usually allow two 
 receivers to bind on the same address range ? How do 
 they handle it usually : distribute load evenly (I'm 
 probably dreaming here).
 Has anyone figured out a good way of doing this ? 
 Maybe with load balancers ?
 
 Some operators will let you bind in with multiple RX 
 channels others 
 will not. If they do, the most common policy on the 
 SMSC is to round 
 robin over all the RX channels for a given address 
 range. Other 
 SMSCs/gateways will just use the last RX that connected 
 for that range.
 
 Carwyn
 
 --
 Carwyn Edwards
 Software Engineer
 
 Hay Systems Ltd - http://www.haysystems.com/
 International GSM SMS Connectivity Providers
 (Now with high throughput two way international 
 messaging)
 
 
 
 
 --__--__--
 
 Message: 4
 From: Paul Keogh [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: RE: Multiple Kannel BB for HA
 Date: Wed, 12 Dec 2001 11:34:52 -
 
  Has anyone ever deployed multiple BearerBoxes for 
  High-availability purposes ? Do SMS-C usually allow 
 two 
  receivers to bind on the same address range ? How do 
 they 
  handle it usually : distribute load evenly (I'm 
 probably 
  dreaming here).
  Has anyone figured out a good way of doing this ? 
 Maybe with 
  load balancers ?
 
 Yes, we've looked at some architectures for this. As 
 pointed out,
 it depends on the SMSC provider and on your position; 
 if you're
 just another ESME gateway supplier then you're usually 
 subject to
 a retail type of policy, if you're supplying core 
 network technology
 in terms of proxy solutions etc., then they're much 
 more flexible.
 The SMSC routing algorithm in the BB does have an 
 element of load
 sharing but as BBs don't know about each other, you 
 need to get down
 to the IP level to share between BBs. A more visionary 
 approach would
 be to replace the internal Box comms. with a message 
 queue,