Zu Spitzen Zeiten macht das fcgi Modul jede Menge Unterprozesse des apachen auf. Diese bleiben auch bestehen, auch wenn sie nicht mehr verwendet werden, kosten jedoch Speicher.
Ist es möglich, diese Prozesse nach einer bestimmten Zeit zu killen oder gibt es dafür evt. Konfigurationsmöglichkeiten ?
fcgi geforkte Prozesse löschen - geht das?
-
- Project Manager
- Posts: 11180
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: fcgi geforkte Prozesse löschen - geht das?
Das hängt von der von Dir genutzten Implemetierung ab...tomotom wrote:gibt es dafür evt. Konfigurationsmöglichkeiten ?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 330
- Joined: 2006-09-22 13:37
Re: fcgi geforkte Prozesse löschen - geht das?
Der apache sieht so aus:
mit fastcgi als Modul
Code: Select all
Server version: Apache/2.0.54
Server built: Jul 28 2006 08:55:39
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT=""
-D SUEXEC_BIN="/usr/lib/apache2/suexec2"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
...
-
- Posts: 330
- Joined: 2006-09-22 13:37
Re: fcgi geforkte Prozesse löschen - geht das?
Geht's nun oder gehts nicht?
-
- Project Manager
- Posts: 11180
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: fcgi geforkte Prozesse löschen - geht das?
Das hängt von der von Dir genutzten Implemetierung ab... (mod_fcgid/mod_fastcgi/spawn-fcgi/etc., config, sonstige infos, ...)tomotom wrote:Geht's nun oder gehts nicht?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 330
- Joined: 2006-09-22 13:37
Re: fcgi geforkte Prozesse löschen - geht das?
Wie bereits gesagt wird das Modul fastcgi wird verwendet, mit folgender Konfiguration:
Was fehlen noch für Infos?
Was ist spawn-fcgi?
Code: Select all
7 <IfModule mod_fastcgi.c>
8 AddHandler fastcgi-script .fcgi
9
18 AddHandler php-fastcgi .php
19
20 <Location /cgi-bin/php-fcgi-starter>
21 SetHandler fastcgi-script
22 Options +ExecCGI
23 </Location>
24
25 Action php-fastcgi /cgi-bin/php-fcgi-starter
28 </IfModule>
Was ist spawn-fcgi?
-
- Project Manager
- Posts: 11180
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: fcgi geforkte Prozesse löschen - geht das?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.