Spent some time this week getting Gearman working across four Solaris servers, in order to spread the load of thumbnail generation. Quite straightforward to set up, and about as simple as it could be to write the client and worker scripts.
Only real pain was getting the Perl modules installed via CPAN; the OpenSolaris servers (running snv_134b) appear to have a mishmash of Sun and GNU developer tools installed, and I had to edit /usr/perl5/5.8.4/lib/i86pc-solaris-64int/Config.pm to change the compiler options from:
Only real pain was getting the Perl modules installed via CPAN; the OpenSolaris servers (running snv_134b) appear to have a mishmash of Sun and GNU developer tools installed, and I had to edit /usr/perl5/5.8.4/lib/i86pc-solaris-64int/Config.pm to change the compiler options from:
cccdlflags=’-KPIC’ optimize=’-xO3 -xspace -xildoff’to
cccdlflags=’’ optimize=’’before CPAN would install all of the modules. Perhaps there are better options to use here, but blanking them worked.