X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B00B53857810
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1634318800;
	bh=v1dhceSgNAu/ZI89hlccthYB83fwqpJjppnZoGUBiog=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=lIbeQkRFpUautuMBEay14DjzfsQSudJEXC0Og7ormemYryGHDbUMAwZrobBeIsism
	 6khbHutozAEnWz47htHl31ctoavoeXD2zmpOTH74hKlRgR+uAwkMUpxOAUfJI6CpuB
	 uBvp3FJpNOjP8vxhFzMNa1PSoeV8aTB6RwcgnSdY=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6E4C13858C60
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=8HyEP0gLUiYBYxO6r9OIIBHv1+aqFKHcvuSy+7lpjZ0=;
 b=yUCtU2WA2Z++fItSdp19+xUIzLMHcg1FVrfHF3zkLquaKwpM9jT5Xt5A4lr6/0JPFD
 VT8I8q7xJmHdkneNv5pq9G2as6VL5eFMILVDnLp+n8Ii10ovcsrnwOXUEVI21rIWH9qZ
 0+IODYOi7uYfmzKYZW6oiTEJCoByJ2FZuDx78xaIH+0y5Kp+R2JWTArozJjHkaBM+Cje
 QAlU/Rt+qv4CA47lgocEGDA4ZGu5k6EC2c/MLC9mlCC5blVbNDMdw/znfoIaaS+tvPgB
 zKa+ZPoaDojeBYCIvqJqZejLuMYb+MBrop9vPfZS16x7QUREBFdCs5jD8EiWnHNgRpl2
 EA0g==
X-Gm-Message-State: AOAM532JRyDrdIUTOvttarvUVzeogC8Xyzbdu40uOe4R+W+JvSwlo41p
 IsacZZgXG/o8/YTWNThv0Xr6fRrDl6vWupt2qYTLTjgJkn5C+Q==
X-Google-Smtp-Source: ABdhPJy9VJ45L/zcO5+fiDpb2DHHiQy2YbMHz8/WDHqAHlyxfFmL2+dxjbBk9huvF1FTLvVAekQiZLs4cAlYDKGg/fM=
X-Received: by 2002:a67:e28a:: with SMTP id g10mr15413238vsf.5.1634318770762; 
 Fri, 15 Oct 2021 10:26:10 -0700 (PDT)
MIME-Version: 1.0
References: <CAK0ZC5W61MjdXxLwAaeRHK4u9ovW0BsLZ3RuZT+DPvcgte+X-g@mail.gmail.com>
 <e9433bb2-2965-f167-d555-07bda7df260a@maxrnd.com>
In-Reply-To: <e9433bb2-2965-f167-d555-07bda7df260a@maxrnd.com>
Date: Fri, 15 Oct 2021 11:25:59 -0600
Message-ID: <CAK0ZC5V8QqKSUFff-meu8VqmjQ-X62cOCNNb7LJap+k_u6LjmQ@mail.gmail.com>
Subject: Re: Apache Fork Errors - Found on Windows Server 2019
To: cygwin@cygwin.com
X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: OwN-3m-All via Cygwin <cygwin@cygwin.com>
Reply-To: OwN-3m-All <own3mall@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

> Apache had/has two run modes, pre-forking and threaded.  It appears
you're running it in pre-forking mode.  Try running it in threaded mode.
This might be controlled by httpd.conf or some other Apache config file.

That is doable, but changing it makes it so that PHP no longer works.

To make that change, you just comment out the mpm_prefork.so line and
uncomment the mpm_worker.so line to change the mode in httpd.conf:

#LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
LoadModule mpm_worker_module modules/mod_mpm_worker.so

But then, PHP no longer works, so that doesn't really help in this
situation, as I must have PHP working.  I believe the pre-forking mode used
to work previously.  I'm trying to test this in Windows 7 and 10 to confirm.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
