Oh, and BTW, the store is a "safeguard" that it's only used when starting the service (to reload pending messages, etc).
Under normal operations, kannel will keep all messages in memory _and_ back them up on the store. If you shutdown the service (or if it crashes or it's killed), kannel will use the store to restore the queue. So, if you have a huge queue, expect it to consume vast amounts of memory, even with the store in place. Hope it helps, Alex On Tue, Oct 26, 2010 at 4:56 PM, Alejandro Guerrieri < [email protected]> wrote: > Jinson, > > store-dump-freq only applies to the "file" store-type. > > Are you sure that the spool folder exists, and it's writable by the process > kannel is running as? > > Have you checked the logs? > > Regards, > > Alex > > > On Tue, Oct 26, 2010 at 4:47 PM, Jinson <[email protected]> wrote: > >> Sorry for the trouble. Was trying to convey the exact problem. >> >> I'm still facing this issue. My messages are getting queued up in the >> memory queue and not getting moved into the store. >> >> -------- >> *Jinson* >> >> 2010/10/26 Nikos Balkanas <[email protected]> >> >> Not when you are spamming the list. 3 emails about the same thing in the >>> last 4 hours is abuse, for users who volunteer their free time to help. >>> >>> Nikos >>> ----- Original Message ----- From: Jinson >>> To: users >>> Cc: Divya Philip >>> Sent: Tuesday, October 26, 2010 3:19 PM >>> Subject: Re: Question about Store Type >>> >>> >>> >>> >>> >>> Can somebody help me with the query? >>> >>> >>> >>> >>> >>> >>> On Tue, Oct 26, 2010 at 11:24 AM, Jinson <[email protected]> wrote: >>> >>> >>> >>> >>> A correction : >>> I have huge message queue in memory related to each SMSC connection and >>> very less number of messages in store. >>> >>> >>> On Tue, Oct 26, 2010 at 10:59 AM, Jinson <[email protected]> wrote: >>> >>> Hello Group, >>> >>> >>> Can somebody explain how Kannel Store mechanism works? >>> >>> >>> I can see three configuration parameters in the user guide. store-type, >>> store-location and store-dump-freq. >>> >>> >>> My problem is that I have huge message queue in memory related to each >>> SMSC connection and very less number of messages in queue. My swap usage is >>> always above 70% because of the memory queues. >>> >>> >>> Is there any way to move these queued messages in memory to store? >>> >>> >>> Attached my core group conf >>> >>> >>> #Kannel configuration >>> group = core >>> admin-port = xxxx >>> admin-password = "xxx" >>> status-password = "xxxx" >>> smsbox-port = xxxx >>> smsbox-port-ssl = no >>> sms-resend-retry = 0 >>> store-type = spool >>> store-location = "/xxxxxxxxxxl" >>> dlr-storage = mysql >>> log-file = "/var/log/kannel/kannel-core.log" >>> access-log = "/var/log/kannel/bearerbox-access.log" >>> log-level = 1 >>> >>> >>> >>> >>> Thanks >>> Jinson. >>> >> >> >
