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: 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
Re: Memory problem with kannel sms outgoing delivery report
I think your issue is maybe that you run out of memory, the kernel stars swapping (- slow) and then crashes at the end. The only reason I can think of is that you use memory based delivery reports instead of mysql based ones and/or that your machine simply doesnt have enough memory to run MySQL and Kannel On 06.11.2007, at 06:23, Yudi Wijaya wrote: can someone here help me.. i have problem with my debian server, i use it for sms gateway use kannel.. well, the problems usually occur when i set delivery report for outgoing sms, then my computer become slow, and harddisk working, after that bash daemon, mysqld, and bearerbox (kannel) is crashed.. i use VMWare with HardDisk 2 GB and memory 320MB.. would you see this error log: http://pastebin.com/m1df0bb68 i got those error on debian screen well, i got no problem with send sms without delivery report Thanks, Yudi Andreas Fink Fink Consulting GmbH Global Networks Schweiz AG BebbiCell AG IceCell ehf --- Tel: +41-61-330 Fax: +41-61-331 Mobile: +41-79-2457333 Address: Clarastrasse 3, 4058 Basel, Switzerland E-Mail: [EMAIL PROTECTED] www.finkconsulting.com www.global-networks.ch www.bebbicell.ch --- ICQ: 8239353 MSN: [EMAIL PROTECTED] AIM: smsrelay Skype: andreasfink Yahoo: finkconsulting SMS: +41792457333
Re: Memory problem with kannel sms outgoing delivery report
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. Regards. Allison Almeida. 2007/11/6, Andreas Fink [EMAIL PROTECTED]: I think your issue is maybe that you run out of memory, the kernel stars swapping (- slow) and then crashes at the end.The only reason I can think of is that you use memory based delivery reports instead of mysql based ones and/or that your machine simply doesnt have enough memory to run MySQL and Kannel On 06.11.2007, at 06:23, Yudi Wijaya wrote: can someone here help me.. i have problem with my debian server, i use it for sms gateway use kannel.. well, the problems usually occur when i set delivery report for outgoing sms, then my computer become slow, and harddisk working, after that bash daemon, mysqld, and bearerbox (kannel) is crashed.. i use VMWare with HardDisk 2 GB and memory 320MB.. would you see this error log: http://pastebin.com/m1df0bb68 i got those error on debian screen well, i got no problem with send sms without delivery report Thanks, Yudi Andreas Fink Fink Consulting GmbH Global Networks Schweiz AG BebbiCell AG IceCell ehf --- Tel: +41-61-330 Fax: +41-61-331 Mobile: +41-79-2457333 Address: Clarastrasse 3, 4058 Basel, Switzerland E-Mail: [EMAIL PROTECTED] www.finkconsulting.com www.global-networks.ch www.bebbicell.ch --- ICQ: 8239353 MSN: [EMAIL PROTECTED] AIM: smsrelay Skype: andreasfink Yahoo: finkconsulting SMS: +41792457333
Re: Memory problem with kannel sms outgoing delivery report
One other thing to note is that from those kernel log entries, Kannel isn't crashing per se, it's simply being killed by the OOM-killer (which picks out processes to kill when the machine runs out of memory). From those logs: ... Nov 5 23:03:06 sms kernel: Free swap = 0kB Nov 5 23:03:06 sms kernel: Total swap = 152576kB Nov 5 23:03:06 sms kernel: Free swap:0kB ... 152MB of swap isn't a huge amount, and it's obviously being all used, on top of the 320MB of RAM you have... What does 'top' say just before Kannel is killed? As Andreas said, it's most likely simply that your machine doesn't have enough memory. Solution: add more RAM (adding more swap is just going to kill your performance) Cheers, On 06/11/2007, at 7:11 PM, Andreas Fink wrote: I think your issue is maybe that you run out of memory, the kernel stars swapping (- slow) and then crashes at the end. The only reason I can think of is that you use memory based delivery reports instead of mysql based ones and/or that your machine simply doesnt have enough memory to run MySQL and Kannel On 06.11.2007, at 06:23, Yudi Wijaya wrote: can someone here help me.. i have problem with my debian server, i use it for sms gateway use kannel.. well, the problems usually occur when i set delivery report for outgoing sms, then my computer become slow, and harddisk working, after that bash daemon, mysqld, and bearerbox (kannel) is crashed.. i use VMWare with HardDisk 2 GB and memory 320MB.. would you see this error log: http://pastebin.com/m1df0bb68 i got those error on debian screen well, i got no problem with send sms without delivery report Thanks, Yudi Andreas Fink Fink Consulting GmbH Global Networks Schweiz AG BebbiCell AG IceCell ehf --- Tel: +41-61-330 Fax: +41-61-331 Mobile: +41-79-2457333 Address: Clarastrasse 3, 4058 Basel, Switzerland E-Mail: [EMAIL PROTECTED] www.finkconsulting.com www.global-networks.ch www.bebbicell.ch --- ICQ: 8239353 MSN: [EMAIL PROTECTED] AIM: smsrelay Skype: andreasfink Yahoo: finkconsulting SMS: +41792457333 -- Giulio Harding Systems Administrator m.Net Corporation Level 2, 8 Leigh Street Adelaide SA 5000, Australia Tel: +61 8 8210 2041 Fax: +61 8 8211 9620 Mobile: 0432 876 733 Yahoo: giulio.harding MSN: [EMAIL PROTECTED] http://www.mnetcorporation.com