Bug #1174
closedThere are 8 threads in lighttpd
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.
Updated by jan over 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
Also available in: Atom