I've lighttpd on Ubuntu 10 on a 256MB RAM VPS. My goal is to completely avoid swapping. I'm running a Drupal webste with some images, shopping cart (no videos.. quite low estimated traffic).
So.. still the system is swapping memory. I was wondering if I should configure now a MPM module with Lighttpd as I did with Apache (prefork). Is there some configuration to do with Lighttpd as well ? If not, any tip ?
Also uploading files with drupal (through php) takes quite long... around 20 seconds for only 300kbs... However, when I run info.php, it displays immediately.. it seems only Drupal is slow.
These are my php settings: Memory limit 128MB post max size 64MB
(I would prefer to not set memory limit to only 64MB because some Drupal modules require 128M. Do you think this is the issue ?)