LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-14-2011, 02:18 AM   #1
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Rep: Reputation: 18
how to limit php-cgi processes in lighttpd web server on embeddedb arm linux


hello
I am working on a embedded arm linux with 64MB of memory that is realy important to me and I have a very big problem with my php-cgi processes.there is always 8 number of them even when there is no web page open and the consume too much memory as you can see:
Quote:
root 15190 11.8 6.4 14160 3940 ? R 16:20 1:23 /usr/bin/php-cgi
root 18530 10.9 6.4 14160 3928 ? R 16:23 0:53 /usr/bin/php-cgi
root 22371 0.0 6.1 13512 3764 ? Ss 16:02 0:00 /usr/bin/php-cgi
root 22374 0.0 6.1 13512 3764 ? Ss 16:02 0:00 /usr/bin/php-cgi
root 22376 0.0 6.1 13512 3764 ? Ss 16:02 0:00 /usr/bin/php-cgi
root 22378 0.0 6.1 13512 3764 ? Ss 16:02 0:00 /usr/bin/php-cgi
root 22379 2.2 6.2 13676 3860 ? S 16:02 0:40 /usr/bin/php-cgi
root 22384 4.3 6.7 13688 4112 ? S 16:02 1:17 /usr/bin/php-cgi
how can I limit the number of them to 4 or 5 or what ever that I found suitable for my system ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to limit php-cgi processes number with lighttpd web server on embeddedb arm linux golden_boy615 Linux - General 0 12-10-2011 07:08 AM
lighttpd: backend is overloaded + multiple php-cgi processes in D state? quanta Linux - Server 3 10-05-2010 11:44 PM
apache 2.2.8, mod_fcgid 2.2 and php-cgi 5.2.6 processes die 70mas Linux - Server 2 03-17-2008 01:11 AM
LXer: Howto Setup a Lighttpd Chroot Jail Web Server under Debian Linux LXer Syndicated Linux News 0 05-06-2007 06:31 PM
How to make Lighttpd Web Server to use /etc/shadow file vikasumit Linux - Software 4 05-06-2006 12:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration