Hi, I dont know how to do that. >From morning i Connected kannel to nowsms as Upstream. Same 10 tps per session & total of 30 tps. Both Machines are on local lan only. I Changed Nowsms smpp server to async mode. Now sms shows 200 tps with single sesiion from kannel. All 100 sms are transferred in 5 seconds. But Kannel server is showing 10 tps only.
It is Storing them to store file. & later slowly processing the requests @ 10 tps. *Rajeev Krishna* Operations Manager Krishnas Software Technologies www.krishnasoft.in mobile :+91 888 5815 888 Sales :+91 888 5813 888 Support :+91 888 5817 888 On Tue, Sep 30, 2014 at 6:50 PM, ha...@aeon.pk <ha...@aeon.pk> wrote: > Did you check system resources if either of them is choking? Have some > monitoring of CPU idle time, Memory/RAM and network pipe. > > Regards, > H > > On Tue, Sep 30, 2014 at 10:55 AM, RK Krishnas <r...@krishnasoft.in> wrote: > >> Hi, >> >> I am Rajeev, >> >> >> I am using Kannel from past 2 years. I am having 2 servers of kannel with >> following specs: >> >> Kannel bearerbox version `svn-r5106'. Build `Sep 30 2014 01:09:31', >> compiler `4.4.7 20120313 (Red Hat 4.4.7-4)'. System Linux, release >> 2.6.32-431.20.3.el6.x86_64, version #1 SMP Thu Jun 19 21:14:45 UTC 2014, >> machine x86_64. Hostname xxxxxx.xxxxx, IP xxx.xxx.xxx.xxx. Libxml version >> 2.7.6. Using OpenSSL 1.0.1e-fips 11 Feb 2013. Compiled with MySQL 5.5.38, >> using MySQL 5.5.38. Using native malloc. >> >> >> 1. at Digital Ocean VPS(SINGLE CORE 512 MB RAM 20GB HDD) >> 2. My Office Premises (hp proliant Intel® Xeon® E3-1220 v2 (4 core, 3.4 >> GHz, 8MB), 1TB & 4 GB RAM. >> >> My Problem: >> >> VPS is giving me a total of 150 tps with 4 sessions. But my office server >> is giving me max 30 tps with (4 sessions & above). Max 10 tps from each >> session. >> >> I installed kannel on as many as 6 diff servers in vps, there I am >> getting 150 tps at any vps. >> But I am restricted to 10 tps per session & max 30tps from my office >> server. >> >> kannel config, version, mysql all are same in all machines. >> >> Kannel config: >> >> group = core >> admin-port = 13000 >> smsbox-port = 13001 >> admin-password = 12345 >> #status-password = foo >> #admin-deny-ip = "" >> #admin-allow-ip = "" >> log-file = "/var/log/kannel/log.log" >> log-level = 2 >> box-deny-ip = "*.*.*.*" >> box-allow-ip = "127.0.0.1" >> #unified-prefix = "+358,00358,0;+,00" >> #access-log = "/tmp/access.log" >> #store-file = "/var/log/kannel/kannel.store" >> #store-type=file >> #store-location="/var/log/kannel/kannelspool" >> #ssl-server-cert-file = "cert.pem" >> #ssl-server-key-file = "key.pem" >> #ssl-certkey-file = "mycertandprivkeyfile.pem" >> dlr-storage=mysql >> store-type = spool >> store-location = "/var/log/kannel/spool/" >> smsbox-max-pending=10000 >> >> #--------------------------------------------- >> # SMSC CONNECTIONS >> ##----aman promo sid trx 1 >> group = smsc >> smsc = smpp >> smsc-id = amanps >> host=00000000000000 >> port = 0000 >> transceiver-mode = true >> #receive-port=0000 >> smsc-username=abcd >> smsc-password=abcd >> system-type="VMA" >> #system-id=9 >> allowed-smsc-id = 111222 >> #denied-smsc-id = 2;4;5;6;7;8;9;10 >> enquire-link-interval=120 >> #reconnect-delay = 10 >> validityperiod = 32123 >> interface-version=34 >> max-pending-submits=10000 >> >> >> >> #--------------------------------------------- >> # SMSBOX SETUP >> # >> # Smsbox(es) do higher-level SMS handling after they have been received >> from >> # SMS centers by bearerbox, or before they are given to bearerbox for >> delivery >> >> group = smsbox >> smsbox-id=smsbox1 >> bearerbox-host = 127.0.0.1 >> sendsms-port = 13013 >> global-sender = 13013 >> #sendsms-chars = "0123456789 +-" >> #log-file = "/tmp/smsbox.log" >> #log-level = 0 >> #access-log = "/tmp/access.log" >> >> >> >> >> #mysql connection >> group = mysql-connection >> id = sqlbox-db >> host = 000000 >> username = kannel >> password = kannel >> database =kannel >> max-connections = 5 >> >> >> >> # DLR SETUP >> #mysql connection >> group = mysql-connection >> id = mydlr >> host = xxxxxxxxx >> username = kannel >> password = kannel >> database = kannel >> max-connections = 5 >> >> >> >> group = dlr-db >> id = mydlr >> table=smpp_dlr >> field-smsc=smsc >> field-timestamp=ts >> field-destination=destination >> field-source=source >> field-service=service >> field-url=url >> field-mask=mask >> field-status=status >> field-boxc-id=boxc >> >> >> Please help me in this issue. >> >> Thanks. >> >> >> >