DaemonAdmin/Apache42012-12-20 02:53:30ClintonEbadiat least I have the decency to write down how much our setup sucks!32012-04-23 04:18:05ClintonEbadi22008-07-07 04:28:18localhostconverted to 1.6 markup12007-10-22 14:04:57MichaelOlsonDocument apache2 draining procedureThis page describes how to deal with Apache issues. It is intended for use by HCoop administrators. SSL CertificatesSSL certificates for a given node are stored in /etc/apache2/ssl
. The file apache.pem
is a certificate for *.hcoop.net
, valid until 2018. /etc/apache2/users/
contains ssl certificates installed for members using the tools documented on CertificateAuthority. When creating a new node, just copy the ssl directory from the previous web node, pruning any stale user keys. We might want to work out a revocation policy for keys that we signed with the CA; it seems a bit strange to continue certifying certificates for ex-members, but maybe not. Tips and TricksDealing with too many apache processesSometimes on our old machines (fyodor), too many apache processes are run, and they consume all available memory. In case this same problem is ever experienced on the new machines, it could be handy to know how to do this recovery procedure. This problem can be diagnosed by running to check the amount of memory being used, and to see how many Apache processes are running. If there are around 100 processes or more running, and we have less than 60MB memory free, and are using more than 50% of swap, we need to continue with the "apache2 draining" procedure listed below. To get rid of apache2 processes, do the following. Now check to see whether member websites can be browsed. Also, check to see whether the amount of free memory has increased substantially. CategorySystemAdministration CategoryOutdated CategoryNeedsWork