There are some minor memory leaks in the dlr module, and that is what you see in the 
logs that you submitted. it will probably get fixed when it anoys one of the 
developers enough to invest the time in, but is really a non-issue as these are mainly 
static memory buffer that only get allocated once and only released at the end.

As for why you don't see quries being done on MySQL, I cannot tell you - I'm using 
dlr-storage mysql for some time now with no complaints. the queries are not logged in 
the normal logs, so you can't see them there. Im not sure where you do want to see the 
queries, but if indeed you are looking in the right place and still seeing no queries, 
then I'd hazard a guess that DLR processing is not requested for the messages being 
sent. note that some (all ?) of the modules only use DLR storage if the message has 
dlrmask set to something interesting. also - some modules do not implement DLR support 
at all, for example - the GSM modem modules (AT and AT2).

--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
Politicians are like diapers. They both need changing regularly and for the same 
reason.


> -----Original Message-----
> From: Hani Mustafa [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 02, 2002 4:27 PM
> To: [EMAIL PROTECTED]
> Subject: MySQL logging
> 
> 
> Hello everyone.
> 
> I'm having problems using dlr-storage as mysql, although I note the
> bearerbox connecting to the sql server, no queries/inserts 
> are done, and
> it quits normally when bearerbox ends. here is a sample of the error:
> 
> 2002-05-30 17:23:57 [0] ERROR: MYSQL:
> 2002-05-30 17:23:57 [0] DEBUG: Immutable octet strings: 121.
> 2002-05-30 17:23:57 [0] DEBUG: Current allocations: 18 areas, 
> 198 bytes
> 2002-05-30 17:23:57 [0] DEBUG: Highest number of allocations: 
> 1065 areas
> 
> 2002-05-30 17:23:57 [0] DEBUG: Highest memory usage: 44709 bytes
> 2002-05-30 17:23:57 [0] DEBUG: Area 0x8222910, size 4, max_size 4
> 2002-05-30 17:23:57 [0] DEBUG: Allocated by 
> octstr_create_from_data_real
> at gwlib/octstr.c:193
> 2002-05-30 17:23:57 [0] DEBUG: Contents of area (first 16 bytes):
> 2002-05-30 17:23:57 [0] DEBUG:   75 72 6c 00
> 2002-05-30 17:23:57 [0] DEBUG: Area 0x82227a8, size 16, max_size 16
> 2002-05-30 17:23:57 [0] DEBUG: Allocated by 
> octstr_create_from_data_real
> at gwlib/octstr.c:185
> 2002-05-30 17:23:57 [0] DEBUG: Claimed by dlr_init_mysql at 
> gw/dlr.c:89
> 
> whats wrong? is this a known issue? or am I don't anything wrong?
> I'm using gateway-1.1.6...
> 
> Mysql logs...
> 
> 020530 17:22:10      13 Connect     kannel@localhost on kannel
> 020530 17:23:58      13 Quit
> 
> 
> Thanks,
> ~Hani Mustafa
> 
> 
> 

Reply via email to