nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Lighttpd stoped but php-cgi still running ??

This is a discussion on Lighttpd stoped but php-cgi still running ?? within the Web servers forums, part of the Mastering Servers category; The number of times i restarted lighttpd , the no of php-cgi got increased , but later when i stoped ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-23-2008, 06:53 PM
Junior Member
User
 
Join Date: Jun 2008
My distro: centos 5
Posts: 15
Rep Power: 0
rootadmin is on a distinguished road
Arrow Lighttpd stoped but php-cgi still running ??

The number of times i restarted lighttpd , the no of php-cgi got increased , but later when i stoped lighttpd permanently and started httpd , i found 8-10 instance of php-cgi were still running .

How can i correct it , and all these memory eating php-cgi once i stops lighttpd??

Thanks In Advacne.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-23-2008, 11:13 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 578
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

I'm not sure about your question but I think php-cgi were open because of client connection. Do you run lighttpd in jail?
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #3 (permalink)  
Old 06-24-2008, 11:55 AM
Junior Member
User
 
Join Date: Jun 2008
My distro: centos 5
Posts: 15
Rep Power: 0
rootadmin is on a distinguished road
Default

jail ?? my knowledge of linux is very limited and dnt know abt these things , so i consider i am not running it inside the jail
I tried to kill manually each php-cgi one by one using
#kill -9 pid
but it takes lot of time , is there anyway i can kill all the process belonging to one group i.e lighttpd.
Thanks.
Reply With Quote
  #4 (permalink)  
Old 06-24-2008, 07:41 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 973
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Try
Code:
killall php-cgi
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #5 (permalink)  
Old 06-24-2008, 09:06 PM
Junior Member
User
 
Join Date: Jun 2008
My distro: centos 5
Posts: 15
Rep Power: 0
rootadmin is on a distinguished road
Default

thanks adminji.
Reply With Quote
Reply

Bookmarks

Tags
command , killall , lighttpd , linux


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Getting Squid 3.0 up and running Mic Linux software 4 05-18-2008 03:56 PM
Monitor Running Services barrett.wendt@aquila.com Shell scripting 2 06-25-2007 09:24 PM
how to enumerate currently running process hiimsa Coding in General 2 11-11-2006 03:02 PM
How long the sys was running? jithendra Linux software 2 10-16-2006 05:31 PM
remotely running X from other system ricc Linux software 4 09-15-2005 11:19 AM


All times are GMT +5.5. The time now is 04:39 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36