Zend server taking 100% CPU

General discussion on Zend Server for IBM System i
chris_hird
Posts: 171
Joined: Fri Apr 10, 2009 12:41 am
Location: Toronto
Contact:

Re: Zend server taking 100% CPU

Post by chris_hird » Mon Apr 19, 2010 8:13 pm

OK I have 2 jobs which are now taking up 100% of the CPU, I have held them incase someone wants to see what is going on! This is running the latest GA copy of Zend Server with IBM OS V6R1 at the latest cum level.

Chris...
Shield Advanced Solutions Ltd
Home of JobQGenie and the Receiver Apply Program
http://www.shield.on.ca/Blog

chris_hird
Posts: 171
Joined: Fri Apr 10, 2009 12:41 am
Location: Toronto
Contact:

Re: Zend server taking 100% CPU

Post by chris_hird » Mon Apr 19, 2010 8:34 pm

Can someone please supply me with the recommended FASTCGI settings for the configuration file? I simply copied the one from the zendsvr conf file?
I do have the IBM recommended settings for ZendCore, not sure how relevant these are with ZendServer as your implementation of the settings differs slightly from the IBM notes.

Chris...
Shield Advanced Solutions Ltd
Home of JobQGenie and the Receiver Apply Program
http://www.shield.on.ca/Blog

chris_hird
Posts: 171
Joined: Fri Apr 10, 2009 12:41 am
Location: Toronto
Contact:

Re: Zend server taking 100% CPU

Post by chris_hird » Tue Apr 20, 2010 3:35 pm

Zend Server GA seems to be a problem, I no longer have support so I cannot log a support ticket, pity as I did log a ticket previously which was referred to the forums because the product was not GA. Now its GA I cannot log the problem and support via these forums is limited at best! I will have to end the jobs and do the best I can to clean up the mess that it has caused.

Chris...
Shield Advanced Solutions Ltd
Home of JobQGenie and the Receiver Apply Program
http://www.shield.on.ca/Blog

zend_i5
Posts: 158
Joined: Mon Mar 23, 2009 5:22 pm

Re: Zend server taking 100% CPU

Post by zend_i5 » Tue Apr 20, 2010 4:52 pm

1. The FastCGI configuration settings is described in the Zend Server Help.
2. Check the FastCGI logs in /www/zendsvr/logs directory
Are you trying to run multiple Zend Server instances?

chris_hird
Posts: 171
Joined: Fri Apr 10, 2009 12:41 am
Location: Toronto
Contact:

Re: Zend server taking 100% CPU

Post by chris_hird » Wed Apr 21, 2010 12:25 pm

I am not running multiple copies of the ZenServer, I am running ZendServer plus another website which has multiple VirtualHosts configured. I now cannot sign into the IBM ADMIN HTTP server as it crashed with some kind of memory error. Although this is not related in the results we see I am wondering if it is caused by memory allocation errors in the FastCGI programs???

I have also found a number of JobLogs produced when this error occurred which I have sent onto IBM to review especially in light of the recent crash of their servers. I cannot even get into the IBM Webserver interface to extract the configs but here is the configuration string for the fastcgi for the additional server which has virtualhosts configured.

Server type="application/x-httpd-php" CommandLine="/usr/local/ZendSvr/bin/php-cgi.bin" StartProcesses="2" SetEnv="LIBPATH=/usr/local/ZendSvr/lib" SetEnv="PHPRC=/usr/local/ZendSvr/etc/" SetEnv="PHP_FCGI_CHILDREN=1" SetEnv="PHP_FCGI_MAX_REQUESTS=0" ConnectionTimeout="30" RequestTimeout="60" SetEnv="INSTALLATION_UID=20100125184707767414"

This is a direct copy of the ZendServer config file. I will review the information you have sent for the ZendServer docs.

I have attached copies of the joblogs and dumps I could find.

Chris...
Attachments
qpsrvdmp2.zip
Server dumps
(1.52 KiB) Downloaded 378 times
qpjoblogd.zip
Joblogs of the Virtual Host server which failed, others are still running with no joblog or output?
(11.49 KiB) Downloaded 429 times
Shield Advanced Solutions Ltd
Home of JobQGenie and the Receiver Apply Program
http://www.shield.on.ca/Blog

chris_hird
Posts: 171
Joined: Fri Apr 10, 2009 12:41 am
Location: Toronto
Contact:

Re: Zend server taking 100% CPU

Post by chris_hird » Thu Apr 29, 2010 11:26 pm

As mentioned in my other post about the same problems I have now turned off the server in preference to running PHP on the Linux Server and using i5_Toolkit functions to get to the IBM i data and objects..

Chris...
Shield Advanced Solutions Ltd
Home of JobQGenie and the Receiver Apply Program
http://www.shield.on.ca/Blog

smooney
Posts: 1
Joined: Tue Jul 21, 2009 6:23 pm

Re: Zend server taking 100% CPU

Post by smooney » Thu May 13, 2010 3:18 pm

We are on V5R4, loaded the latest PTF's (as instructed in the Installation Instructions for IBM i and then loaded Zend Server 7.1. It too is sucking up CPU 100% plus. If there is a PTF to stop this, please let me know, otherwise, I cannot evaluate this product until this is fixed. Thanks.

zend_i5
Posts: 158
Joined: Mon Mar 23, 2009 5:22 pm

Re: Zend server taking 100% CPU

Post by zend_i5 » Thu May 13, 2010 4:27 pm

Does the server respond to PHP requests from the browser? Do you see the PHP-CGI jobs in the QHTTPSVR subsystem? What is your server CCSID settings? I would recommend to open a support ticket in Zend support site for this or any other Zend Server problem.

chris_hird
Posts: 171
Joined: Fri Apr 10, 2009 12:41 am
Location: Toronto
Contact:

Re: Zend server taking 100% CPU

Post by chris_hird » Wed May 19, 2010 6:02 pm

Sorry

Disbanded the setup in favor of running it on Linux.. I lost the server (well ZendServer consumed it!) 3 times since starting with the testing, not something I like to have to deal with that regualrly. ZendServer is running great on my Linux and Windows boxes so I assume its the IBM i FastCGI implementation?

Chris
Shield Advanced Solutions Ltd
Home of JobQGenie and the Receiver Apply Program
http://www.shield.on.ca/Blog

zendjapan
Posts: 15
Joined: Thu Jun 25, 2009 7:14 am

Re: Zend server taking 100% CPU

Post by zendjapan » Thu May 27, 2010 5:35 am

I have some information about this, but sorry, I can not show the solution here because it is our company's secret.
If You are Japanese user, I will feel happy if you could wait our localization. :-)

Post Reply