Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleNaming convention changed from ZENDSVR6 to ZENDPHP7changes
Starting with Zend Server 92020, we use ZENDPHP7 ZENDPHP74 instead of ZENDPHP7 or ZENDSVR6 for the Apache instance name.  This article has been updated to use ZENDPHP7ZENDPHP74, with reminders to use ZENDPHP7 for versions 9 through 2019, or ZENDSVR6 for versions 6 through 8.5.

...

The place to start looking is the Work with Active Jobs display to see what the ZENDPHP74 (ZENDPHP7 (or ZENDSVR6 for older versions)  FastCGI FastCGI child jobs are doing. Each FastCGI child job runs a copy of the PHP engine. Every request to process a PHP request via the Apache server is sent to one of these children for processing. If any of the children become permanently unavailable, that can slow the site, as requests may have to wait longer for available children when there are fewer of them. If enough of these children are locked up, the web site can become intolerably slow, as there are simply not enough active children left to process all the traffic in a timely manner.

...

The following example assumes you are running the default ZENDPHP74 (ZENDPHP7 ( or ZENDSVR6 for older versions) Apache instance only. For customers running additional Apache instances using PHP, if some other instance is locking up, please substitute that instance name for ZENDPHP7 ZENDPHP74 in the examples.

The first step is to wait for the lock up or freeze to occur. This is because we need to see the status of the Apache instance jobs when the problem is occurring.  Before restarting Apache to get your web site going again, please take just a couple of minutes to review the status of your Apache jobs. From the 5250 command line:

For version 2020 and higher:

WRKACTJOB SBS(QHTTPSVR) JOB(ZENDPHP74)

For version 9 through 2019 9 or higher:

WRKACTJOB SBS(QHTTPSVR) JOB(ZENDPHP7)

...

Subsystem/Job  User        Type  CPU %  Function        Status
ZENDPHP7ZENDPHP74 QTMHHTTP BCH .0 PGM-QZHBMAIN SIGW
ZENDPHP7ZENDPHP74 QTMHHTTP BCI .0 PGM-QZSRLOG SIGW
ZENDPHP7 ZENDPHP74 QTMHHTTP BCI .0 PGM-QZSRLOG SIGW
ZENDPHP7 ZENDPHP74 QTMHHTTP BCI .0 PGM-QZSRHTTP SIGW
ZENDPHP7 ZENDPHP74 QTMHHTTP BCI .0 PGM-zfcgi SELW
ZENDPHP7 ZENDPHP74 QTMHHTTP BCI .0 PGM-php-cgi.bi THDW
ZENDPHP7 ZENDPHP74 QTMHHTTP BCI .0 PGM-php-cgi.bi TIMW
ZENDPHP7 ZENDPHP74 QTMHHTTP BCI .0 PGM-php-cgi.bi TIMW
ZENDPHP7ZENDPHP74 QTMHHTTP BCI .0 PGM-php-cgi.bi TIMW
ZENDPHP7 ZENDPHP74 QTMHHTTP BCI .0 PGM-php-cgi.bi TIMW
ZENDPHP7 ZENDPHP74 QTMHHTTP BCI .0 PGM-php-cgi.bi TIMW
ZENDPHP7 ZENDPHP74 QTMHHTTP BCI .0 PGM-php-cgi.bi TIMW
ZENDPHP7 ZENDPHP74 QTMHHTTP BCI .0 PGM-php-cgi.bi TIMW
ZENDPHP7ZENDPHP74 QTMHHTTP BCI .0 PGM-php-cgi.bi TIMW
ZENDPHP7 ZENDPHP74 QTMHHTTP BCI .0 PGM-php-cgi.bi TIMW
ZENDPHP7 ZENDPHP74 QTMHHTTP BCI .0 PGM-php-cgi.bi TIMW

Again, these are the jobs for the ZENDPHP74 (ZENDPHP7 ( or ZENDSVR6 for older versions)  instance instance of Apache, and the Apache configuration is set to the defaults as shipped by Zend. You may see some different jobs if your configuration has been modified.

...

Also, please take screen prints or copy the screen as text, to show all of the ZENDPHP74 (ZENDPHP7 ( or ZENDSVR6 for older versions) jobs and the status for them.

...

Restart Apache on IBM i

Warning
titleZENDPHP74 (ZENDPHP7 ( or ZENDSVR6 for older versions) jobs that will not end may be of interest

If any of the ZENDPHP74 (ZENDPHP7 ( or ZENDSVR6 for older versions) jobs stubbornly persist, these jobs will be of interest. First make a note of the status for the jobs, which you can do with a screen shot. Then, use option 5 to display a job, then option 10 on the Work with Job menu to display the joblog. Use F10 to show all messages and F18 to navigate to the bottom. You will often see the job is connected to a QSQSRVR job, and you can display that job to see if it is failed or if it is still running. This can be an important clue as to why your web site may be unresponsive.

...