Re: Exactly 500 stuck messages in the Q

2007-08-06 Thread ocoolio
auto-ack > mode, committing transactions or calling message.acknowledge()? > > On 8/1/07, ocoolio <[EMAIL PROTECTED]> wrote: >> >> Hello! >> >> I've just bumped into a strange problem. Sometimes, but not always, on a >> fast producer/slow consumer case th

Exactly 500 stuck messages in the Q

2007-08-01 Thread ocoolio
Hello! I've just bumped into a strange problem. Sometimes, but not always, on a fast producer/slow consumer case the consumer leaves exactly 500 messages in the queue. When restarting the consumer, the 500 is processed. It happens when I send a lot (>100 000) of messages in the queue, but not alw

SOLUTION Re: Performance problem - On empty queue sender gets blocked - on filled queue it's OK

2007-08-01 Thread ocoolio
Hi everyone! I've found out that it's a postgres concurrency bug: postgres is just bad at concurrent transactions updating the same row/page. Switching to DB2 Express solved it. Cheers. ocoolio wrote: > > Hello! > > I have a bad performance problem: > > Im usin

Re: Performance problem - On empty queue sender gets blocked - on filled queue it's OK

2007-07-27 Thread ocoolio
anything I've tried with ActiveMQ. An uninstallation solved it :) So, still no reply? :) Thanks, Adam ocoolio wrote: > > Hello! > > Just a short extra info: > the producer's first transaction is fast as usually! Then after commit, in > the second transaction the

Re: Performance problem - On empty queue sender gets blocked - on filled queue it's OK

2007-07-26 Thread ocoolio
, new process I mean) which can commit fast once, then slows down just like the first process. What it has to do with processes? What is happening? Thanks, Adam ocoolio wrote: > > Hello! > > I have a bad performance problem: > > Im using NMS with .NET (C#) and two Qs: > SUB

Performance problem - On empty queue sender gets blocked - on filled queue it's OK

2007-07-25 Thread ocoolio
Hello! I have a bad performance problem: Im using NMS with .NET (C#) and two Qs: SUBMITQ DESTQ A server component listens on SUBMITQ. When message received, transforms it and submits it to DESTQ. All done in one transaction (AcknowledgementMode.Transactional and sess.Commit(), PrefetchSize=1).