All, I've a apache web server with 600 web sites as reverse proxy. The average of req. is more than 100 req/sec during all the day. The apache is a 2.2.15 release 56.el6_8.3 (RedHat 6.x system up to date) + mod_ssl. Every 10 days, the system has problems, and in the error log i found dozen of:
[error] (12)Cannot allocate memory: fork: Unable to fork new process The temporary solution for me is the following: after an alert mail from the system monitoring server, I must restart the httpd using: service httpd stop; killall httpd.worker; killall -9 httpd.worker; service httpd start Adding more ram to the system does not help. Any suggestion? Best regards apachectl -l Compiled in modules: core.c worker.c http_core.c mod_so.c apachectl -M Loaded Modules: core_module (static) mpm_worker_module (static) http_module (static) so_module (static) log_post_module (shared) evasive20_module (shared) auth_basic_module (shared) auth_digest_module (shared) authn_file_module (shared) authn_alias_module (shared) authn_anon_module (shared) authn_dbm_module (shared) authn_default_module (shared) authz_host_module (shared) authz_user_module (shared) authz_owner_module (shared) authz_groupfile_module (shared) authz_dbm_module (shared) authz_default_module (shared) ldap_module (shared) authnz_ldap_module (shared) include_module (shared) log_config_module (shared) logio_module (shared) env_module (shared) ext_filter_module (shared) mime_magic_module (shared) expires_module (shared) deflate_module (shared) headers_module (shared) usertrack_module (shared) setenvif_module (shared) mime_module (shared) dav_module (shared) status_module (shared) autoindex_module (shared) info_module (shared) dav_fs_module (shared) vhost_alias_module (shared) negotiation_module (shared) dir_module (shared) actions_module (shared) speling_module (shared) userdir_module (shared) alias_module (shared) substitute_module (shared) rewrite_module (shared) proxy_module (shared) proxy_balancer_module (shared) proxy_ftp_module (shared) proxy_http_module (shared) proxy_ajp_module (shared) proxy_connect_module (shared) cache_module (shared) suexec_module (shared) disk_cache_module (shared) cgi_module (shared) version_module (shared) unique_id_module (shared) ssl_module (shared) reqtimeout_module (shared) Syntax OK