[isf-wifidog] performance and cache_lite

Menil Jean-Philippe Jean-Philippe.Menil at univ-nantes.fr
Ven 12 Juin 02:55:36 EDT 2009

Gabe Sawhney a écrit :
> So, our auth server is running on a machine with only 512MB RAM, but I'm 
> still surprised at how little it takes for it to spin out of control, 
> and ultimately become non-responsive (due to swap thrashing and 
> consequential skyrocketing load avg). 
> It appears that the times that the server goes crazy is when an 
> unauthenticated user at one of our hotspots blasts a pile of HTTP 
> requests, each of which get forwarded to the login page.  (The classic 
> example is opening an RSS reader, which aggressively tries to fetch 
> dozens of feeds.)  But the fact that something so mundane can take out 
> our server is frustrating.
> We weren't running Cache_Lite, so I tried installing it.  I've never 
> tried to understand how caching in PHP works, but setting it up wasn't 
> as easy as I hoped.  I installed it ("pear install Cache_Lite"), then 
> set the relevant value to true in config.php, and got:
> Uncaught exception 'Exception' with message 'Component not found' in 
> /var/www/wifidog-auth/wifidog/classes/Dependency.php:467
> We're using wifidog rev 1390.  Cache_Lite works fine when I test it 
> separately.
> So, I have two questions:
> 1) Does wifidog require a way more powerful box than I'm trying to run 
> it on?  (If not, what could be causing this instability we're experiencing?)
> 2) What am I missing with the Cache_Lite setup?
> Gabe
> ------------------------------------------------------------------------
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog

as indicated the Cache_Lite module is still experimental on wifidog.
On my server, i've installed the "php5-xcache" package, "Fast, stable 
PHP opcode cacher".

Hope this help.

Menil Jean-Philippe
DSI de l'Université de Nantes
tél: 02 51 12 53 92
Fax: 02 51 12 58 60
Jean-Philippe.Menil at univ-nantes.fr

Plus d'informations sur la liste de diffusion WiFiDog