[Click] click 1.8.0 Unqueue2 -> 100% CPU usage

R H rajamhayek at yahoo.com
Wed Jun 22 20:41:49 EDT 2011


Hi,

Using the following sample configuration, I get 100% CPU usage even after the InfiniteSource finishes sending the 100 packets; but if I replace Unqueue2 with Unqueue everything works well.  Looked at the documentation and they both default to pulling 1 packet when scheduled until there is nothing to pull.  What am I missing?

s :: InfiniteSource(\<0800>, RATE 75, LIMIT 100, STOP false); //random numbers as long as it does not stop!

q :: NotifierQueue(200); 
uq :: Unqueue2();
p :: Print();

d :: Discard;

s->q->uq->p->d;

Thanks,
Raja


More information about the click mailing list