Post
Topic
Board Mining (Altcoins)
Optimize your freshes in lighttpd
by
n00bminer
on 31/05/2014, 23:56:05 UTC
A great user in our pool [ poochiboy ] offered these tips to enhance the speed of minera lighttp refreshes:
Most of the lighthttpd optimization pulled from here:http://c-mobberley.com/wordpress/2013/05/18/raspberry-pi-lighttpd-optimisation-for-wordpress-owncloud-and-more/

Install Fast CGI
Code:
sudo apt-get install php5-cgi
sudo nano /etc/php5/cgi/php.ini
Uncomment the line where it says:
Code:
;cgi.fix_pathinfo=1
to show
Code:
cgi.fix_pathinfo=1


Install PHP APC
Code:
sudo apt-get install libpcre3-dev php-pear php5-dev build-essential
sudo pecl install apc
sudo nano /etc/php5/cgi/conf.d/apc.ini

Add the following lines to the file
.
Code:
extension=apc.so
apc.enabled=1
apc.shm_size=30
Now restart lighttpd

Code:
sudo service lighttpd restart

These optimizations sped up my refreshes like night and day.  

EDIT: forgot the fast CGI install, many applogies: sudo apt-get install php5-cgi