beanstalkd sometimes exits on snow leopard #34

Closed
kr opened this Issue Mar 1, 2010 · 2 comments

Comments

Projects
None yet
1 participant
Owner

kr commented Mar 1, 2010

There is a mailing-list thread about this:
http://groups.google.com/group/beanstalk-talk/t/b14ef253bcaec197

Owner

kr commented Mar 1, 2010

Here is Steve's network trace:

list-tubes-watched
OK 14
---
- default

use thp-lobe-development
USING thp-lobe-development
watch thp-lobe-development
WATCHING 2
reserve-with-timeout 0
TIMED_OUT
stats-tube thp-lobe-development
OK 264
---
name: thp-lobe-development
current-jobs-urgent: 0
current-jobs-ready: 0
current-jobs-reserved: 0
current-jobs-delayed: 0
current-jobs-buried: 0
total-jobs: 0
current-using: 1
current-watching: 1
current-waiting: 0
cmd-pause-tube: 0
pause: 0
pause-time-left: 0

put 65536 3 2147483648 17
{"op":"periodic"}
INSERTED 1
reserve
Owner

kr commented Mar 5, 2010

Always provide a timeout for our main fd.

If we pass NULL into event_add here, then event_dispatch sometimes
returns -1 on Snow Leopard. Our workaround is to avoid providing a NULL
timeout.

Closed by 3c45084.

@dustin dustin pushed a commit that referenced this issue Apr 19, 2011

@kr kr Always provide a timeout for our main fd.
If we pass NULL into event_add here, then event_dispatch sometimes
returns -1 on Snow Leopard. Our workaround is to avoid providing a NULL
timeout.

Closes gh-34.
3c45084

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment