Sounds like you're using something other than $beanstalk->reserve(); in your loop. Does the examples from the PHP client (which do demonstrate using "reserve") also use 100% CPU?
Michael On Wed, Nov 11, 2009 at 8:54 AM, Alexander Kunz <[email protected]> wrote: > Hello, > > i am searching a simple beanstalkd client for PHP. I try > BeanStalk.class.php from > http://sourceforge.net/projects/beanstalk/. But my script use 100% cpu power > when the queue is empty. I get this too when i use the inclued example, > it use also > 100% of my Cpu power. > > Are there any other simple beanstalkd classes on the net? > > Kind regrads > > -- > > You received this message because you are subscribed to the Google Groups > "beanstalk-talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/beanstalk-talk?hl=. > > > -- http://codeconnoisseur.org -- You received this message because you are subscribed to the Google Groups "beanstalk-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=.
