Currently the beanstalkd process is consuming about 100% CPU (1 core)
but working.
I've tried to trace the process and here is the output[1]
I am not a strong C developer... and maybe somebody smarter than me
could help to solve this CPU consuming loop issue or point me to where I
should look? Thanks in advance.
[1] -- ktrace + kdump output:
CALL kevent(0x6,0,0,0x7f7ffffc5f80,0x1,0x829e80)
RET kevent 1
CALL gettimeofday(0x7f7ffffc5f50,0)
RET gettimeofday 0
CALL read(0x1d,0x207db7854,0xd0)
RET read -1 errno 35 Resource temporarily unavailable
CALL kevent(0x6,0,0,0x7f7ffffc5f80,0x1,0x829e80)
RET kevent 1
CALL gettimeofday(0x7f7ffffc5f50,0)
RET gettimeofday 0
CALL read(0x1b,0x207db7c54,0xd0)
RET read -1 errno 35 Resource temporarily unavailable
CALL kevent(0x6,0,0,0x7f7ffffc5f80,0x1,0x829e80)
RET kevent 1
CALL gettimeofday(0x7f7ffffc5f50,0)
RET gettimeofday 0
CALL kevent(0x6,0,0,0x7f7ffffc5f80,0x1,0x829e80)
RET kevent 1
CALL gettimeofday(0x7f7ffffc5f50,0)
RET gettimeofday 0
CALL kevent(0x6,0,0,0x7f7ffffc5f80,0x1,0x829e80)
RET kevent 1
CALL gettimeofday(0x7f7ffffc5f50,0)
RET gettimeofday 0
CALL read(0x10,0x20cd73054,0xd0)
RET read -1 errno 35 Resource temporarily unavailable
CALL kevent(0x6,0,0,0x7f7ffffc5f80,0x1,0x829e80)
RET kevent 1
CALL gettimeofday(0x7f7ffffc5f50,0)
RET gettimeofday 0
CALL kevent(0x6,0,0,0x7f7ffffc5f80,0x1,0x829e80)
RET kevent 1
--
Anton
--
You received this message because you are subscribed to the Google Groups "beanstalk-talk" group.
To post to this group, send email to beansta...@googlegroups.com.
To unsubscribe from this group, send email to beanstalk-tal...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en.
kr
Also reported as https://github.com/kr/beanstalkd/issues/96.
Also fixed now.
kr