Re: Removing an erroring message stuck in queue / file store

2008-12-08 Thread Alejandro Guerrieri
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

Re: Removing an erroring message stuck in queue / file store

2008-12-07 Thread Nikos Balkanas
: 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

Re: Removing an erroring message stuck in queue / file store

2008-12-04 Thread Tony Kirkham
] *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

Re: Removing an erroring message stuck in queue / file store

2008-12-04 Thread Alejandro Guerrieri
@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

Re: Removing an erroring message stuck in queue / file store

2008-12-04 Thread Nikos Balkanas
, 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

Re: Removing an erroring message stuck in queue / file store

2008-12-04 Thread Nikos Balkanas
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

Re: Removing an erroring message stuck in queue / file store

2008-12-03 Thread Tony Kirkham
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?

Re: Removing an erroring message stuck in queue / file store

2008-12-03 Thread Alejandro Guerrieri
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

Re: Removing an erroring message stuck in queue / file store

2008-12-03 Thread Nikos Balkanas
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

Re: Removing an erroring message stuck in queue / file store

2008-12-03 Thread Alejandro Guerrieri
:* 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

Re: Removing an erroring message stuck in queue / file store

2008-12-03 Thread Nikos Balkanas
: 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

Re: Removing an erroring message stuck in queue / file store

2008-12-03 Thread Nikos Balkanas
@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

Re: Removing an erroring message stuck in queue / file store

2008-12-03 Thread Alejandro Guerrieri
] ; 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

Re: Removing an erroring message stuck in queue / file store

2008-12-03 Thread Nikos Balkanas
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

Re: Removing an erroring message stuck in queue / file store

2008-12-03 Thread Alejandro Guerrieri
[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

Re: Removing an erroring message stuck in queue / file store

2008-12-03 Thread Nikos Balkanas
- 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

RE: Removing an erroring message stuck in queue / file store

2008-12-02 Thread info.ubichip
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

Re: Removing an erroring message stuck in queue / file store

2008-12-02 Thread Alejandro Guerrieri
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,