This patch will make it into 4.0.5, I believe. 4.0.4pl1 fixes only two bugs
(one security issue, and one that make the PDF plugin work again).

My patches could have side effects, since it will run code that has never
been run before (like actually closing those persistent connections). They
are in CVS.

If you are using Apache (most of us are with PHP), note that persistent
connections are per process, not per machine. Mod_ssl can use an Apache
extension to keep shared memory across processes, but PHP does not. Read the
docs (or the PHP list) to find out more.

Sincerely,

Steven Roussey
Network54.com
http://network54.com/?pp=e


>
> That is what I suspected. I suffer the same.
>
> The problem is buggy PHP persistent connection code. The "almost good"
> solution was presented to PHP people by Steven Roussey
> (http://marc.theaimsgroup.com/?l=php-dev&m=97562841130973&w=2) and
> (http://marc.theaimsgroup.com/?l=php-dev&m=97858730928909&w=2)
> and according
> to Andi Gutmans
> (http://marc.theaimsgroup.com/?l=php-dev&m=97858932431876&w=2)
> the patch was
> committed to PHP CVS.
>
> However the patch is absent even from PHP 4.0.4pl1 (its
> zend_list.c is dated
> 2000-10-20). You might try to patch your PHP by yourself. Or try
> the latest
> snapshot from http://snaps.php.net (though I don't know if the patch is
> there).
>
> Sincerely speaking I don't know why Steven's patches haven't been
> incorporated into PHP 4.0.4pl1. Maybe Andi (Cc:ed) could explain this?
>
> Maciek
>
> > -----Original Message-----
> > From: Denis Gasparin [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 16, 2001 8:50 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: RE: What does this mean ?
> >
> >
> > I use php 4.0.3 with persistent connections. MySQL is installed on Linux
> > RedHat 7.0.
> > The problem is that the Mysql exists and I don't know exactly
> > what appends
> > to the php process....
> >
> > Denis
> >
> > At 19.21 15/01/01, Maciek Uhlig wrote:
> > >Could you describe what exactly software connects to MySQL in
> your case?
> > >
> > >Maciek
> > >
> > > > -----Original Message-----
> > > > From: Denis Gasparin [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, January 15, 2001 6:00 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: What does this mean ?
> > > >
> > > >
> > > >  From when I installed the mysql 3.23.30gamma I have mysql
> > > > reporting these
> > > > warnings:
> > > >
> > > > 10115 17:51:22  Aborted connection 2886 to db: 'db_name' user:
> > > > 'user' host:
> > > > `www.host'
> > > > (Got an error reading communication packets)
> > > > 010115 17:51:36  Aborted connection 3754 to db: 'db_name'
> user: 'user'
> > > > host: `www.host'
> > > > (Got an error reading communication packets)
> > > >
> > > > We have 700-800 contemporary connections to mysql and these
> > warnings are
> > > > given periodically every 5-10 minutes...
> > > >
> > > > Why does Mysql generate these logs?
> > > >
> > > > Denis
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > Before posting, please check:
> > > >    http://www.mysql.com/manual.php   (the manual)
> > > >    http://lists.mysql.com/           (the list archive)
> > > >
> > > > To request this thread, e-mail <[EMAIL PROTECTED]>
> > > > To unsubscribe, e-mail
> > > > <[EMAIL PROTECTED]>
> > > > Trouble unsubscribing? Try:
http://lists.mysql.com/php/unsubscribe.php
> > >
> > >
>
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to