Current time: 04-16-2024, 08:55 PM Hello There, Guest! (LoginRegister)


Post Reply 
php problem ???
Author Message
DmT Offline
Junior Member
*

Posts: 33
Joined: Sep 2007
Reputation: 0
Post: #1
php problem ???
hi, i have a server with ispCP
all works fine, but, when you try todo a large query with php, the cpu load go to critical, to try to get where is the problem, i install monit, and the problem its the php configuration, apache goes down, but all the other services are working ok, i host 5 invision forums, when i try to send a mail to my user the apache (php) fails....

*Server :

Amd Opteron Dual Core 1210 1.8 ghz
2 gb ram
400 gb hdd
(This post was last modified: 10-17-2007 01:29 PM by DmT.)
10-17-2007 07:37 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: php problem ???
Hi

first: could you please post such big files without the comment lines...

ok, the master php.ini is used ti run ispcp itself - there is a php.ini for every vhost (if you run ispcp in the "normal" way...).

I'd check the logfiles for the vhosts - maybe enable php logging to a logfile...

If you have the suhosin library installed, maybe you should set the simulation mode and have a look at the php log file...

/Joximu
10-17-2007 07:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
DmT Offline
Junior Member
*

Posts: 33
Joined: Sep 2007
Reputation: 0
Post: #3
RE: php problem ???
post edited,

no suhosin library...

looks like a fcgi problem,

i can turn off fastcgi ???

apache error log:

Code:
[Wed Oct 17 05:25:18 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/emulechile.org/php5-fcgi-starter" (uid 2002, gid 2002) started (pid 20632)
[Wed Oct 17 05:25:18 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/warez-nation.cl/php5-fcgi-starter" (uid 2011, gid 2011) restarted (pid 20689)
[Wed Oct 17 05:25:19 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/warez-nation.cl/php5-fcgi-starter" (pid 20689) termination signaled
[Wed Oct 17 05:25:19 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/warez-nation.cl/php5-fcgi-starter" (pid 20689) terminated by calling exit with status '0'
[Wed Oct 17 05:25:21 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/emulechile.org/php5-fcgi-starter" (uid 2002, gid 2002) started (pid 21000)
[Wed Oct 17 05:25:24 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/emulechile.org/php5-fcgi-starter" (uid 2002, gid 2002) started (pid 21429)
[Wed Oct 17 05:25:31 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/warez-nation.cl/php5-fcgi-starter" (uid 2011, gid 2011) restarted (pid 22409)
[Wed Oct 17 05:25:32 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/warez-nation.cl/php5-fcgi-starter" (pid 22409) termination signaled
[Wed Oct 17 05:26:03 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/emulechile.org/php5-fcgi-starter" (uid 2002, gid 2002) started (pid 26986)
[Wed Oct 17 05:26:05 2007] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/warez-nation.cl/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Wed Oct 17 05:26:06 2007] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/warez-nation.cl/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Wed Oct 17 05:26:06 2007] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/warez-nation.cl/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Wed Oct 17 05:26:06 2007] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/emulechile.org/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Wed Oct 17 05:26:08 2007] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/warez-nation.cl/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Wed Oct 17 05:26:09 2007] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/emulechile.org/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Wed Oct 17 05:26:11 2007] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/warez-nation.cl/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Wed Oct 17 05:26:11 2007] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/warez-nation.cl/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
(This post was last modified: 10-17-2007 01:34 PM by DmT.)
10-17-2007 01:31 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: php problem ???
I wouldn't switch back to mod-php, rather try another fastcgi thing (maybe fcgid)

Here we have the error:
"exceeded dynamicMaxProcs (10)"

You can change the value "10" in /etc/apache2/modules_available/fastcgi_ispcp.conf

FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100

Have a look at the doku
http://www.fastcgi.com/mod_fastcgi/docs/...stcgi.html

/Joximu
10-17-2007 07:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DmT Offline
Junior Member
*

Posts: 33
Joined: Sep 2007
Reputation: 0
Post: #5
RE: php problem ???
joximu Wrote:I wouldn't switch back to mod-php, rather try another fastcgi thing (maybe fcgid)

Here we have the error:
"exceeded dynamicMaxProcs (10)"

You can change the value "10" in /etc/apache2/modules_available/fastcgi_ispcp.conf

FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100

Have a look at the doku
http://www.fastcgi.com/mod_fastcgi/docs/...stcgi.html

/Joximu

Fixed!!!

thxs man

y change the maxprocesses value to 200 and the server work stable now Tongue
10-17-2007 11:21 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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