« Return to Thread: very slow consumer cpu 100%

Re: very slow consumer cpu 100%

by James.Strachan :: Rate this Message:

Reply to Author | View in Thread

I've never seen this before. Could you try run your application in a
profiler to see where the CPU is being spent?

On 8/1/06, shital <shitalbpatel@...> wrote:

>
> i have application where JMS server sends me like couple of messages per
> second and i have consumer which is very slow. and eventually cpu usage
> becomes 100% on consumer's machine. I am using Topic n ot queues. i have set
> the prefecth size to 1 on consumer machine. what can i do to control
> messages.
>
> my JMS server is fine and its dropping messages if client can not keep up,
> thats fine as these are stock prices. but how can i control cpu usage on
> consumer's machine
>
> Thanks
> Shital
> --
> View this message in context: http://www.nabble.com/very-slow-consumer-cpu-100--tf2034246.html#a5596704
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


--

James
-------
http://radio.weblogs.com/0112098/

 « Return to Thread: very slow consumer cpu 100%