Re: Memory problem with kannel sms outgoing delivery report
Allison Almeida wrote: Andreas. I already used kannel with delivery reports in physical servers and servers within VMWare. In physical servers i detected many leaks of memory when used heavily with delivery reports, but in the VMWare the leaks grow up overthrow the bearerbox. A stable version 1.4.1 solved many leaks, but I still have problems to run in VMWare. Today i use in the VMWare only with delivery report in databases. + Yes, you're correct.. i already consult this problem on debian channel and all people said that there is problem with memory.. I use VMware because i need to build test sms gateway when i at work, home, or vacation.. i can not bring my pc anywhere ;) do you ever try PlaySMS MPS (Mobile Portal System)? what kind of delivery report that playsms use? what do you mean with this statement: Today i use in the VMWare only with delivery report in databases. what kind of delivery report is that? i use this kind of delivery report: http://server_ip/cgi-bin/sendsms?username=userpassword=passfrom=numberto=numbertext=some_messagedlr-mask=31dlr-url=http://172.168.100.208/dlr.php?type=%dslid=$smslog_iduid=$uid Would you tell me give example about delivery report that you use? the kannel.conf or php source.. Thanks a lot.. Yudi
Re: Memory problem with kannel sms outgoing delivery report
I think the problem is most probably not kannel eating too much memory but MySQL who caches all DB stuff. So consider tuning it. On 07.11.2007, at 08:59, Yudi Wijaya wrote: Allison Almeida wrote: Andreas. I already used kannel with delivery reports in physical servers and servers within VMWare. In physical servers i detected many leaks of memory when used heavily with delivery reports, but in the VMWare the leaks grow up overthrow the bearerbox. A stable version 1.4.1 solved many leaks, but I still have problems to run in VMWare. Today i use in the VMWare only with delivery report in databases. + Yes, you're correct.. i already consult this problem on debian channel and all people said that there is problem with memory.. I use VMware because i need to build test sms gateway when i at work, home, or vacation.. i can not bring my pc anywhere ;) do you ever try PlaySMS MPS (Mobile Portal System)? what kind of delivery report that playsms use? what do you mean with this statement: Today i use in the VMWare only with delivery report in databases. what kind of delivery report is that? i use this kind of delivery report: http://server_ip/cgi-bin/sendsms? username =userpassword=passfrom=numberto=numbertext=some_messagedlr- mask=31dlr-url=http://172.168.100.208/dlr.php?type=%dslid= $smslog_iduid=$uid Would you tell me give example about delivery report that you use? the kannel.conf or php source.. Thanks a lot.. Yudi
Re: Memory problem with kannel sms outgoing delivery report
Hi, If it should be kannel issue then I would suggest to try CVS version and if it still crash compile kannel with --with-malloc=check and check logs where memory leaks founds and report it to devel list. Andreas Fink wrote: I think the problem is most probably not kannel eating too much memory but MySQL who caches all DB stuff. So consider tuning it. On 07.11.2007, at 08:59, Yudi Wijaya wrote: Allison Almeida wrote: Andreas. I already used kannel with delivery reports in physical servers and servers within VMWare. In physical servers i detected many leaks of memory when used heavily with delivery reports, but in the VMWare the leaks grow up overthrow the bearerbox. A stable version 1.4.1 solved many leaks, but I still have problems to run in VMWare. Today i use in the VMWare only with delivery report in databases. + Yes, you're correct.. i already consult this problem on debian channel and all people said that there is problem with memory.. I use VMware because i need to build test sms gateway when i at work, home, or vacation.. i can not bring my pc anywhere ;) do you ever try PlaySMS MPS (Mobile Portal System)? what kind of delivery report that playsms use? what do you mean with this statement: Today i use in the VMWare only with delivery report in databases. what kind of delivery report is that? i use this kind of delivery report: http://server_ip/cgi-bin/sendsms? username =userpassword=passfrom=numberto=numbertext=some_messagedlr- mask=31dlr-url=http://172.168.100.208/dlr.php?type=%dslid= $smslog_iduid=$uid Would you tell me give example about delivery report that you use? the kannel.conf or php source.. Thanks a lot.. Yudi -- Thanks, Alex
Re: Memory problem with kannel sms outgoing delivery report
Yudi. I use kannel 1.4.1stable in a production environment with vmware, and because this, i had chose to use an sqlbox for storage my DLRs(all types supported, like delivery report to mobile, delivery report to smsc, read report, etc.). With this, despite the kannel CRASHs, the DLRs are recovered from database and the works straight ahead. With sqlbox the leaks are minor, but still there. Like i said on later email, without vmware, the leaks consume the memory, but don't break the bearerbox, despite the performance's down. I think this is a problem in a memory management(more precisely swap management) from VMWare. Finally, if you test the gateway with a vmware(probably a vmware workstation version) in a notebook, be aware that the performance and benchmarks are just approximate(because the performance of notebook, and because the performance of vmware workstation version). I already works benchmarks and crash tests in this way(it's so practical! :) ), but like my production is on a VMWare Server environment, with robust host servers, the difference appears. With my experience, i strongly suggest physical servers for kannel production environments. I test some others SMS gateways, but anyone is so mature and so robust like kannel. + Points to Developers ! Regards. Allison Almeida.
Re: Memory problem with kannel sms outgoing delivery report
Ops..Correcting...IN RED BELOW Regards. Allison Almeida. 2007/11/7, Allison Almeida [EMAIL PROTECTED]: Yudi. I use kannel 1.4.1stable in a production environment with vmware, and because this, i had chose to use an ORACLE for storage my DLRs(all types supported, like delivery report to mobile, delivery report to smsc, read report, etc.). With this, despite the kannel CRASHs, the DLRs are recovered from database and the works straight ahead. With DATABASE STORAGE the leaks are minor, but still there. Like i said on later email, without vmware, the leaks consume the memory, but don't break the bearerbox, despite the performance's down. I think this is a problem in a memory management(more precisely swap management) from VMWare. Finally, if you test the gateway with a vmware(probably a vmware workstation version) in a notebook, be aware that the performance and benchmarks are just approximate(because the performance of notebook, and because the performance of vmware workstation version). I already works benchmarks and crash tests in this way(it's so practical! :) ), but like my production is on a VMWare Server environment, with robust host servers, the difference appears. With my experience, i strongly suggest physical servers for kannel production environments. I test some others SMS gateways, but anyone is so mature and so robust like kannel. + Points to Developers ! Regards. Allison Almeida.
Re: [PATCH] SMPP Optional Parameters
Hi! 3 months have passed by, and just today I was able to start testing this!!! Haven't been able to test too much yet though I've sent some premium messages, making them billable and setting it's pricepoints via TLVs and everything went ok Tomorrow I'm going to make more tests, I want to test it also with TLVs on the DLRs PDUs, and then with SQLbox with Alejandro Guerrieri's patch I hope to be able to finish them tomorrow and post my results After that, I hope to be able to make the docs patch so we can get this into Kannel!!! Regards, Juan On Sep 27, 2007 1:02 PM, Alexander Malysh [EMAIL PROTECTED] wrote: Hi, any progress on testing and userguide :)? Alejandro Guerrieri wrote: So far I've tested the sendsms - SMSC portion using Logica SMSC simulator and it works like a charm! Great job Alex! I've also made a patch for Sqlbox-standalone (already sent to dev list). I'll test the SMSC - Kannel portion as soon as I can get a hand on a SMSC and/or Simulator capable of sending TLV's (Logica cannot AFAIK, just displays the raw bytes when TLV's are received). We're just missing the userguide docs (coming after completing the tests). Regards, Alejandro On 8/6/07, Alexander Malysh [EMAIL PROTECTED] wrote: Hello all, as promised I rebased my SMPP TLV patch and post is here for review. Please anybody if possible, write a userguide because I don't have time to do it and without userguide this patch will not get into mainline. Short description... In the config group = smpp-tlv name = some-name tag = 0x1601 type = integer|nulterminated|octetstring length = 4 In the msg struct I added meta_data field that can contain any parameters not only for smpp. meta_data is formated as follows: meta_data = ?group?key=valuekey1=value1?smpp?some-name=ABC then SMPP module just set all TLVs that can be found in the smpp group of meta_data. With this approach it's possible to use this generic interface to put some extra functionality into any SMSC module. Example sendsms url: lynx -source -dump 'http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobarto=123from=456text=textmeta-data=%3Fsmpp%3Fsome-name%3D123' Example MO url: http://localhost:123/bla/...meta-data=%D;... or with Post: X-Kannel-Meta-Data or with xml: meta-datax/meta-data Please test it and let me know how it works. P.S. I don't like how smpp_pdu_init and smpp_pdu_shutdown functions called. They called from bb_smscconn.c but I have not found a better place to call these. This may change in future ;) -- Thanks, Alex -- Thanks, Alex
Re: Memory problem with kannel sms outgoing delivery report
On Wed, Nov 07, 2007 at 09:41:41AM -0200, Allison Almeida wrote: With my experience, i strongly suggest physical servers for kannel production environments. Under UML kannel works just fine. Best regards
Un-predictable SMS Behavior
hi All, I am currently using Sierra Aircard 875 (GSM Modem). Sms sending/receiving are working but one problem. - Sometime SMS receive works (by sending a default response) but sometimes itdoesnot. - When i restart kannel, it releases all previously stored SMSs - After restart, sometimes it responds to some already halted sms again and again Any thoughts? what segment should be worked on? Thanking in anticipation. Hammad FlexilogiX Inc.
Re: AT Modem
Hi Andreas, - if a modem is working fine with windows system then it must work with kannel too, I believe.(i tested many things, but i blieve I must be forgetting somthing) Anyhow, i have now changed the GSM modem and its working. Now i am using Sierra AirCard 875. Thanks, Hammad On Nov 3, 2007 6:16 PM, Andreas Fink [EMAIL PROTECTED] wrote: do you have documentation about the AT commandset of that modem? The ones used by kannel are standardized in some GSM spec even though some older modems sometimes have variants which have less parameters etc. Some modems simply don't support certain operations which means you would end up in a dead end. Its important to put log-level to 0 to see all the commands being sent and returned to debug this. Can be something simple like wrong serial port speed or wrong port too. On 03.11.2007, at 13:39, Khan, Hammad Aslam wrote: Hello everyone, Using a GSM Modem (Huawei E630) i can successfully send SMS but receiving is not working at all. I know CNMI configuration may have direct impact on message receive notification; but I have set it with different/all possible combinations even then its not working. I suppose; as AT+CNMI is configured by its default program i.e. (1,1,0,1,0) should work. Does someone have any idea about possible configurations of modem in modem.conf or any other idea about how can it work? Regards, Hammad FlexilogiX Inc.