Hi folks!
I've been doing some benchmarking on kannel on late days, and I'v found
some thinks I feel are wrong or that I dont like in it or I dont knew of
it.
This tests use 3 smpp simulators to send 100000, 50 bytes long messages
each to kannel, and then kannel get's a url but sending no response
back.
I've tried several configs having the bearerbox, smsbox and apache to
run on the same computer, all in diferent computers etc... The HW I use
is P4 3Ghz 1mb cache with 1Gb Ram. Runing all on debian 3.1 kernel 2.4.
And here are my complains:
If I run smsbox in a separate computer from bearer:
The -d option doesnt work (see other messages by me)
The smsbox doesnt reconnect's successfully to the bearer whe reset
command is issued, it only has a small delay and dies if no connection
is available, different behavior should be programmed.
Taking a look on the protocol used between boxes I think that
a performance boost may be achieved by specifying it correctly, because
although it works it has a LOT of overhead, I'm working on it right now,
any way as part of my thesis work, I will have a formal paper on this in
a couple of months to show you all.
If I run all on the same computer, too many file descriptors are opened
and smsbox doesn't handle this in a proper manner, so that many messages
are just lost, instead of waiting for the system to release descriptors
or something like that. Also, the gw_gethostbyname fails although It may
be caused by the lack of file descriptors. Log piece:
2004-12-30 18:25:47 [18761] [9] ERROR: Error while gw_gethostbyname
occurs.
2004-12-30 18:25:47 [18761] [9] ERROR: System error 1076104129: Unknown
error 1076104129
2004-12-30 18:25:47 [18761] [9] ERROR: gethostbyname failed
2004-12-30 18:25:47 [18761] [9] ERROR: System error 24: Too many open
files
2004-12-30 18:25:47 [18761] [9] ERROR: error connecting to server
`xxx.com' at port `80'
2004-12-30 18:25:47 [18761] [9] ERROR: Couldn't send request to
<http://xxx/xxx.html>
2004-12-30 18:25:47 [18761] [9] ERROR: Error while gw_gethostbyname
occurs.
2004-12-30 18:25:47 [18761] [9] ERROR: System error 1076104129: Unknown
error 1076104129
2004-12-30 18:25:47 [18761] [9] ERROR: gethostbyname failed
2004-12-30 18:25:47 [18761] [9] ERROR: System error 24: Too many open
files
2004-12-30 18:25:47 [18761] [9] ERROR: error connecting to server
`xxx.com' at port `80'
2004-12-30 18:25:47 [18761] [9] ERROR: Couldn't send request to
<http://xxx/xxx.html>
And this repeats for almost every message.
I hate to write very long e mails like this one, I just want to know is
someone is working (or will be working) on some of the issues I think
I've found and what are you're opinions.
I'll release the results of my testing when it is completed as well as
the current protocol description (as I promised before) and a protocol
recomendation in a couple of moths from now.
I hope this is useful for more people than me!
Cheers !
== Oscar
Tashi Delek!