On Sep 3, 2014, at 2:09 PM, Chris Roose wrote:

> Hi Borja,
> 
> Thank you so much for taking the time to write this up. I had this setup
> running months ago, and then killed nfsen somehow after a library
> upgrade and ended up switching to FreeBSD 9.3 with packages, but your
> post inspired me to give FreeBSD 10 with ports a shot again!

However I am not installing nfsen or nfdump from the ports. Just all the  
dependencies :)

> Being new to nginx (and like you being utterly bored by web servers),
> I'm still playing with the config. Here is my super-minimal config. Does
> this look sufficient to you? Can you recommend any performance tweaks?

Not really. Activating sendfile and all that can help depending on your 
configuration and how many files you serve
straight from the filesystem. It can hurt (or it did) if you are using ZFS 
underneath, for example.

In my experience administering a forum, the most important tweaks I made were:

First, moving from the linked PHP module to FastCGI. Thay way you control how 
many instances you can run in parallel. Past certain threshold you will just 
make things even slower. Better to run, say, 16 concurrent PHP scripts while 
new visitors have to wait, than running 256 scripts in parallel at such a low 
speed that the visitors will timeout.


Second. moving from the "prefork" model to "worker", then to "event".

And third, moving to Nginx :)

Anyway, how many visitors do access your Nfsen installation? ;) 





Borja.


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to