Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

In 1869 the waffle iron was invented for people who had wrinkled waffles.


devel / comp.infosystems.www.servers.unix / why apache create child process one more than startservers config parameter?

SubjectAuthor
* why apache create child process one more than startservers config parameter?Jeff
`* why apache create child process one more than startservers config parameter?Eli the Bearded
 `- why apache create child process one more than startservers config parameter?Jeff

1
why apache create child process one more than startservers config parameter?

<7b45fcdf-11f1-45ac-8c66-f2fcd47baec8n@googlegroups.com>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=154&group=comp.infosystems.www.servers.unix#154

  copy link   Newsgroups: comp.infosystems.www.servers.unix
X-Received: by 2002:a05:6214:20a8:b0:477:1882:3e7 with SMTP id 8-20020a05621420a800b00477188203e7mr6035173qvd.44.1662607775325;
Wed, 07 Sep 2022 20:29:35 -0700 (PDT)
X-Received: by 2002:ac8:5b44:0:b0:344:f78e:7bca with SMTP id
n4-20020ac85b44000000b00344f78e7bcamr6264710qtw.330.1662607775127; Wed, 07
Sep 2022 20:29:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.infosystems.www.servers.unix
Date: Wed, 7 Sep 2022 20:29:34 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=39.118.200.223; posting-account=bsPVVwoAAABvYq4yP8MmE5bYDw8jAVXz
NNTP-Posting-Host: 39.118.200.223
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7b45fcdf-11f1-45ac-8c66-f2fcd47baec8n@googlegroups.com>
Subject: why apache create child process one more than startservers config parameter?
From: spacenasa83@gmail.com (Jeff)
Injection-Date: Thu, 08 Sep 2022 03:29:35 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1267
 by: Jeff - Thu, 8 Sep 2022 03:29 UTC

why apache create child process one more than startservers config parameter?

* http-mpm.conf (worker)
StartServers 5

* Real Process count(ps -ef httpd)
Parrent 1
Child 6 (one more than 'StartServers 5')

Re: why apache create child process one more than startservers config parameter?

<eli$2209080100@qaz.wtf>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=155&group=comp.infosystems.www.servers.unix#155

  copy link   Newsgroups: comp.infosystems.www.servers.unix
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5.panix.com!qz!not-for-mail
From: *@eli.users.panix.com (Eli the Bearded)
Newsgroups: comp.infosystems.www.servers.unix
Subject: Re: why apache create child process one more than startservers config parameter?
Date: Thu, 8 Sep 2022 05:00:21 -0000 (UTC)
Organization: Some absurd concept
Message-ID: <eli$2209080100@qaz.wtf>
References: <7b45fcdf-11f1-45ac-8c66-f2fcd47baec8n@googlegroups.com>
Injection-Date: Thu, 8 Sep 2022 05:00:21 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="10243"; mail-complaints-to="abuse@panix.com"
User-Agent: Vectrex rn 2.1 (beta)
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
X-US-Congress: Moronic Fucks.
X-Attribution: EtB
XFrom: is a real address
Encrypted: double rot-13
 by: Eli the Bearded - Thu, 8 Sep 2022 05:00 UTC

In comp.infosystems.www.servers.unix, Jeff <spacenasa83@gmail.com> wrote:
> why apache create child process one more than
> startservers config parameter?
>
> * http-mpm.conf (worker)
> StartServers 5
>
> * Real Process count(ps -ef httpd)
> Parrent 1
> Child 6 (one more than 'StartServers 5')

StartServers is not a maximum, it's a hint for expected load at startup.

MinSpareServers and MaxSpareServers influence the number of processes by
controlling how many idle children to have.

MaxRequestWorkers (aka MaxClients) is the hard cap on the number of
processes.

https://httpd.apache.org/docs/2.4/mod/mpm_common.html
https://httpd.apache.org/docs/2.4/mod/prefork.html

Elijah
------
four spare is a good config on a tiny vm

Re: why apache create child process one more than startservers config parameter?

<e514730e-d5ce-46f9-8dd9-ad775aa7eaefn@googlegroups.com>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=156&group=comp.infosystems.www.servers.unix#156

  copy link   Newsgroups: comp.infosystems.www.servers.unix
X-Received: by 2002:a37:9d6:0:b0:6c7:3c3d:291d with SMTP id 205-20020a3709d6000000b006c73c3d291dmr5096984qkj.132.1662617616911;
Wed, 07 Sep 2022 23:13:36 -0700 (PDT)
X-Received: by 2002:a05:6214:4005:b0:474:3c94:cdc2 with SMTP id
kd5-20020a056214400500b004743c94cdc2mr6084584qvb.17.1662617616746; Wed, 07
Sep 2022 23:13:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.infosystems.www.servers.unix
Date: Wed, 7 Sep 2022 23:13:36 -0700 (PDT)
In-Reply-To: <eli$2209080100@qaz.wtf>
Injection-Info: google-groups.googlegroups.com; posting-host=39.118.200.223; posting-account=bsPVVwoAAABvYq4yP8MmE5bYDw8jAVXz
NNTP-Posting-Host: 39.118.200.223
References: <7b45fcdf-11f1-45ac-8c66-f2fcd47baec8n@googlegroups.com> <eli$2209080100@qaz.wtf>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e514730e-d5ce-46f9-8dd9-ad775aa7eaefn@googlegroups.com>
Subject: Re: why apache create child process one more than startservers config parameter?
From: spacenasa83@gmail.com (Jeff)
Injection-Date: Thu, 08 Sep 2022 06:13:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2800
 by: Jeff - Thu, 8 Sep 2022 06:13 UTC

2022년 9월 8일 목요일 오후 2시 0분 23초 UTC+9에 Eli the Bearded님이 작성한 내용:
> In comp.infosystems.www.servers.unix, Jeff <space...@gmail.com> wrote:
> > why apache create child process one more than
> > startservers config parameter?
> >
> > * http-mpm.conf (worker)
> > StartServers 5
> >
> > * Real Process count(ps -ef httpd)
> > Parrent 1
> > Child 6 (one more than 'StartServers 5')
> StartServers is not a maximum, it's a hint for expected load at startup.
>
> MinSpareServers and MaxSpareServers influence the number of processes by
> controlling how many idle children to have.
>
> MaxRequestWorkers (aka MaxClients) is the hard cap on the number of
> processes.
>
> https://httpd.apache.org/docs/2.4/mod/mpm_common.html
> https://httpd.apache.org/docs/2.4/mod/prefork.html
>
> Elijah
> ------
> four spare is a good config on a tiny vm

The one httpd was cgi daemon.

# pstack 57676
#0 0x000000387620eb10 in __accept_nocancel () from /lib64/libpthread.so.0
#1 0x00007fde96fd7bae in cgid_server () from /usr/local/apachesso/modules/mod_cgid.so
#2 0x00007fde96fd89b4 in cgid_start () from /usr/local/apachesso/modules/mod_cgid.so
#3 0x00007fde96fd8ad0 in cgid_init () from /usr/local/apachesso/modules/mod_cgid.so
#4 0x00000000004581c9 in ap_run_post_config ()
#5 0x0000000000430d59 in main ()

Thanks.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor