delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/10/15/13:26:41

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT 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 AT mail DOT gmail DOT com>
<e9433bb2-2965-f167-d555-07bda7df260a AT maxrnd DOT 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 AT cygwin DOT 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 AT cygwin DOT 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 AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: OwN-3m-All via Cygwin <cygwin AT cygwin DOT com>
Reply-To: OwN-3m-All <own3mall AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019