Current time: 04-18-2024, 10:08 AM Hello There, Guest! (LoginRegister)


Post Reply 
automatic template
Author Message
vincenzo.t Offline


Posts: 2
Joined: Aug 2010
Reputation: 0
Post: #1
automatic template
Hello

how I can take the username into php5-fcgi-start when the domain is create? I have tryed {SUEXEC_USER} but it don't work, I can add this string

PHP Code:
# Kill all old process
ps ax -awk '{ if ( $3 == "1" && $1 == "{SUEXEC_USER}" && $12 == "/usr/bin/php-cgi" ) { print "kill " $2 } }' sh 

Automatically for each create domain?
08-02-2010 11:09 PM
Find all posts by this user Quote this message in a reply
nuke3d Offline
Junior Member
*

Posts: 107
Joined: Sep 2007
Reputation: 1
Post: #2
RE: automatic template
Adding this broke some scripts for me, can't recommend it.
08-02-2010 11:17 PM
Find all posts by this user Quote this message in a reply
vincenzo.t Offline


Posts: 2
Joined: Aug 2010
Reputation: 0
Post: #3
RE: automatic template
hello

if i don't add it my server crash because many php-cgi proces are open and the cpu go in overload = crash ...with it the cpu consumaption is normal, do you know I can add the user automatically or how I can optimize ispcp for not open many php-cgi process zombie?
08-02-2010 11:40 PM
Find all posts by this user Quote this message in a reply
nuke3d Offline
Junior Member
*

Posts: 107
Joined: Sep 2007
Reputation: 1
Post: #4
RE: automatic template
I think you have to update your php version to solve the zombie process issue. Try the packages on http://www.dotdeb.org/
08-03-2010 07:01 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)