Lighttpd – tiny web server

Having highly annoying problems downloading Solaris Flash archives using Sun Java System Webserver 7 Update 7, and I’ve pretty much fingered SJWS7 as the culprit…bugs, who knows. I figured I would just download and use Apache, but browsing the OpenSolaris IPS repositories I came across Lighttpd:

http://www.lighttpd.net/

http://redmine.lighttpd.net/projects/lighttpd/wiki/TutorialConfiguration

 

Looks pretty neat – so for the purposes of quick Solaris Flash testing, downloaded it and giving it a try:

pfexec /usr/lighttpd/1.4/sbin/lighttpd -f /etc/lighttpd/1.4/lighttpd.conf

prstat -u webservd

PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP       
9443 webservd 5148K 1732K sleep   49    0   0:00:00 0.0% lighttpd/1

 

Pretty tiny alright. Process is owned automagically by webservd too using OpenSolaris, which is neat. More to come…

 

EDIT: the server is managed by SMF, natch:

svcs -a | grep -i light
disabled       12:05:52 svc:/network/http:lighttpd14

Brill!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s