Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 17661200C04 for ; Tue, 24 Jan 2017 19:10:32 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 15DA9160B3E; Tue, 24 Jan 2017 18:10:32 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5DD43160B38 for ; Tue, 24 Jan 2017 19:10:31 +0100 (CET) Received: (qmail 25599 invoked by uid 500); 24 Jan 2017 18:10:30 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 25589 invoked by uid 99); 24 Jan 2017 18:10:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2017 18:10:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 97CA7C0118 for ; Tue, 24 Jan 2017 18:10:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 5kSGULjQnPfI for ; Tue, 24 Jan 2017 18:10:28 +0000 (UTC) Received: from mail-ua0-f181.google.com (mail-ua0-f181.google.com [209.85.217.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 895B25F296 for ; Tue, 24 Jan 2017 18:10:27 +0000 (UTC) Received: by mail-ua0-f181.google.com with SMTP id 35so140110861uak.1 for ; Tue, 24 Jan 2017 10:10:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=AlvyBvRxL9OCuf5Jo+2XPK/pxtsu0tzoLt/NKlLdmRc=; b=ghGh5yEC7ud+LAiZbuzuT/Q0aXpegwPZW7+LbSGBxk8X3DigMFbHvHsIgbH2FikMV+ LSnQ01jGL7EvmEXc+8P+hWDjH5CEBi/yg02q9dwpViHkkGwHarDCxIWPo8bWRVtBfb7+ FHv84O16tF37IZDrO0bggiGp9qZVKah4Y7w1dmWGweOPH6Erv+vrc09T2Fdn58PtRdWt LZML/fq0mqiObiQw8OVM6c/NuLm0q33jCkGIGr37JoW4jqqHxb7NlsN4GikedF9VNKG3 zPof4PgyqXH3JuGd6ep3YqEJfsTep8WtOIjs5poNALgHuMTJYZYgQr3eYOFnryFZ71ix Hq9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=AlvyBvRxL9OCuf5Jo+2XPK/pxtsu0tzoLt/NKlLdmRc=; b=WFlrPB9PJqiyPS6LYWvfKO9/eJYf+gpKxiQajN8/5jcVdZWT1p342/69JMqY/3W6ln 03fEbMc9QYFa+7OOhLPYDoXpRmrZsKOfRb/w9QXHhTotYGEJYC8ggex4PTTKqwkFJ/7s tHglK0WtxsYrBK3toA2CDvLZFY1GtZpeiaQAljwZJB/nL607da6/T85YYxbx/imhvb8w EgNoXKZW+8ZG7XEnGXQEWMy5OG0D2NaUewtx3/Fhqs5Awg9nZEeQtirr7a0CfnaHPr0h 4x3l8ANltIY+ABVp1MNhspvuie+l/0007LNArJLPP315NzKVKP5/kA7nQ+9iV78FDa9s N+GA== X-Gm-Message-State: AIkVDXJDt0vG4DKti2KRsAPgvIwAYHD4TXCGX+LJljiTYbDIjKfUFW1o/4mFxr1MZo5hSPzlRActPn4JlqqjaA== X-Received: by 10.176.5.138 with SMTP id e10mr18470322uae.109.1485281426371; Tue, 24 Jan 2017 10:10:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.74.144 with HTTP; Tue, 24 Jan 2017 10:10:06 -0800 (PST) From: "Michele Mase'" Date: Tue, 24 Jan 2017 19:10:06 +0100 Message-ID: To: Httpd Users List Content-Type: multipart/alternative; boundary=94eb2c124794cf79b20546db07e8 Subject: [users@httpd] Unable to fork new process archived-at: Tue, 24 Jan 2017 18:10:32 -0000 --94eb2c124794cf79b20546db07e8 Content-Type: text/plain; charset=UTF-8 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 --94eb2c124794cf79b20546db07e8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
All,
I've a apache web server with 600 we= b sites as reverse proxy. The average of req. is more than 100 req/sec duri= ng all the day.
The apache is a 2.2.15 release 56.el6_8.3 (RedHat 6.x sy= stem up to date) + mod_ssl.
Every 10 days, the system has problems, and = in the error log i found dozen of:

=C2=A0[error] (12)Cannot allocate= memory: fork: Unable to fork new process

The temporary s= olution for me is the following: after an alert mail from the system monito= ring server, I must restart the httpd using:
service httpd st= op; killall httpd.worker; killall -9 httpd.worker; service httpd start
<= /div>
Adding more ram to the system does not help.

Any suggestion?
Best regards

apachectl -l
Compiled i= n modules:
=C2=A0 core.c
=C2=A0 worker.c
=C2=A0 http_core.c
=C2= =A0 mod_so.c

apachectl -M
Loaded Modules:
=C2=A0core_module (s= tatic)
=C2=A0mpm_worker_module (static)
=C2=A0http_module (static)=C2=A0so_module (static)
=C2=A0log_post_module (shared)
=C2=A0evasiv= e20_module (shared)
=C2=A0auth_basic_module (shared)
=C2=A0auth_diges= t_module (shared)
=C2=A0authn_file_module (shared)
=C2=A0authn_alias_= module (shared)
=C2=A0authn_anon_module (shared)
=C2=A0authn_dbm_modu= le (shared)
=C2=A0authn_default_module (shared)
=C2=A0authz_host_modu= le (shared)
=C2=A0authz_user_module (shared)
=C2=A0authz_owner_module= (shared)
=C2=A0authz_groupfile_module (shared)
=C2=A0authz_dbm_modul= e (shared)
=C2=A0authz_default_module (shared)
=C2=A0ldap_module (sha= red)
=C2=A0authnz_ldap_module (shared)
=C2=A0include_module (shared)<= br>=C2=A0log_config_module (shared)
=C2=A0logio_module (shared)
=C2= =A0env_module (shared)
=C2=A0ext_filter_module (shared)
=C2=A0mime_ma= gic_module (shared)
=C2=A0expires_module (shared)
=C2=A0deflate_modul= e (shared)
=C2=A0headers_module (shared)
=C2=A0usertrack_module (shar= ed)
=C2=A0setenvif_module (shared)
=C2=A0mime_module (shared)
=C2= =A0dav_module (shared)
=C2=A0status_module (shared)
=C2=A0autoindex_m= odule (shared)
=C2=A0info_module (shared)
=C2=A0dav_fs_module (shared= )
=C2=A0vhost_alias_module (shared)
=C2=A0negotiation_module (shared)=
=C2=A0dir_module (shared)
=C2=A0actions_module (shared)
=C2=A0spe= ling_module (shared)
=C2=A0userdir_module (shared)
=C2=A0alias_module= (shared)
=C2=A0substitute_module (shared)
=C2=A0rewrite_module (shar= ed)
=C2=A0proxy_module (shared)
=C2=A0proxy_balancer_module (shared)<= br>=C2=A0proxy_ftp_module (shared)
=C2=A0proxy_http_module (shared)
= =C2=A0proxy_ajp_module (shared)
=C2=A0proxy_connect_module (shared)
= =C2=A0cache_module (shared)
=C2=A0suexec_module (shared)
=C2=A0disk_c= ache_module (shared)
=C2=A0cgi_module (shared)
=C2=A0version_module (= shared)
=C2=A0unique_id_module (shared)
=C2=A0ssl_module (shared)
= =C2=A0reqtimeout_module (shared)
Syntax OK
--94eb2c124794cf79b20546db07e8--