Hello People!
First I want to thank you for your great work. Beanstalkd is a really
nice piece of software.
But I am having a problem (obviously... ;) otherwise I wouldnt post
here). My Worker-Process / Client consumes a lot of CPU and stracing
it just something like this:
sendto(9, "reserve-with-timeout 60\r\n"..., 25, MSG_DONTWAIT, NULL, 0)
= 25
poll([{fd=9, events=POLLIN|POLLERR|POLLHUP}], 1, 1000) = 1 ([{fd=9,
revents=POLLIN}])
recvfrom(9, "DEADLINE_SOON\r\n"..., 8192, MSG_DONTWAIT, NULL, NULL) =
15
poll([{fd=9, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 0
(Timeout)
time(NULL) = 1317991115
sendto(9, "reserve-with-timeout 60\r\n"..., 25, MSG_DONTWAIT, NULL, 0)
= 25
poll([{fd=9, events=POLLIN|POLLERR|POLLHUP}], 1, 1000) = 1 ([{fd=9,
revents=POLLIN}])
recvfrom(9, "DEADLINE_SOON\r\n"..., 8192, MSG_DONTWAIT, NULL, NULL) =
15
poll([{fd=9, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 0
(Timeout)
time(NULL) = 1317991115
sendto(9, "reserve-with-timeout 60\r\n"..., 25, MSG_DONTWAIT, NULL, 0)
= 25
poll([{fd=9, events=POLLIN|POLLERR|POLLHUP}], 1, 1000) = 1 ([{fd=9,
revents=POLLIN}])
recvfrom(9, "DEADLINE_SOON\r\n"..., 8192, MSG_DONTWAIT, NULL, NULL) =
15
poll([{fd=9, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 0
(Timeout)
time(NULL) = 1317991115
sendto(9, "reserve-with-timeout 60\r\n"..., 25, MSG_DONTWAIT, NULL, 0)
= 25
poll([{fd=9, events=POLLIN|POLLERR|POLLHUP}], 1, 1000) = 1 ([{fd=9,
revents=POLLIN}])
recvfrom(9, "DEADLINE_SOON\r\n"..., 8192, MSG_DONTWAIT, NULL, NULL) =
15
poll([{fd=9, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 0
(Timeout)
time(NULL) = 1317991115
sendto(9, "reserve-with-timeout 60\r\n"..., 25, MSG_DONTWAIT, NULL, 0)
= 25
poll([{fd=9, events=POLLIN|POLLERR|POLLHUP}], 1, 1000) = 1 ([{fd=9,
revents=POLLIN}])
recvfrom(9, "DEADLINE_SOON\r\n"..., 8192, MSG_DONTWAIT, NULL, NULL) =
15
poll([{fd=9, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 0
(Timeout)
time(NULL) = 1317991115
sendto(9, "reserve-with-timeout 60\r\n"..., 25, MSG_DONTWAIT, NULL, 0)
= 25
poll([{fd=9, events=POLLIN|POLLERR|POLLHUP}], 1, 1000) = 1 ([{fd=9,
revents=POLLIN}])
recvfrom(9, "DEADLINE_SOON\r\n"..., 8192, MSG_DONTWAIT, NULL, NULL) =
15
poll([{fd=9, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 0
(Timeout)
time(NULL) = 1317991115
I am getting this kind of output over a long period of time - i just
dont get why. I thought that DEADLINE_SOON means, that a Job runs out
soon. But than I shouldnt get this message over several minutes?
Here are the stats for this tube:
current-jobs-urgent: 0
current-jobs-ready: 0
current-jobs-reserved: 5
current-jobs-delayed: 0
current-jobs-buried: 0
total-jobs: 366
current-using: 0
current-watching: 1
current-waiting: 0
cmd-pause-tube: 0
pause: 0
pause-time-left: 0
Thanks in advance!
--
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=en.