After bumping up 60+ packages (probably about half or a third the total), apache started spawning several processes, each taking 10-15% CPU, until my poor little server box was kswapd’ing its little guts out. It was heartwrenching seeing that red drive light on constantly. Poor little thing.
I did an emerge world and rebooted, and this baby is absolutely humming now. load average 0.00 :>
UPDATE: eventually Apache is still hogging things. Looks like gentoo changed the config settings for the Apache memory manager (MPM). There are several choices, looks like I want the “worker” variant. To get it, add APACHE_MPMS=”worker” to [/etc/conf.d/apache2], and update httpd.conf settings to specify performance settings. The defaults are here: [/etc/apache2/modules.d/00_mpm.conf]. I am attempting to adjust them to optimal values in my [machine_globals.conf] file.
The gory details follow. Sure it’s a lot of change, but once again, gentoo is the ultimate power tool. (continued…)