ispCP - Board - Support
automatic template - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: automatic template (/thread-11290.html)



automatic template - vincenzo.t - 08-02-2010 11:09 PM

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?


RE: automatic template - nuke3d - 08-02-2010 11:17 PM

Adding this broke some scripts for me, can't recommend it.


RE: automatic template - vincenzo.t - 08-02-2010 11:40 PM

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?


RE: automatic template - nuke3d - 08-03-2010 07:01 AM

I think you have to update your php version to solve the zombie process issue. Try the packages on http://www.dotdeb.org/