Help me save some memory!

1 post / 0 new
#1 Tue, 04/27/2010 - 22:15
eddieb

Help me save some memory!

A new virtualmin CentOS 5.4 box (actually a rackspace cloudserver) will only run HTTP (PHP+MySQL), FTP, and deliver outbound mail for a few of my own low traffic sites. It has 256mb, and i would like to keep it that way.

I could run a lighter webserver, but I don't want to learn to use another one... I am still learning apache. which apache modules could I deactivate?

auth_basic_module | auth_digest_module | authn_file_module | authn_alias_module | authn_anon_module | authn_dbm_module | authn_default_module | authz_host_module | authz_user_module | authz_owner_module | authz_groupfile_module | authz_dbm_module | authz_default_module | ldap_module | authnz_ldap_module | include_module | log_config_module | logio_module | env_module | ext_filter_module | mime_magic_module | expires_module | deflate_module | headers_module | usertrack_module | setenvif_module | mime_module | dav_module | status_module | autoindex_module | info_module | dav_fs_module | vhost_alias_module | negotiation_module | dir_module | actions_module | speling_module | userdir_module | alias_module | rewrite_module (shared) | proxy_module | proxy_balancer_module | proxy_ftp_module | proxy_http_module | proxy_connect_module | cache_module | suexec_module | disk_cache_module | file_cache_module | mem_cache_module | cgi_module | version_module | fcgid_module | perl_module | php5_module | proxy_ajp_module | python_module | ssl_module | dav_svn_module | authz_svn_module

I don't need SSL, won't use server as a proxy, don't need dav, python, ldap. what else could i deactivate?HOW do i deactivate them? just edit the conf?

aside from the services that I obviously won't need (such as spamassassin), is it OK to disable the following from starting at boot?

lm_sensors (it's a cloud server, this seems outdated) usermin (i am the only user) rawdevices(not using oracle anything) mailman (no mailing lists) saslauthd ? mcstrans ? lvm2-monitor ?

i think i could save another 20mb by running apache as webmin's webserver. is this recommended?

any other suggestions?

Thanks in advance.