Re: [PHP4BETA] PHP4 Betas
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] PHP4 Betas | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5795@lists.php.net to get a copy of this message | ||
Please try the current CVS. You can grab a snapshot from
http://bonsai.php.net/~sas/snapshots/ or follow
the cvs instructions at
http://www.php.net/version4
-Rasmus
On Sat, 30 Oct 1999, David Shadoff wrote:
> Did you folks know that PHP4 Beta2 leaves defunct Oracle shadow processes
> every time a page is accessed ?
> ( At least on PHP4 Beta2/Apache 1.3.9, Linux RH6.0, Oracle 8i EE v8.1.5_01 )
>
> This is most likely due to either (a) incomplete cleanup during the
> Oracle-connection takedown, or (b) no SIGCHLD handler.
>
> Has this already been addresed in the current CVS ?
>
>
> Run any connect/disconnect page a few times through your browser, and then
> do this from the UNIX command line: 'ps -ef | grep defunct'
>
> You should see the same number of '[oracle <defunct>]' processes as
> accesses to the page.
>
> (I use the OCILogon() and OCILogoff() functions, because the ora_*()
> functions won't connect to my Oracle 8.1.5 ).
>
>
> Here's a sample script, for the incredulous:
> <html>
> <head>
> <title>
> Title
> </title>
> </head>
> <body bgcolor="#d8d8d8">
> <font face="arial, helvetica, sans-serif">
> <center>
>
> <?
> $conn = OCILogon("reader","reader");
> if ($conn) {
> print "<center><bold>CONNECTED</bold></center>";
> OCILogoff($conn);
> } else {
> print("Can't connect to database !!<BR>\n");
> }
> ?>
> </font>
> </body>
> </html>
>
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>