[PATCH] replace fchmod()-based heartbeat with raindrops

Aleksandar Simic asimic at gmail.com
Fri Jun 24 18:50:01 EDT 2011

On Fri, Jun 24, 2011 at 9:51 PM, Eric Wong <normalperson at yhbt.net> wrote:
> Jeremy Evans <jeremyevans0 at gmail.com> wrote:
>> On Fri, Jun 24, 2011 at 10:30 AM, Eric Wong <normalperson at yhbt.net> wrote:
>> > Eric Wong <normalperson at yhbt.net> wrote:
>> >>  The subset of raindrops used by Unicorn should work on all machines
>> >>  with mmap(2) + MAP_ANON/MAP_ANONYMOUS support, so *BSDs shouldn't be
>> >>  left out.
>> FWIW, raindrops builds fine on OpenBSD 4.9 amd64.
> Thanks for the confirmation!  I'm at a loss as to what's causing
> issues under FreeBSD 8 for him...


the same OS & ruby version as the original poster who reported the
issue. I see the same symptoms.

Cowboy fix: adding "-D__BSD_VISIBLE" to CPPFLAGS gets raindrops gem to build.

Easily accessible and viewable sys/mmap.h:


If required, I can give you access to my FreeBSD machine, just let me know.


More information about the mongrel-unicorn mailing list