Kirkham [EMAIL PROTECTED] ; users@kannel.org
*Sent:* Thursday, December 04, 2008 2:52 AM
*Subject:* Re: Removing an erroring message stuck in queue / file store
It goes without saying. In a production system with large queues, every
little detail must be addressed. A suitable indexed filesystem
: Nikos Balkanas
To: Alejandro Guerrieri
Cc: Tony Kirkham ; users@kannel.org
Sent: Thursday, December 04, 2008 2:52 AM
Subject: Re: Removing an erroring message stuck in queue / file store
It goes without saying. In a production system with large queues, every
little detail must
]
*To:* Nikos Balkanas [EMAIL PROTECTED]
*Cc:* Tony Kirkham [EMAIL PROTECTED] ; users@kannel.org
*Sent:* Thursday, December 04, 2008 4:20 AM
*Subject:* Re: Removing an erroring message stuck in queue / file store
Hmm, I'm not 100% sure you can append messages at the end of the store and
get away
@kannel.org
*Sent:* Thursday, December 04, 2008 4:20 AM
*Subject:* Re: Removing an erroring message stuck in queue / file store
Hmm, I'm not 100% sure you can append messages at the end of the store and
get away with it... I'd first try it on a staging server.
You can surely merge new messages
,
appropriate filesystem.
Thanks a lot Alej,
Nikos
- Original Message -
From: Alejandro Guerrieri
To: Tony Kirkham
Cc: Nikos Balkanas ; users@kannel.org
Sent: Thursday, December 04, 2008 6:18 PM
Subject: Re: Removing an erroring message stuck in queue / file store
Tony
Balkanas
To: Alejandro Guerrieri ; Tony Kirkham
Cc: users@kannel.org
Sent: Thursday, December 04, 2008 6:56 PM
Subject: Re: Removing an erroring message stuck in queue / file store
Interesting, Let's throw in a few numbers. Imagine that you have a large
queue, storefile 100 MB. Now
How? By hand, in my favorite editor? I have tried this, with bad results.
There are special characters, at least vi displays them that way, that I
can't interpret so I do not know where, exactly, one message stops and the
next starts. Is there a document that describes the store file in detail?
Ah, you're using the file store, not spool maybe?
AFAIK, there's no document on the storage format. It's mainly a dump from
the Msg structure, but the Octstr objects can have nulls in the middle,
so it's not as easy to parse and, it doesn't have a fixed length and (if
you're still willing to
of the result. Stop kannel, and repeat
for both files.
Cheers,
Nikos
- Original Message -
From: Alejandro Guerrieri
To: Tony Kirkham
Cc: users@kannel.org
Sent: Wednesday, December 03, 2008 7:14 PM
Subject: Re: Removing an erroring message stuck in queue / file store
Ah
:* Wednesday, December 03, 2008 7:14 PM
*Subject:* Re: Removing an erroring message stuck in queue / file store
Ah, you're using the file store, not spool maybe?
AFAIK, there's no document on the storage format. It's mainly a dump from
the Msg structure, but the Octstr objects can have nulls
: Tony Kirkham ; users@kannel.org
Sent: Thursday, December 04, 2008 2:18 AM
Subject: Re: Removing an erroring message stuck in queue / file store
The 20 nulls are probably a lot of empty/unused fields, that doesn't
necessary means that they'll be always empty... so don't assume
@kannel.org
Sent: Thursday, December 04, 2008 2:35 AM
Subject: Re: Removing an erroring message stuck in queue / file store
Thanks for pointing that out. Still it is easy to preview in vim -b (not
hex) and can identify *any* of the fields Sender, recipient, text, messageID,
so if anyone
] ; users@kannel.org
*Sent:* Thursday, December 04, 2008 2:18 AM
*Subject:* Re: Removing an erroring message stuck in queue / file store
The 20 nulls are probably a lot of empty/unused fields, that doesn't
necessary means that they'll be always empty... so don't assume that there
should
Kirkham ; users@kannel.org
Sent: Thursday, December 04, 2008 2:44 AM
Subject: Re: Removing an erroring message stuck in queue / file store
Yes, most of the time. The only exception seems to be if you're using some
journaled filesystems (e.g. ext3), and your spool holds a lot of messages
[EMAIL PROTECTED] ; Tony Kirkham[EMAIL
PROTECTED]
*Cc:* users@kannel.org
*Sent:* Thursday, December 04, 2008 2:35 AM
*Subject:* Re: Removing an erroring message stuck in queue / file store
Thanks for pointing that out. Still it is easy to preview in vim -b (not
hex) and can identify *any
-
From: Alejandro Guerrieri
To: Nikos Balkanas
Cc: Tony Kirkham ; users@kannel.org
Sent: Thursday, December 04, 2008 4:20 AM
Subject: Re: Removing an erroring message stuck in queue / file store
Hmm, I'm not 100% sure you can append messages at the end of the store and
get away
Hello,
when you trash the .store file, don't forget to remove the .store.bak as
well otherwise, it will retry to send all the remaining message.
regards
_
From: Tony Kirkham [mailto:[EMAIL PROTECTED]
Sent: lundi 1 décembre 2008 21:32
To: users@kannel.org
Subject: Removing an
And do it without kannel running, of course ;)
If you're using the spool store file, you can remove the individual message
(assuming that you can find out what's the message causing the error).
Regards,
Alejandro
On Tue, Dec 2, 2008 at 5:49 PM, info.ubichip [EMAIL PROTECTED] wrote:
Hello,
18 matches
Mail list logo