Great! I'm anxious to try this out, though I can't seem to get it to build
now. It dies on linking: "./.libs/libcherokee-base.so: undefined reference
to `shm_open'". Tried running configure again as `LDFLAGS="-lrt"
./configure`, which solves the initial shm_open problem, but then:
In function ‘open’,
inlined from ‘do_spawn’ at main.c:359,
inlined from ‘spawn_thread_func’ at main.c:608:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared
with attribute error: open with O_CREAT in second argument needs 3 arguments
I have glibc 2.9 if it matters. Anything I might be missing?
Thanks,
Jacob
On Sat, Apr 25, 2009 at 5:55 AM, Alvaro Lopez Ortega <[email protected]>wrote:
> Hi folks!
>
> I've just integrated (r3168) a new spawning mechanism in trunk (the
> upcoming Cherokee 0.99.12 release). It's basically a much more refined
> and powerful way of launching new interpreters - such as php, django,
> ror, etc. It allows to do things like this:
>
> \-+= 09736 root cherokee
> |-+= 09763 www-data /usr/bin/php-cgi -b /tmp/cherokee-php.socket
> | |--- 09764 www-data /usr/bin/php-cgi -b /tmp/cherokee-php.socket
> | |--- 09765 www-data /usr/bin/php-cgi -b /tmp/cherokee-php.socket
> | |--- 09766 www-data /usr/bin/php-cgi -b /tmp/cherokee-php.socket
> | |--- 09767 www-data /usr/bin/php-cgi -b /tmp/cherokee-php.socket
> | \--- 09768 www-data /usr/bin/php-cgi -b /tmp/cherokee-php.socket
> \--- 09747 nobody /usr/sbin/cherokee-worker
>
> This means that, even if cherokee-worker (the actual web server) was
> running as nobody, it was able to spawn a new PHP fastcgi daemon
> running as the www-data user.
>
> If you guys have the chance, give it a try. I'd love to get feedback
> from you before releasing 0.99.12. The change has been quite big, and
> I wouldn't like to introduce any regression in the upcoming release.
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee