Hi Hanh, Now that you and Stipe have confirmed there is currently no memory leak in smsbox, lets focus only on the memory leaks in opensmppbox with a new thread as you suggested. If anyone else has experience with memory leaks in opensmppbox please post to this thread, so that we can use others experience to find if there are memory leaks.
Hanh as discussed, please check again using valgrind the latest svn for opensmppbox using your new virtual machine and the approach Rene suggested which is: valgrind --leak-check=full --track-origins=yes ./opensmppbox Without you re-running valgrind on your new virtual machine and sending us the results, we will not know if the previous memory leaks you reported were caused by your faulty memory on the other server or via memory leaks in opensmppbox. Here are the Kannel configurations that you posted before and I assume they are still valid. If there are any changes to these please correct them. **********************************kannel.conf**************************** group = core admin-port = 13000 smsbox-port = 13001 admin-password = ****** status-password = ****** log-file = "/var/log/kannel/bearerbox.log" access-log = "/var/log/kannel/bearerbox-access.log" log-level = 1 ssl-server-cert-file = "/etc/kannel/cert.pem" ssl-server-key-file = "/etc/kannel/key.pem" dlr-storage = mysql admin-allow-ip = "*.*.*.*" smsbox-max-pending = 100 sms-incoming-queue-limit = -1 store-type = file store-location = "/var/log/kannel/kannel.store" store-dump-freq = 10 include = "/etc/kannel/smsc.conf" include = "/etc/kannel/service_route.conf" group = smsbox smsbox-id = Redundancy bearerbox-host = localhost sendsms-port = 13013 sendsms-chars = "0123456789 +-" log-file = "/var/log/kannel/smsbox.log" log-level = 2 #For DLR group = mysql-connection id = bb_dlr_id host = localhost username = root password = ***** database = kannel max-connections = 10 group = dlr-db id = bb_dlr_id table = kannel_bb_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 **********************************sqlbox.conf**************************** group = sqlbox id = sqlbox-idd smsbox-id = sqlbox bearerbox-host = localhost bearerbox-port = 13001 smsbox-port = 13005 smsbox-port-ssl = false limit-per-cycle = 50 save-dlr = 0 sql-log-table = sent_sms sql-insert-table = send_sms log-file = "/var/log/kannel/sqlbox.log" log-level = 1 group = mysql-connection id = sqlbox-idd host = localhost username = root password = ****** database = kannel max-connections = 10 **********************************opensmppbox.conf************************** ** group = core dlr-storage = mysql group = opensmppbox opensmppbox-id = smppbox-idd opensmppbox-port = 2775 bearerbox-host = 127.0.0.1 bearerbox-port = 13005 our-system-id = thefirstsmppbox smpp-logins = /etc/kannel/smpplogins.txt use-systemid-as-smsboxid = 1 log-file = /var/log/kannel/smppbox.log log-level = 1 group = smsc-route smsc-id = main_smsc smsbox-id = payment shortcode = "155" group = smsc-route smsc-id = main_smsc smsbox-id = lumata shortcode = "146" group = mysql-connection id = smppboxdlr-idd host = localhost username = root password = ****** database = kannel max-connections = 10 group = dlr-db id = smppboxdlr-idd table = kannel_smppbox_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 **********************************service_route.conf************************ **** group = smsbox-route smsbox-id = payment shortcode = "155" group = smsbox-route smsbox-id = lumata shortcode = "146" **********************************smsc.conf**************************** group = smsc smsc = smpp smsc-id = main_smsc allowed-smsc-id = main_smsc host = "x.x.x.x" port = 45289 log-file="/var/log/kannel/smsc.log" log-level = 1 transceiver-mode = true smsc-username = "SMSCGW" smsc-password = ****** system-type = "VMA" reconnect-delay = 10 enquire-link-interval = 300 throughput = 150 max-pending-submits = 200 max-sms-octets = 140 source-addr-ton = 0 source-addr-npi = 1 alt-charset = "ASCII" alt-addr-charset = "GSM" ---------------------------------------------------------- Regards, Hanh Kind Regards Hillel Bilman Manager eCommunicate mailto: hbil...@ecommunicate.co.za Cell: 083-2300002 Landline: 011-443-6164 Fax: 088-011-443-6164 Social Media marketing campaigns (Facebook, Google+, Twitter, LinkedIn etc) Interactive Websites - .mobi Sites Mobile Apps(Android, iPhone, Blackberry, Nokia) - Premium Rated SMSs and short codes - SMS competitions and campaigns Lead Generation - opt-in subscription Billing MMS campaigns - USSD campaigns - WAP - Outlook SMS Bulk SMS and Bulk Email Email 2 SMS 2 Email - Developer Kit for Mobile Services integration - Voice Over IP services