RE: Incoming messages take too long to show up

2018-12-03 Thread Ron Rechtman
We send a million sms in a few hours with almost no resources -Original Message- From: users On Behalf Of Davor Spasoski Sent: Monday, December 3, 2018 3:40 PM To: Manuel García Cabrera Cc: users@kannel.org Subject: Re: Incoming messages take too long to show up Well, I don’t see

Re: Incoming messages take too long to show up

2018-12-03 Thread Davor Spasoski
Well, I don’t see anything special in your config. I’ve never used spool store type and if anything, I would try with single file storage type prior to your next peak and see if that makes a difference. Don't forget the dump and monitor your system’s cpu, i/o for anything unusual that might be

Re: Incoming messages take too long to show up

2018-12-03 Thread Manuel García Cabrera
Here is my config file, with "x" where I don't think there would be something that could interest you. group = core admin-port = x smsbox-port = x admin-password = x status-password = x store-type = spool store-location = /x/x/x/ log-file = "x" log-level = 2

Re: Incoming messages take too long to show up

2018-12-03 Thread Davor Spasoski
Well, is it an smsbox service with http get/post/xml call, a shell execute or you are using opensmppbox maybe? You should include your config file. > On Dec 3, 2018, at 8:25 PM, Manuel García Cabrera > wrote: > > Store Type is "spool". What do you mean with how do I call the service? > >

Re: Incoming messages take too long to show up

2018-12-03 Thread Manuel García Cabrera
Store Type is "spool". What do you mean with how do I call the service? Regarding the tcpdump, I'm not having the issue right now because there is no high traffic. I could only get it when the problem occurs, but it would be already too late by then. I will though if it happens again this

Re: Incoming messages take too long to show up

2018-12-03 Thread Davor Spasoski
OK, I get it. I think you should disclose your kannel.config for the community to come up with ideas. (what store methods are you using, how do you call the service, etc…) Did you try to tcpdump and check the communication between bearerbox and smsbox? It will look like smpp protocol with

Re: Incoming messages take too long to show up

2018-12-03 Thread Manuel García Cabrera
Hi Davor, 1. I say that kannel is logging the incoming SMS and sending it to my app minutes after the SMSC sent the message. 2. The reply is the submit_sm that my application sends back. The deliver_sm "OK" is being sent almost instantly according to the tcpdump. The submit_sm that the

RE: Incoming messages take too long to show up

2018-12-03 Thread Davor Spasoski
Hi, I'm just trying to understand this. - You basically say that kannel is logging the incoming and reply sms behind of time on smsc, right? - What do you consider a "reply", the deliver_sm "OK" or the submit_sm that the application sends back? BR, --Davor -Original Message- From:

Incoming messages take too long to show up

2018-12-03 Thread Manuel García Cabrera
Hi everyone. I'm having problems with incoming messages during high traffic. During a campaign the other day I was receving 85 messages per second, however, clients were complaining that my reply took over five minutes. I checked the logs, and I found out that wasn't the case, I was replying