Hi Nikkos, no my application is as simple php script which sends only once.it sends to 10 numbers.for some numbers request is added twice and rest with one. Br Daf
Nikos Balkanas wrote: > > Nothing wrong with kannel. Your application sends them twice. If in doubt > check max detail smsbox logs. > > BR, > Nikos > ----- Original Message ----- > From: "dafodil" <neo.tu...@yahoo.com> > To: <users@kannel.org> > Sent: Sunday, October 10, 2010 3:52 PM > Subject: Re: kannel performance > > >> >> Hi >> yes u r right is sb log. >> i wonder when i sent once why does it goes 2 times.does any wrong >> configuration causes this. >> >> i just tried to send 10 sms where for soem numbers his request added was >> seen twice. >> >> Br >> daf >> >> >> >> Nikos Balkanas wrote: >>> >>> This is not bb access log, but smsbox access log. It doesn't prove >>> anyting, >>> except that you have sent twice the same SMS. >>> >>> BR, >>> Nikos >>> ----- Original Message ----- >>> From: "dafodil" <neo.tu...@yahoo.com> >>> To: <users@kannel.org> >>> Sent: Saturday, October 09, 2010 10:17 AM >>> Subject: Re: kannel performance >>> >>> >>>> >>>> Hi Nikkos, >>>> Thanks again for ur time and support. >>>> >>>> I wil try with spool and fakesmsc and get back to you. >>>> >>>> but as usggested by you i had serious look at the logs and what makes >>>> sense >>>> to inform u is bellow findings. >>>> >>>> >>>> i m sending sms through http as bellow >>>> >>>> http://$kannelHost:$kannelPort/cgi-bin/sendsms?dlr=1&dlr-mask=31&dlr-url=$durl&username=$userName&password=$userPassword&from=$from&to=$to&text=$msg&smsc=putty >>>> >>>> where >>>> $userName = "daf"; and $userPassword = "daf"; >>>> >>>> how ever in bearerbox access.log i see the folowing.for some numbers it >>>> adds >>>> send-SMS request added 2 times.and for other only once. >>>> >>>> bellow is an example where it is trying 2 times. >>>> >>>> >>>> 2010-10-06 12:13:21 send-SMS request added - sender:daf:daffodil >>>> 77.91.205.191 target:351919582869 request: 'kannel is a beautifull >>>> world >>>> 2010-10-06 12:12:43' >>>> >>>> 2010-10-06 12:13:21 send-SMS request added - sender:tester:daffodil >>>> 77.91.205.230 target:351919582869 request: 'kannel is a beautifull >>>> world >>>> 2010-10-06 12:12:43' >>>> >>>> >>>> and u can see my config as bellow >>>> >>>> >>>> >>>> >>>> group=sendsms-user >>>> >>>> username=daf >>>> password=daf >>>> user-allow-ip= "*.*.*.*" >>>> >>>> # SMSC HTTP >>>> group = smsc >>>> smsc = http >>>> msg-id-type=0x01 >>>> smsc-id = C >>>> system-type = kannel >>>> smsc-username = tester >>>> smsc-password = foobar >>>> port = 13015 >>>> connect-allow-ip = "*.*.*.*" >>>> send-url = "http://daf.com:13013/cgi-bin/sendsms" >>>> >>>> >>>> # SMSC SMPP >>>> group = smsc >>>> smsc=smpp >>>> smsc-id=putty >>>> host=213.30.43.217 >>>> port=7677 >>>> transceiver-mode=true >>>> alt-charset="ISO-8859-1" >>>> msg-id-type=0x01 >>>> system-type="putty2" >>>> service-type="12664" >>>> address-range="" >>>> max-pending-submits=10 >>>> smsc-username="putty" >>>> smsc-password="putty12664" >>>> connect-allow-ip="*.*.*.*" >>>> dest-addr-npi=1 >>>> dest-addr-ton=1 >>>> flow-control=0 >>>> log-file="/var/log/kannel/smsc.log" >>>> log-level=3 >>>> wait-ack=120 >>>> wait-ack-expire=0x02 >>>> throughput=100 >>>> window=10 >>>> validityperiod = 10 >>>> >>>> >>>> >>>> >>>> >>>> Br >>>> Daf >>>> >>>> >>>> >>>> Nikos Balkanas wrote: >>>>> >>>>> Hi, >>>>> >>>>> 1) Test sending 10000 sms using fakesmsc, as to avoid costs. Check >>>>> storage >>>>> status at end. >>>>> 2) Spool is generally faster and more real-time than file for storage. >>>>> Depends on fs parameters. >>>>> 3) Resubmission is a problem, since it implies that smsc is not >>>>> sending >>>>> ACKs >>>>> back. However, since you have specified to wait for an ACK >>>>> indefinitely, >>>>> it >>>>> shouldn't resend the same sms again. >>>>> >>>>> I am assuming you are using the SMPP smsc. Try on sending a few SMS >>>>> (~5), >>>>> comment out log-file in smsc group and turn bb logs to maximum detail. >>>>> Watch >>>>> for anything unusual, especially ACKs. Post relevant portions if you >>>>> get >>>>> any >>>>> problems. >>>>> >>>>> BR, >>>>> Nikos >>>>> >>>>> ----- Original Message ----- >>>>> From: "dafodil" <neo.tu...@yahoo.com> >>>>> To: <users@kannel.org> >>>>> Sent: Friday, October 08, 2010 8:44 PM >>>>> Subject: Re: kannel performance >>>>> >>>>> >>>>>> >>>>>> Hi nikkos, >>>>>> >>>>>> just to add more operator says that kannel is senindg submit_sm for >>>>>> same >>>>>> number multiple times. >>>>>> >>>>>> Br >>>>>> daf >>>>>> >>>>>> Nikos Balkanas wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I don't think it is practical to set log-level to 0 for 10k SMS :-( >>>>>>> >>>>>>> How does it behave when sending just a few messages? >>>>>>> Try changing store-type to spool. >>>>>>> Describe test conditions. Were all of your smsc active during tests? >>>>>>> >>>>>>> BR, >>>>>>> Nikos >>>>>>> ----- Original Message ----- >>>>>>> From: "Willy Mularto" <sangpr...@gmail.com> >>>>>>> To: "dafodil" <neo.tu...@yahoo.com> >>>>>>> Cc: <users@kannel.org> >>>>>>> Sent: Friday, October 08, 2010 5:55 PM >>>>>>> Subject: Re: kannel performance >>>>>>> >>>>>>> >>>>>>> It would be helpful if you provide us your detailed log. Please set >>>>>>> log-level to 0. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> sangprabv >>>>>>> sangpr...@gmail.com >>>>>>> http://www.petitiononline.com/froyo/ >>>>>>> >>>>>>> >>>>>>> On Oct 8, 2010, at 6:54 PM, dafodil wrote: >>>>>>> >>>>>>>> >>>>>>>> Hi List, >>>>>>>> Good Day. >>>>>>>> While stress testing with kannel i found the follwing.i was trying >>>>>>>> to >>>>>>>> send >>>>>>>> 10 k sms through HTTP/sendsms. >>>>>>>> storage internal queued grows to 2300000. >>>>>>>> kannel.store size keeps growing and now it seems to be 480,630,358. >>>>>>>> now i find a kannel.store.new is created with size more than >>>>>>>> 20000000. >>>>>>>> my configuration are as bellow.I feel i have some wrong >>>>>>>> configuration. >>>>>>>> my provider does not have any problem and supports more than 100 >>>>>>>> sms/sec. >>>>>>>> my bearerbox size keeps growing.can any one suggest or guide me >>>>>>>> where >>>>>>>> i >>>>>>>> m >>>>>>>> wrong. >>>>>>>> all sms are not reaching smsc provider. >>>>>>>> >>>>>>>> group = core >>>>>>>> admin-port=13000 >>>>>>>> admin-password=xxx >>>>>>>> status-password=xxx >>>>>>>> sms-resend-retry = 1 >>>>>>>> sms-resend-freq = 120 >>>>>>>> admin-allow-ip="*.*.*.*" >>>>>>>> log-level= 3 >>>>>>>> log-file = "/var/log/kannel/bearerbox.log" >>>>>>>> smsbox-port=13001 >>>>>>>> wapbox-port=13002 >>>>>>>> wdp-interface-name="*" >>>>>>>> store-file="/var/log/kannel/kannel.store" >>>>>>>> >>>>>>>> # SMSC FAKE >>>>>>>> group = smsc >>>>>>>> smsc-id = A >>>>>>>> smsc = fake >>>>>>>> port = 10000 >>>>>>>> connect-allow-ip = "*.*.*.*" >>>>>>>> >>>>>>>> # SMSC SMPP >>>>>>>> group = smsc >>>>>>>> smsc=smpp >>>>>>>> smsc-id=yyyy >>>>>>>> host=222.22.22.222 >>>>>>>> port=7677 >>>>>>>> transceiver-mode=true >>>>>>>> alt-charset="ISO-8859-1" >>>>>>>> msg-id-type=0x01 >>>>>>>> system-type="xxx" >>>>>>>> service-type="xxx" >>>>>>>> address-range="" >>>>>>>> max-pending-submits=10 >>>>>>>> smsc-username="xxx" >>>>>>>> smsc-password="xxxxx" >>>>>>>> connect-allow-ip="*.*.*.*" >>>>>>>> dest-addr-npi=1 >>>>>>>> dest-addr-ton=1 >>>>>>>> flow-control=0 >>>>>>>> log-file="/var/log/kannel/mylog.log" >>>>>>>> log-level=3 >>>>>>>> wait-ack=120 >>>>>>>> wait-ack-expire=0x02 >>>>>>>> throughput=100 >>>>>>>> window=10 >>>>>>>> validityperiod = 10 >>>>>>>> >>>>>>>> # SMSC HTTP >>>>>>>> group = smsc >>>>>>>> smsc = http >>>>>>>> msg-id-type=0x01 >>>>>>>> smsc-id = C >>>>>>>> system-type = kannel >>>>>>>> smsc-username = tester >>>>>>>> smsc-password = foobar >>>>>>>> port = 13015 >>>>>>>> connect-allow-ip = "*.*.*.*" >>>>>>>> send-url = "http://mysite.com:13013/cgi-bin/sendsms" >>>>>>>> >>>>>>>> # SMSBOX SETUP >>>>>>>> group = smsbox >>>>>>>> bearerbox-host=localhost >>>>>>>> sendsms-port=13013 >>>>>>>> sendsms-chars="0123456789+" >>>>>>>> global-sender=13013 >>>>>>>> log-file = "/var/log/kannel/smsbox.log" >>>>>>>> sendsms-url=/cgi-bin/sendsms >>>>>>>> http-request-retry=10 >>>>>>>> log-file="/var/log/kannel/smsbox.log" >>>>>>>> log-level=3 >>>>>>>> http-queue-delay=60 >>>>>>>> >>>>>>>> # SEND-SMS USERS >>>>>>>> group = sendsms-user >>>>>>>> username = tester >>>>>>>> password = foobar >>>>>>>> user-allow-ip = "*.*.*.*" >>>>>>>> concatenation = true >>>>>>>> forced-smsc = B >>>>>>>> >>>>>>>> group = sendsms-user >>>>>>>> username = playsms >>>>>>>> password = pwd >>>>>>>> user-allow-ip = "*.*.*.*" >>>>>>>> >>>>>>>> # this sender is for Kannel relay testing (http_smsc) >>>>>>>> group = sendsms-user >>>>>>>> username = kannel >>>>>>>> password = rL4y >>>>>>>> user-allow-ip = "*.*.*.*" >>>>>>>> >>>>>>>> group = sms-service >>>>>>>> keyword = default >>>>>>>> get-url = "http://mysite.com/url.php" >>>>>>>> max-messages = 0 >>>>>>>> omit-empty = true >>>>>>>> catch-all = true >>>>>>>> keyword=default >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Br >>>>>>>> Daf >>>>>>>> -- >>>>>>>> View this message in context: >>>>>>>> http://old.nabble.com/kannel-performance-tp29914621p29914621.html >>>>>>>> Sent from the Kannel - User mailing list archive at Nabble.com. >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> View this message in context: >>>>>> http://old.nabble.com/kannel-performance-tp29914621p29917030.html >>>>>> Sent from the Kannel - User mailing list archive at Nabble.com. >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://old.nabble.com/kannel-performance-tp29914621p29921129.html >>>> Sent from the Kannel - User mailing list archive at Nabble.com. >>>> >>>> >>> >>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/kannel-performance-tp29914621p29927283.html >> Sent from the Kannel - User mailing list archive at Nabble.com. >> >> > > > > -- View this message in context: http://old.nabble.com/kannel-performance-tp29914621p29931281.html Sent from the Kannel - User mailing list archive at Nabble.com.