alierak: (Default)
alierak ([personal profile] alierak) wrote in [site community profile] dw_dev 2011-09-11 01:36 am (UTC)

Oh, hmm, forgot about all that stuff. I actually do run gearman in my dreamhack, but it doesn't look like there's a relevant wiki page I can point you to. The one about setting up gearman appears to geared towards production sites and not dreamhacks.

I think what I did was something like this:

cd $LJHOME/cvs/gearman
perl Makefile.PL PREFIX=$LJHOME
make install


Then I chose a port nobody else was using (but I think the documented procedure probably ought to involve asking [personal profile] sophie to assign one) and started gearmand like this:

$LJHOME/bin/gearmand -p 17103 &


My config-local.pl has:

@GEARMAN_SERVERS = ( '127.0.0.1:17103' );


Let's see, I've also had to do this sort of thing for mogilefs, theschwartz, workers in general, memcached, and probably something else I'm forgetting. I have no doubt that it's possible to do the same for sphinx without needing root privileges, but it does seem like a bit of a bother.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org