RE: version 1.1.6 processing limits

2002-05-30 Thread Cold Feet

thanks oded... this should give me a start on what to do 


- Original Message -
From: "Oded Arbel" <[EMAIL PROTECTED]>
Date: Thu, 30 May 2002 16:06:20 +0300
To: "Cold Feet" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> 
Subject: RE: version 1.1.6 processing limits


> if you want to use the native malloc, then configure it with malloc=native. I don't 
>know what the memory limit is in native malloc, but I assume there are none. if you 
>are using a checking malloc, and want to use a bigger memory pool then you'll have to 
>change the malloc code in gwlib/gwmem-check.c and then recompile with that. it has no 
>relevance to the ammount of physical memory available at compile time.
> 
> --
> Oded Arbel
> m-Wise Inc.
> [EMAIL PROTECTED]
> (972)-67-340014
> (972)-9-9581711 (ext: 116)
> 
> ::..
> I suppose when it gets to that point, we shan't know how it does it.
>   -- Turing
> 
> 
> > -Original Message-
> > From: Cold Feet [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 30, 2002 12:41 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: version 1.1.6 processing limits
> > 
> > 
> > hi oded,
> > 
> > what do you mean by recompile
> > if i have recompiled it on a 256MB memory before
> > and this time i want to upgrade to 1GB memory, i have
> > to recompile it again? is there any other parameters or flags 
> > which i have to include like malloc=native?
> > 
> > 
> > 
> > 
> > - Original Message -
> > From: "Oded Arbel" <[EMAIL PROTECTED]>
> > Date: Thu, 30 May 2002 10:14:20 +0300
> > To: "Cold Feet" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> 
> > Subject: RE: version 1.1.6 processing limits
> > 
> > 
> > > I'm not sure how "native" malloc works, but the checking 
> > malloc (which we use always) has an upper limit on the number 
> > of allocations allowed. if you want to use more memory you 
> > will have to recompile.
> > > 
> > > --
> > > Oded Arbel
> > > m-Wise Inc.
> > > [EMAIL PROTECTED]
> > > (972)-67-340014
> > > (972)-9-9581711 (ext: 116)
> > > 
> > > ::..
> > > "All books can be indecent books, but recent books are bolder;
> > > For filth, I'm glad to say, is in the mind of the beholder.
> > > When correctly viewed, everything is lewd!
> > > I could tell you things about Peter Pan 
> > > (and the Wizard of Oz, there's a dirty old man) ..." 
> > >   --Tom Lehrer 
> > > 
> > > 
> > > > -Original Message-
> > > > From: Cold Feet [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, May 30, 2002 4:16 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: version 1.1.6 processing limits
> > > > 
> > > > 
> > > > hi again,
> > > > 
> > > > does it help and give better result if i upgrade the memory 
> > > > to say 1GB from its present 256MB configuration? since kannel 
> > > > is thread oriented in implementation, it uses memory to 
> > > > handle transactions, if i have more memory in place, then it 
> > > > could handle more threads at a given time... correct me if i 
> > > > am wrong... anyhow, this is just my thoughts...
> > > > 
> > > > 
> > > > 
> > > > - Original Message -
> > > > From: "Oded Arbel" <[EMAIL PROTECTED]>
> > > > Date: Wed, 29 May 2002 11:03:09 +0300
> > > > To: "Cold Feet" <[EMAIL PROTECTED]> 
> > > > Subject: RE: version 1.1.6 processing limits
> > > > 
> > > > 
> > > > > This question should be asked on the users list.
> > > > > In recent test we've run, we pushed about 25 messages a 
> > > > second, which
> > > > > was limited mostly by our middle tier  setup then by 
> > > > kannel. I estimate
> > > > > that Kannel alone can go much higher then that.
> > > > > 
> > > > > --
> > > > > Oded Arbel
> > > > > m-Wise Inc.
> > > > > [EMAIL PROTECTED]
> > > > > (972)-67-340014
> > > > > (972)-9-9581711 (ext: 116)
> > > > > 
> > > > > ::..
> > > > > X windows:
> > > > > A new level of software disintegration.
> > > > > 
> > > > > 
> >

RE: version 1.1.6 processing limits

2002-05-30 Thread Cold Feet

hi oded,

what do you mean by recompile
if i have recompiled it on a 256MB memory before
and this time i want to upgrade to 1GB memory, i have
to recompile it again? is there any other parameters or flags which i have to include 
like malloc=native?




- Original Message -
From: "Oded Arbel" <[EMAIL PROTECTED]>
Date: Thu, 30 May 2002 10:14:20 +0300
To: "Cold Feet" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> 
Subject: RE: version 1.1.6 processing limits


> I'm not sure how "native" malloc works, but the checking malloc (which we use 
>always) has an upper limit on the number of allocations allowed. if you want to use 
>more memory you will have to recompile.
> 
> --
> Oded Arbel
> m-Wise Inc.
> [EMAIL PROTECTED]
> (972)-67-340014
> (972)-9-9581711 (ext: 116)
> 
> ::..
> "All books can be indecent books, but recent books are bolder;
> For filth, I'm glad to say, is in the mind of the beholder.
> When correctly viewed, everything is lewd!
> I could tell you things about Peter Pan 
> (and the Wizard of Oz, there's a dirty old man) ..." 
>   --Tom Lehrer 
> 
> 
> > -Original Message-
> > From: Cold Feet [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 30, 2002 4:16 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: version 1.1.6 processing limits
> > 
> > 
> > hi again,
> > 
> > does it help and give better result if i upgrade the memory 
> > to say 1GB from its present 256MB configuration? since kannel 
> > is thread oriented in implementation, it uses memory to 
> > handle transactions, if i have more memory in place, then it 
> > could handle more threads at a given time... correct me if i 
> > am wrong... anyhow, this is just my thoughts...
> > 
> > 
> > 
> > - Original Message -
> > From: "Oded Arbel" <[EMAIL PROTECTED]>
> > Date: Wed, 29 May 2002 11:03:09 +0300
> > To: "Cold Feet" <[EMAIL PROTECTED]> 
> > Subject: RE: version 1.1.6 processing limits
> > 
> > 
> > > This question should be asked on the users list.
> > > In recent test we've run, we pushed about 25 messages a 
> > second, which
> > > was limited mostly by our middle tier  setup then by 
> > kannel. I estimate
> > > that Kannel alone can go much higher then that.
> > > 
> > > --
> > > Oded Arbel
> > > m-Wise Inc.
> > > [EMAIL PROTECTED]
> > > (972)-67-340014
> > > (972)-9-9581711 (ext: 116)
> > > 
> > > ::..
> > > X windows:
> > > A new level of software disintegration.
> > > 
> > > 
> > > > -Original Message-
> > > > From: Cold Feet [mailto:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, May 29, 2002 4:57 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: version 1.1.6 processing limits
> > > > 
> > > > 
> > > > hi all,
> > > > 
> > > > for the first month of being up on kannel 1.1.6 development 
> > > > release it has its ups and downs on its live run. on its 
> > > > first week several times it went down by itself... and so i 
> > > > recompiled it with additional flags and now have remained up 
> > > > and running and i can say i am to the point that i may say, 
> > > > the system and compilation issue is now stable for my server. 
> > > > however, i need a gauge on its processing limits. the system 
> > > > is handling sms only data and wap is disabled. and so far 
> > > > just a few number of sms is being received and replied to. i 
> > > > am hitting about 6,000 received sms in a day. all i know that 
> > > > this is just a small number to speak with. i would like to 
> > > > ask your input then, how much data can kannel process at any 
> > > > given time whereby it is really pushed to the limits. how 
> > > > many messages can it process in a given second or minute? to 
> > > > process a huge number of sms data, i need to have a good 
> > > > amount of RAM. i am using redhat linux 7.2 on an intel 
> > > > pentium III 866 mhz with 256MB of SD!
> > > > RA!
> > > > M. what do you think is a good server configuration to 
> > setup kannel.
> > > > 
> > > > thanks
> > > > -- 
> > > > Surfy! http://www.surfy.com  Great web search, free web 
> > > > email, and $9.95 unlimited Internet access
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > Powered by Outblaze
> > > > 
> > > > 
> > > 
> > > 
> > 
> > -- 
> > Surfy! http://www.surfy.com  Great web search, free web 
> > email, and $9.95 unlimited Internet access
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Powered by Outblaze
> > 
> > 
> 
> 

-- 
Surfy! http://www.surfy.com  Great web search, free web email, and $9.95 unlimited 
Internet access










Powered by Outblaze




RE: version 1.1.6 processing limits

2002-05-29 Thread Cold Feet

hi again,

does it help and give better result if i upgrade the memory to say 1GB from its 
present 256MB configuration? since kannel is thread oriented in implementation, it 
uses memory to handle transactions, if i have more memory in place, then it could 
handle more threads at a given time... correct me if i am wrong... anyhow, this is 
just my thoughts...



- Original Message -
From: "Oded Arbel" <[EMAIL PROTECTED]>
Date: Wed, 29 May 2002 11:03:09 +0300
To: "Cold Feet" <[EMAIL PROTECTED]> 
Subject: RE: version 1.1.6 processing limits


> This question should be asked on the users list.
> In recent test we've run, we pushed about 25 messages a second, which
> was limited mostly by our middle tier  setup then by kannel. I estimate
> that Kannel alone can go much higher then that.
> 
> --
> Oded Arbel
> m-Wise Inc.
> [EMAIL PROTECTED]
> (972)-67-340014
> (972)-9-9581711 (ext: 116)
> 
> ::..
> X windows:
> A new level of software disintegration.
> 
> 
> > -Original Message-
> > From: Cold Feet [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 29, 2002 4:57 AM
> > To: [EMAIL PROTECTED]
> > Subject: version 1.1.6 processing limits
> > 
> > 
> > hi all,
> > 
> > for the first month of being up on kannel 1.1.6 development 
> > release it has its ups and downs on its live run. on its 
> > first week several times it went down by itself... and so i 
> > recompiled it with additional flags and now have remained up 
> > and running and i can say i am to the point that i may say, 
> > the system and compilation issue is now stable for my server. 
> > however, i need a gauge on its processing limits. the system 
> > is handling sms only data and wap is disabled. and so far 
> > just a few number of sms is being received and replied to. i 
> > am hitting about 6,000 received sms in a day. all i know that 
> > this is just a small number to speak with. i would like to 
> > ask your input then, how much data can kannel process at any 
> > given time whereby it is really pushed to the limits. how 
> > many messages can it process in a given second or minute? to 
> > process a huge number of sms data, i need to have a good 
> > amount of RAM. i am using redhat linux 7.2 on an intel 
> > pentium III 866 mhz with 256MB of SD!
> > RA!
> > M. what do you think is a good server configuration to setup kannel.
> > 
> > thanks
> > -- 
> > Surfy! http://www.surfy.com  Great web search, free web 
> > email, and $9.95 unlimited Internet access
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Powered by Outblaze
> > 
> > 
> 
> 

-- 
Surfy! http://www.surfy.com  Great web search, free web email, and $9.95 unlimited 
Internet access










Powered by Outblaze




version 1.1.6 processing limits

2002-05-28 Thread Cold Feet

hi all,

for the first month of being up on kannel 1.1.6 development release it has its ups and 
downs on its live run. on its first week several times it went down by itself... and 
so i recompiled it with additional flags and now have remained up and running and i 
can say i am to the point that i may say, the system and compilation issue is now 
stable for my server. however, i need a gauge on its processing limits. the system is 
handling sms only data and wap is disabled. and so far just a few number of sms is 
being received and replied to. i am hitting about 6,000 received sms in a day. all i 
know that this is just a small number to speak with. i would like to ask your input 
then, how much data can kannel process at any given time whereby it is really pushed 
to the limits. how many messages can it process in a given second or minute? to 
process a huge number of sms data, i need to have a good amount of RAM. i am using 
redhat linux 7.2 on an intel pentium III 866 mhz with 256MB of SDRAM. what do you 
think is a good server configuration to setup kannel.

thanks
-- 
Surfy! http://www.surfy.com  Great web search, free web email, and $9.95 unlimited 
Internet access










Powered by Outblaze




sending operator logo on non-nokia phones

2002-05-25 Thread Cold Feet

hi guys,

i dont know if this is an appropriate question for you all.. somehow i cant find 
documentation on sending operator logos to non-nokia phones. i already have a working 
code for nokia phones and what is left for me is the code for sending it to ericsson, 
siemens, alcatel... etc... does anyone have an idea of sending such or at least a 
url which would point me to what i am looking for... ive scanned through the developer 
and support section of this non-nokia companies but to no avail

thanks.
-- 
Surfy! http://www.surfy.com  Great web search, free web email, and $9.95 unlimited 
Internet access










Powered by Outblaze




Re: kannel 1.1.6 dying

2002-05-14 Thread Cold Feet

i dont know which went first to die. im running bearerbox and smsbox and both died.

my setup is on redhat 7.2 server on an intel pentium III machine. the setup and 
compilation is straight forward as was is enumerated in the users guide. i didnt 
compile the code with flags nor options. the process are as follows :

1. untar gateway-1.1.6.tar.gz
2. ./configure
3. make

i didnt execute 'make install' bec i want it to run even when it is not a root account.

4. log level is 5
5. ./bearerbox smskannel.conf &
6. ./smsbox smskannel.conf &


now, im reading the users guide again. i compiled it using ./configure 
--with-malloc=native. and a log level of 0.

is there something else that i should do so that i could keep it stable.

thanks


- Original Message -
From: Stipe Tolj <[EMAIL PROTECTED]>
Date: Tue, 14 May 2002 08:49:00 +0200 
To: Cold Feet <[EMAIL PROTECTED]>
Subject: Re: kannel 1.1.6 dying


> Cold Feet wrote:
> > 
> > during the past week i compiled and run version 1.1.6 of kannel. it was all fine 
>for the past 4 days. apparently on the weekends(sunday midnight), it apparently died. 
>for unknown reasion, i cant figure it out because there was nothing on the logs. i am 
>using CIMD2 protocol and log level of 5. but i cant find anything. does this really 
>happen(die) after sometime? what could be a good solution to keep it stable.
> 
> when you say dying, what does that mean? which of the boxes dropped?
> 
> Keeping things stable is our main interest, I think I speak for most
> of us developers here, but you'll have to give us some more details
> what might have caused the crash. Apparently log snapshots would be
> great.
> 
> Stipe
> 
> [EMAIL PROTECTED]
> ---
> Wapme Systems AG
> 
> Münsterstr. 248
> 40470 Düsseldorf
> 
> Tel: +49-211-74845-0
> Fax: +49-211-74845-299
> 
> E-Mail: [EMAIL PROTECTED]
> Internet: http://www.wapme-systems.de
> ---
> wapme.net - wherever you are
> 
> 

-- 
Surfy! http://www.surfy.com  Great web search, free web email, and $9.95 unlimited 
Internet access










Powered by Outblaze




kannel 1.1.6 dying

2002-05-13 Thread Cold Feet

hi,

during the past week i compiled and run version 1.1.6 of kannel. it was all fine for 
the past 4 days. apparently on the weekends(sunday midnight), it apparently died. for 
unknown reasion, i cant figure it out because there was nothing on the logs. i am 
using CIMD2 protocol and log level of 5. but i cant find anything. does this really 
happen(die) after sometime? what could be a good solution to keep it stable.

thanks...
-- 
Surfy! http://www.surfy.com  Great web search, free web email, and $9.95 unlimited 
Internet access










Powered by Outblaze




Re: CIMD tariff classes

2002-02-26 Thread Cold Feet

hi,

i am relatively new at this mailing list and i have been reading the daily post 
lately. in a way, it is really informational to what my objective is. 

i am also into this mentioned implementation of the tariff class where in the mobile 
subscriber is billed on the type of data he/she requested. if it is a text sms, i 
could send out a tariff of 1. if it is a logo or ringtone, i could send out a tariff 
of 2. however i am not sure how to do it. ive been looking at your implementation of 
the tariff class and it is located in this files : msg_dcl.c(?), shared.c, smsbox.c 
and smsc_cimd2.c. my requirement is also with the cimd2 protocol. yes, i can read your 
code as it is written in C. but one thing i have difficulty is how to send the tariff 
class when sending the text/logo to the mobile subscriber.

you have mentioned to include 'x-accept-kannel-headers=true' in sms-service group. and 
'cimd2_tariff_class' and 'cimd2_sdesc-paramaters' in sendsms-interface. where is this 
sendsms-interface located? is it the sendsms-user group on smskannel.conf? and how 
could i send a text reply to sendsms with tariff=1 or a logo with tariff=2. should i 
define two sendsms-user groups on the config file? one for tariff=1 and one for 
tariff=2?

kindly pls help me by giving an example on how to write the smskannel.conf and how to 
specifically send a text and logo using  sms push

i appreciate very much your help and to the rest of the members of this mailing list.

thanks.



-Original Message-
From: Pekka Ahmavuo 
Subject: Re: CIMD tariff classes 
Date: Fri, 08 Feb 2002 06:08:38 -0800 


Hello Anders,

> 
> I know this has been discussed before, but has anybody taken the effort
> to implement tariff classes for CIMD? If not, I need to do it. 
> 
> (I know this is a CIMD only thing, as almost all other SMSCs don't
> support extra billing information. What would be the right way to
> implement a thing like this? Maybe extending the msg structure, allowing
> it to contain billing information that can be used by all SMSCs... ?)
> 
> Thanks,
> 
> --
> Anders Lindh
> FlyerOne Ltd


from the url: http://www.netland.fi/kannel/gateway-tariff-19-10.tar.gz you can 
find Oct 19th cvs kannel with my tariff class changes. I believe it should be 
relatively easy to update it to the latest cvs. 

Please test it extensively before taking it into production. I have had some 
problems with one installation, and I am not sure if it was because of bugs in 
my code, bugs in the rest of the kannel or if there was something wrong with 
the Linux installation (a Debian development version). 

Let me know if you find any bugs from my code. Fixes are wellcome. Please let 
me know also if you dont have any problems. When I sure enough that my code is 
relatively bug-free I will commit the changes into the cvs. 

>From below you can find some info about my tariff class changes. 

br, 
Pekka Ahmavuo 
Netland Oy 


-- 

Here is what I have done so far regarding the cimd2 tariff class. 

First some backgrounds: 
Two parameters are involved in setting the billing information, the 
"tariff class" and "service description". (Altough this may 
be specific 
to Finnish operator Radiolnja. Please comment if you know that some other CIMD2 
operator treats he billing info in some other way). Tariff class defines how 
much the message from the application to the mobile costs the receiver 
(i.e. how much the client pays). Tariff class has  predefined integer 
values, for example, SMS with tariff class 4 costs the client 1,42 FIM. 
When the tariff class is set, the service description should be also set 
to zero. If service description set to 1,the message if free to the client 
and a fee is charged from the application. 


Some examples: 

Message from the application to the mobile: 
tariff class: 4 
service description: 0 
=> mobile pays 1.42 FIM 

Message from the application to the mobile: 
tariff class: 4 
service description: 1 
=> application pays 0.60 FIM + VAT 

The implementation: 
I have added cimd2_tariff_class and cimd2_sdesc-paramaters to the 
sendsms-interface and corresponding X-Kannel-CIMD2-Tariff-Class and 
X-Kannel-CIMD2-Service-Description HTTP-headers. Setting the the 
HTTP-headers requires that sms-service group variable 
x-accept-kannel-headers is true. 

If a message with a tariff class is splitted into several SMSs, the 
service  description is set to 1 for other than the first SMS, meaning 
that only the first SMS is billed from the customer and the application 
pays the rest of the SMSs. (For example, the client pays the same fee of 
a picture message regardless if it is split into two or three SMSs.) 

TODO: 
- Should the application be able to set different tariff class/service 
description values for splitted SMSs? 
- Should we add config file variables for setting default tariff 
class/service description values? 


Btw, treating the SMSC specific paramaters like the common paramaters 
leads to a 

quite ugly