Re: SMS sending speed slows down when a new DB server connected
Mesbahuddin Malik <[email protected]> Tue, 18 Mar 2025 04:24:09 +0600
| Newsgroups | gmane.comp.mobile.kannel.user |
|---|---|
| Message-ID | <CAG=0pxyBACrdSeY330v5ni9NLFqn6WSh_Vt70ngYzK6pJrc5vw@mail.gmail.com> |
--000000000000f570e40630913f43 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable How did Compile Kannel on Ubuntu 22.04 with which gcc version ? Regards Mesbah +8801833055942 On Mon, Mar 17, 2025 at 11:12=E2=80=AFAM Biswajit Kumar <biswajit@banglapho= ne.net.bd> wrote: > Dear fellow users, > > I am having a peculiar problem trying to replace the MySQL database serve= r > which works on my Kannel application server. > > I have Kannel application in separate VM, and MySQL database in another. > So far I understood and have been working with Kannel is that my Kannel h= as > SQLBox installed, which picks SMS from kannelDb.send_sms table and stores > in local redis, then sends to SMPP smsc and writes to kannelDb.sent_sms > table of the MySQL server. > > My Kannel application information is as below: > > Kannel bearerbox version `1.4.5'. Build `Jan 10 2024 17:30:02', compiler > `9.4.0'. System Linux, release 5.4.0-170-generic, version #188-Ubuntu SMP > Wed Jan 10 09:51:01 UTC 2024, machine x86_64. Hostname localhost, IP > 127.0.0.1. Libxml version 2.9.10. Using OpenSSL 1.1.1f 31 Mar 2020. > Compiled with MySQL 5.7.42, using MySQL 5.7.42. Using hiredis API 1.2.0 > Using native malloc. > > Kannel application server is installed on a Ubuntu 20.04.6 LTS. And my > running MySQL server is running on a Ubuntu 22.04.3 LTS, MySQL version > 8.0.36 (VM1). Now, when the application is running with this DB server, t= he > performance is smooth. The throughput of my SMPP SMSC are 100 each in 4 > separate SMSC, so I see that kannelDb.send_sms table clears up almost > instantly. But, I have a problem with the running DB server VM physical > host machine; and for this, I need to shift the DB server in another VM. = I > have tried with two separate VMs: one with Ubuntu 22.04.3 LTS with MySQL > 8.0.36 (VM2) and another with Ubuntu 22.04.3 with MySQL 8.0.41 (VM3). But > strangely whenever I try to run Kannel with VM2 or VM3, the performance > gets really low. Entries of kannelDb.send_sms does not get cleared as fas= t > as it does with VM1; instead, I get only around 10 TPS in sending SMS. > > Can anyone please suggest what can be the issue? I have the same > configuration for MySQL in all the three database server VMs. And I use t= he > working IP address of VM1 whenever I try with either VM2 or VM3. But cann= ot > find out the reason for the problem. Please help. > > Please let me know if you need any further information. > -- > *Thanks and Regards,* > * Biswajit Kumar* | AGM, P&D > Bangla Phone Ltd. <http://www.banglaphone.net.bd/> | +8801833103909 > --000000000000f570e40630913f43 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">How did Compile Kannel on Ubuntu 22.04 with which gcc vers= ion ?<div><br></div><div>Regards</div><div>Mesbah</div><div>+8801833055942<= br></div></div><br><div class=3D"gmail_quote gmail_quote_container"><div di= r=3D"ltr" class=3D"gmail_attr">On Mon, Mar 17, 2025 at 11:12=E2=80=AFAM Bis= wajit Kumar <<a href=3D"mailto:[email protected]">biswajit@ban= glaphone.net.bd</a>> wrote:<br></div><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad= ding-left:1ex"><u></u> =20 =20 =20 <div> <p><font face=3D"Helvetica, Arial, sans-serif">Dear fellow users,</font= ></p> <p><font face=3D"Helvetica, Arial, sans-serif">I am having a peculiar problem trying to replace the MySQL database server which works on my Kannel application server.</font></p> <p><font face=3D"Helvetica, Arial, sans-serif">I have Kannel application in separate VM, and MySQL database in another. So far I understood and have been working with Kannel is that my Kannel has SQLBox installed, which picks SMS from kannelDb.send_sms table and stores in local redis, then sends to SMPP smsc and writes to kannelDb.sent_sms table of the MySQL server. <br> </font></p> <p><font face=3D"Helvetica, Arial, sans-serif">My Kannel application information is as below: <br> <br> </font><span style=3D"color:rgb(0,0,0);font-family:"Times New Ro= man";font-size:medium;font-style:normal;font-variant-ligatures:normal;= font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:s= tart;text-indent:0px;text-transform:none;word-spacing:0px;white-space:norma= l;text-decoration-style:initial;text-decoration-color:initial;float:none;di= splay:inline">Kannel bearerbox version `1.4.5'. Build `Jan 10 2024 17:30:02', compiler `9.4.0'. System Linux, release 5.4.0-170-generic, version #188-Ubuntu SMP Wed Jan 10 09:51:01 UTC 2024, machine x86_64. Hostname localhost, IP 127.0.0.1. Libxml version 2.9.10. Using OpenSSL 1.1.1f 31 Mar 2020. Compiled with MySQL 5.7.42, using MySQL 5.7.42. Using hiredis API 1.2.0 Using native malloc.</s= pan></p> <p><font face=3D"Helvetica, Arial, sans-serif"><span style=3D"color:rgb= (0,0,0);font-size:medium;font-style:normal;font-variant-ligatures:normal;fo= nt-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:sta= rt;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;= text-decoration-style:initial;text-decoration-color:initial;float:none;disp= lay:inline">Kannel application server is installed on a Ubuntu 20.04.6 LTS. And my running MySQL server is running on a Ubuntu 22.04.3 LTS, MySQL version 8.0.36 (VM1). Now, when the application is running with this DB server, the performance is smooth. The throughput of my SMPP SMSC are 100 each in 4 separate SMSC, so I see that kannelDb.send_sms table clears up almost instantly. But, I have a problem with the running DB server VM physical host machine; and for this, I need to shift the DB server in another VM. I have tried with two separate VMs: one with Ubuntu 22.04.3 LTS with MySQL 8.0.36 (VM2) and another with Ubuntu 22.04.3 with MySQL 8.0.41 (VM3). But strangely whenever I try to run Kannel with VM2 or VM3, the performance gets really low. Entries of kannelDb.send_sms does not get cleared as fast as it does with VM1; instead, I get only around 10 TPS in sending SMS.</span></font></p> <p><font face=3D"Helvetica, Arial, sans-serif"><span style=3D"color:rgb= (0,0,0);font-size:medium;font-style:normal;font-variant-ligatures:normal;fo= nt-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:sta= rt;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;= text-decoration-style:initial;text-decoration-color:initial;float:none;disp= lay:inline">Can anyone please suggest what can be the issue? I have the same configuration for MySQL in all the three database server VMs. And I use the working IP address of VM1 whenever I try with either VM2 or VM3. But cannot find out the reason for the problem. Please help.</span></font></p> <p><font face=3D"Helvetica, Arial, sans-serif"><span style=3D"color:rgb= (0,0,0);font-size:medium;font-style:normal;font-variant-ligatures:normal;fo= nt-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:sta= rt;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;= text-decoration-style:initial;text-decoration-color:initial;float:none;disp= lay:inline">Please let me know if you need any further information.<br> </span></font></p> <div>-- <br> <span style=3D"font-family:"Book Antiqua""><em>Thanks and R= egards,</em> </span><br> <strong><span style=3D"font-family:"Trebuchet MS""> Biswaji= t Kumar</span></strong> | <span style=3D"font-family:"Book Antiqua"">AGM, P&D <= a href=3D"http://www.banglaphone.net.bd/" rel=3D"noopener" target=3D"_blank= "><br> <span style=3D"color:rgb(255,0,0)">Bangla</span> <span style=3D"c= olor:rgb(0,255,0)">Phone</span> <span style=3D"color:rgb(0,0,255)">Ltd.</sp= an></a> | <span style=3D"color:rgb(0,0,0)"><a href=3D"tel:+8801833103909" r= el=3D"noopener" target=3D"_blank"><span style=3D"color:rgb(0,0,0)">+8801833= 103909</span></a></span></span></div> </div> </blockquote></div> --000000000000f570e40630913f43--