Dear Users,

I am using kannel-1.4.3  for bulk sms.
Actually From last some days the smsbox getting stopped frequently.

The error which I found in smsbox logs is as below.
2010-02-28 11:07:59 [21495] [9] ERROR: System error 24: Too many open files
2010-02-28 11:07:59 [21495] [9] ERROR: error connecting to server `x.x.x.x
at port `x'
2010-02-28 11:07:59 [21495] [9] ERROR: Couldn't send request to
<http://x.x.x.x>

2010-02-28 11:07:59 [21495] [9] ERROR: Couldn't create new socket.
2010-02-28 11:07:59 [21495] [9] ERROR: System error 24: Too many open files
2010-02-28 11:07:59 [21495] [9] ERROR: error connecting to server

Kannel Conf file.
group = core
admin-port = xxxx
smsbox-port = xxxx
admin-password =xxx
status-password =xxxx
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1"
log-file = "/var/log/kannel/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,"
access-log = "/var/log/kannel/kannel_access.log"
#store-type = "kannel.store"
#store-location = "/home/kannel/kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
sms-combine-concatenated-mo = true
smsbox-max-pending=1024
dlr-storage=mysql

#---------------------------------------------
# SMSC CONNECTIONS

group = smsc
smsc = smpp
smsc-id = demo
host=x.x.x.x
smsc-username=demo
smsc-password=xxxx
port = xxxx
receive-port= 0
connect-allow-ip = 127.0.0.1
system-type=""
address-range=""
#alt-dcs= 0
source-addr-ton=1
source-addr-npi=1
source-addr-autodetect=""
dest-addr-ton=1
dest-addr-npi=1
#msg-id-type=0x00
allowed-smsc-id=demo
transceiver-mode=1
throughput=10


#---------------------------------------------
# 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=asmsbox
bearerbox-host = 127.0.0.1
sendsms-port = xxxx
global-sender = SMS
sendsms-chars = "0123456789 +-"
#log-file = "/tmp/smsbox.log"
#log-level = 0
#access-log = "/home/kannel/smsbox01.log"
http-request-retry=5
http-queue-delay=50

#---------------------------------------------
# SEND-SMS USERS
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
# http://kannel.machine:13013
/cgi-bin/sendsms?username=tester&password=foobar...
group = sendsms-user
username = xxxx
password = xxxxx
#user-deny-ip = ""
#user-allow-ip = ""
#default-smsc=34212kt
#default-smsc=xxxx
max-messages = 5
concatenation=true
#dlr-url="http://localhost/sms/dlr.php?";
#---------------------------------------------
# SERVICES
# These are 'responses' to sms PULL messages, i.e. messages arriving from
# handsets. The response is based on message content. Only one sms-service
is
# applied, using the first one to match.
group = sms-service
keyword = nop
#text = "You asked nothing and I did it!"
concatenation=true
max-messages=5
text=<480 Characters with spaces>

# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.

group = sms-service
keyword = default
#text = "No service specified"
text=<480 Characters with spaces>
concatenation=true
max-messages=5

Appreciate for Quick reply.

Thanks in advance.

WR,
Sandesh

Reply via email to