Project

General

Profile

Actions

Bug #1174

closed

There are 8 threads in lighttpd

Added by Anonymous almost 17 years ago. Updated over 15 years ago.

Status:
Invalid
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

Hi, dear all:
I configure an lighttpd and start it, then i thought there are 8 threads, such as:
31783 ? Ss 0:00 /work/station/lighttpd-1.4.13/bin/sbin/phpbin/bin/php
31784 ? S 0:00 /work/station/lighttpd-1.4.13/bin/sbin/phpbin/bin/php
31785 ? Ss 0:00 /work/station/lighttpd-1.4.13/bin/sbin/phpbin/bin/php
31786 ? S 0:00 /work/station/lighttpd-1.4.13/bin/sbin/phpbin/bin/php
31787 ? Ss 0:00 /work/station/lighttpd-1.4.13/bin/sbin/phpbin/bin/php
31788 ? S 0:00 /work/station/lighttpd-1.4.13/bin/sbin/phpbin/bin/php
31789 ? Ss 0:00 /work/station/lighttpd-1.4.13/bin/sbin/phpbin/bin/php
31790 ? S 0:00 /work/station/lighttpd-1.4.13/bin/sbin/phpbin/bin/php
and so it will occupy at about 24-30 M memory, can some one tell me how to optimize it?

Thanks very much.

Actions #1

Updated by jan almost 17 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid

max-procs defaults to 4, php starts one angel per worker (4 * (1 + 1) = 8). it isn't a thread but a process.

Read the docs on mod-fastcgi, php and our wiki -> Docs -> PerformanceFastcgi

Actions #2

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom