From nobody Mon Jul 17 15:59:41 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R4Rc51g6hz4ncCF for ; Mon, 17 Jul 2023 15:59:49 +0000 (UTC) (envelope-from robert@webtent.org) Received: from mx3.webtent.net (mx3.webtent.net [208.38.145.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4R4Rc46FS8z40Ls for ; Mon, 17 Jul 2023 15:59:48 +0000 (UTC) (envelope-from robert@webtent.org) Authentication-Results: mx1.freebsd.org; none Received: from localhost (localhost [127.0.0.1]) by mx3.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTP id CCFC3D7997; Mon, 17 Jul 2023 11:59:45 -0400 (EDT) Received: from mx3.webtent.net ([127.0.0.1]) by localhost (mx3.webtent.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 20402-07; Mon, 17 Jul 2023 11:59:45 -0400 (EDT) Received: from [192.168.1.50] (ns2.webtent.net [144.129.73.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: robert@mx3.webtent.net) by mx3.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTPSA id A30ACD793E; Mon, 17 Jul 2023 11:59:44 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=webtent.org; s=201611; t=1689609585; bh=sCEQtEj/qUhnFCgyXPgv/S337azZPDcoroB5jVv07qY=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=NQLQ1Flz10XXjtpTQkjJYcEg/EI6M1ckwM8w3/8dUf1ykXdS7uw8w2FaIiElewIv4 g60BGPboGUoaUMlOJaO+UwpvY3WigCWX8Wht/Yqd7YqyqokxvABSS2Mq7BZERAzSIM g4yrPetnfzxvY8uyXaRrW16ESxslL1TbW67x9XbkZeIWhyHuS1+juxSSGRBtINn18C EGidWisqyQiAdp4Pu8tRyvRNbH87/14xGLMz8nTWVyU31Ej2WnmMfrPG+iTRZPXkC/ M3+TGjB134Fud27rLLSxiWeo8/+xh2QOWcpUFqmJ9MeO7fISggRIwJARPoOTOi+2bs B81dESoSCLQsw== Subject: Re: Apache log rotation To: Dale Scott Cc: FreeBSD References: <254366756.114175105.1689536233529.JavaMail.zimbra@shaw.ca> From: Robert Fitzpatrick Message-ID: <0fe6df30-a669-24cd-386a-d57edf6f4fee@webtent.org> Date: Mon, 17 Jul 2023 11:59:41 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.60 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 In-Reply-To: <254366756.114175105.1689536233529.JavaMail.zimbra@shaw.ca> Content-Type: multipart/alternative; boundary="------------3163486D09BB5567F9ED7923" Content-Language: en-US X-Virus-Scanned: WebTent Mailguard 1.0.4_3 X-Rspamd-Queue-Id: 4R4Rc46FS8z40Ls X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16724, ipnet:208.38.128.0/18, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------3163486D09BB5567F9ED7923 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit > Dale Scott > Sunday, July 16, 2023 3:37 PM > ----- Original Message ----- >> From: "Robert Fitzpatrick" >> To: "FreeBSD" >> Sent: Sunday, July 16, 2023 1:07:35 PM >> Subject: Apache log rotation >> Ever since I upgraded from FreeBSD 13.1 to 13.2, each week when the >> logrotate happens for my Apache logs, apache dies. I see this in the log... >> > Are you using phpopcache? There has been a known issue for a while with a conflit between FreeBSD ASLR and opcache. ASLR was included but not enabled in FreeBSD 13.1, but is enabled in 13.2-RELEASE - hence why we both started seeing issues after upgrading to FreeBSD 13.2. > > For details see https://forums.freebsd.org/threads/apachectl-graceful-causes-sigsegv-with-latest-php-8-1-x-and-php-8-2-x.88814/#post-611560 Thanks for the info, we'll follow. We already have a plan to move to PHP-FPM. --------------3163486D09BB5567F9ED7923 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
Sunday, July 16, 2023 3:37 PM
----- Original Message -----
From: "Robert Fitzpatrick" <robert@webtent.org>
To: "FreeBSD" <freebsd-questions@freebsd.org>
Sent: Sunday, July 16, 2023 1:07:35 PM
Subject: Apache log rotation
Ever since I upgraded from FreeBSD 13.1 to 13.2, each week when the
logrotate happens for my Apache logs, apache dies. I see this in the log...

Are you using phpopcache? There has been a known issue for a while with a conflit between FreeBSD ASLR and opcache. ASLR was included but not enabled in FreeBSD 13.1, but is enabled in 13.2-RELEASE - hence why we both started seeing issues after upgrading to FreeBSD 13.2.

For details see https://forums.freebsd.org/threads/apachectl-graceful-causes-sigsegv-with-latest-php-8-1-x-and-php-8-2-x.88814/#post-611560

Thanks for the info, we'll follow. We already have a plan to move to PHP-FPM.

--------------3163486D09BB5567F9ED7923--