Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94161 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71688 invoked from network); 20 Jun 2016 20:25:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2016 20:25:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 157.56.111.105 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 157.56.111.105 mail-bn1bbn0105.outbound.protection.outlook.com Received: from [157.56.111.105] ([157.56.111.105:49792] helo=na01-bn1-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1B/C8-16093-C3158675 for ; Mon, 20 Jun 2016 16:25:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RWSoftware.onmicrosoft.com; s=selector1-zend-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=uO9Mq3RBc64eFiPd3HvOh8GWdjt1ttezBUyduqHAQfA=; b=ITZo34XUX9n3+0eaIkGyeIMsVoUIydmfaeR2EJaZgK6m7PEiTyCCjTpzifIcY7zB08Lh/tQHL0mEuT/Z23Qi3JNGJjJnxqBQ3BCSm4OmxqkA3eeB9u7wQGgTQaaS24UhmxuGw7xNDO5pykS3UtwPf0H9l4WyHF1AbAJEgoJTZn0= Received: from BY2PR0201MB1784.namprd02.prod.outlook.com (10.163.72.26) by BY2PR0201MB1781.namprd02.prod.outlook.com (10.163.72.23) with Microsoft SMTP Server (TLS) id 15.1.523.12; Mon, 20 Jun 2016 20:25:27 +0000 Received: from BY2PR0201MB1784.namprd02.prod.outlook.com ([10.163.72.26]) by BY2PR0201MB1784.namprd02.prod.outlook.com ([10.163.72.26]) with mapi id 15.01.0523.015; Mon, 20 Jun 2016 20:25:27 +0000 To: PHP internals CC: Joe Watkins , "davey@php.net" , Nikita Popov , Laruence , Rasmus Lerdorf , Anatol Belski Thread-Topic: Enable Zend Signals by Default Thread-Index: AQHRyvyKAg7RUqKX1E+UJCQCEaKxLg== Date: Mon, 20 Jun 2016 20:25:26 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=dmitry@zend.com; x-originating-ip: [132.245.81.165] x-ms-office365-filtering-correlation-id: a222fff7-b771-4059-bcbe-08d399490425 x-microsoft-exchange-diagnostics: 1;BY2PR0201MB1781;6:rRN/kitFNaxva6JGSwiTKBUm3Ifey1myXpdu62zTwMLtIFqQFpqyXqCER0SNktgX9N+tqMeXO3280zsSvBMeHoPju2nWNuWtCL5xZGTr/0+O+II7/m9qfpMj0NwSjSjpgtV+zHSxccx/nvXJIhIwgypc+TUe+JupI4MJ7XJ/3QkjPcUtnEWhFEwkQOkh4PjoEWvG3KBpiEHqdcIro14v/Z6ES51beKFYOwmG0w4L60Y+ceXMbDsGuOnyVzhAqgS+WQu9i7tHSYaWM70eTnr4Ps6iLvqmaxdt7wWD4t5/QPE=;5:HlTU+hNlep+0mAbUQG+sbSGiaOzvjt0zkZ61R4J8E9Pp1tHqK1SU+vbm2yFrMdqv7DBYm1wOLM10A0MOq3v+Dx5GzMWXvc7cmFVyd5MtWoIi79ki+jLqOBHDVzHCWdJBbKyw0W5oFnKjSzFAZZbfFQ==;24:sUv+2mM/mhlJUiM8mUYN894PKeQmNLNNM7bhxqYmEgRYGoM7vy8h0+B84zdcIt9ALS7Dl3qLmiCzcHYO1Zv9H0XHF15O+xJUOEPXzU6cIak=;7:5J0GY7kBwsoU/QfFK8NR2jsSZA9suys5DR3I8KW9KmznnSzhPxY0ygG3sCR3G+qcQoFBzwMjzDdoNnKZU13xWHUA0gS/bpPHsd59WrmDZzUPTBxW/lfpvVreIRmD/oFbPgpDsU3IBX5Rtc1JHoWtLMM6cwCk/uQyLz2uDmDtvl/Y63jbXAnWc6ekNVCzoIxN/B4PE2RDP0n2p6RAeHVW0OHZpCqPOX5fd7NjGH2ts00b2dd2g+ZlnQ+u0A87BY0G x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1781; x-ld-processed: 32210298-c08b-4829-8097-6b12c025a892,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001);SRVR:BY2PR0201MB1781;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1781; x-forefront-prvs: 09796A1B83 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916002)(189002)(199003)(76576001)(3280700002)(19627405001)(8936002)(16236675004)(19617315012)(19625215002)(3660700001)(99286002)(9686002)(10400500002)(7696003)(97736004)(2906002)(7846002)(229853001)(5002640100001)(19580395003)(74316001)(86362001)(11100500001)(4326007)(15975445007)(105586002)(68736007)(2900100001)(101416001)(106116001)(8676002)(586003)(3846002)(6116002)(102836003)(110136002)(33656002)(189998001)(77096005)(81166006)(81156014)(122556002)(50986999)(54356999)(106356001)(7906002)(92566002)(87936001)(66066001)(7736002)(5003600100003);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR0201MB1781;H:BY2PR0201MB1784.namprd02.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: zend.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_BY2PR0201MB1784B5C1543E993FDF477EBFBF2A0BY2PR0201MB1784_" MIME-Version: 1.0 X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2016 20:25:26.2849 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0201MB1781 Subject: Enable Zend Signals by Default From: dmitry@zend.com (Dmitry Stogov) --_000_BY2PR0201MB1784B5C1543E993FDF477EBFBF2A0BY2PR0201MB1784_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I'm going to enable Zend-Signals subsystem by default. With "Zend signals" enabled, we would have safe termination signal handling= in opcache, that would prevent staying SHM in inconsistent state, in cost = of few additional checks on each opcache SHM update (performance impact is = negligible). Zend Signals were originally designed to safely handle execution timeout an= d other termination signals. However, termination signals were never handled by OPcache (only by APC). Also, introduction of "safe execution timeout" handling made a lot of check= s in Zend Engine redundant. Today, I already removed useless checks in ZE, added other checks in OPcahc= e, and fixed few compatibility problems. This, actually, didn't change anything with "zend signals" disabled. https://github.com/php/php-src/pull/1951 So, I propose to switch zend-signals on, and revert back if it makes proble= ms to 7.1 release process. Any objections? Thanks. Dmitry. --_000_BY2PR0201MB1784B5C1543E993FDF477EBFBF2A0BY2PR0201MB1784_--