[debian-mysql] Bug#524366: [php-maint] Bug#513204: php5-mysql: doesn't crash anymore if I use taskset to launch my php script

Greg Trounson gregt at maths.otago.ac.nz
Fri Jul 3 04:09:33 UTC 2009


Hi,

Running php on Linux 2.6.26-2-686 #1 SMP, Lenny, on a 2x Opteron system.

It looks like the patched mysqlclient package has worked here:

# apt-get install libmysqlclient15off=5.0.51a-24lenny1
...
The following packages will be DOWNGRADED:
  libmysqlclient15off
...
WARNING: The following packages cannot be authenticated!
  libmysqlclient15off
...
Preparing to replace libmysqlclient15off 5.0.51a-24+lenny1 (using
.../libmysqlclient15off_5.0.51a-24lenny1_i386.deb) ...
Unpacking replacement libmysqlclient15off ...
Setting up libmysqlclient15off (5.0.51a-24lenny1) ...

I then ran a variant of Michael's php invocation script along with "stress
-c4 &", and after 800,000 iterations it hasn't missed a beat.  Prior to
the package update the script would segfault after the first thousand or
two.  The workaround of prependeding the php call with "taskset -c 0"
worked here too.

If there's no side-effects of this patch I'd recommend it go to stable
asap, with an incremented version number.

Thanks,
Greg







More information about the pkg-mysql-maint mailing list