You are not logged in.

#1 2015-01-03 11:36:24

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

[SOLVED] apache starts unwanted number of processes

Output from apachectl

$ sudo apachectl -l
Compiled in modules:
  core.c
  mod_so.c
  http_core.c

Meaning it will use prefork
In my httpd-mpm.conf

<IfModule mpm_prefork_module>
    StartServers             1
    MinSpareServers          1
    MaxSpareServers          1
    MaxRequestWorkers        5
    MaxConnectionsPerChild   5
</IfModule>

Yet httpd start many more:

$ pstree
systemd─┬─agetty
...
        ├─httpd───3*[httpd───26*[{httpd}]]
...

The system has limited resources and is not a web server. I only need it for occasional munin consultation and perhaps owncload.

Last edited by theking2 (2015-01-04 14:42:57)


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#2 2015-01-04 14:39:27

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

Re: [SOLVED] apache starts unwanted number of processes

Ok, I decided I don't need apache for this. I'm now on lighttpd which does everything I need, except php interpreting.


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

Board footer

Powered by FluxBB