[php-maint] Bug#513204: Bug#513204: php5-mysql: doesn't crash anymore if I use taskset to launch my php script
gregt at maths.otago.ac.nz
Fri Jul 10 02:54:49 UTC 2009
(sorry had originally only posted this to bug# 524366)
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:
WARNING: The following packages cannot be authenticated!
Preparing to replace libmysqlclient15off 5.0.51a-24+lenny1 (using
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.
-- Greg Trounson --------------------------
Analyst Programmer / System Administrator
Department of Mathematics and Statistics
University of Otago, Dunedin, New Zealand
-------=[ gregt at maths.otago.ac.nz ]=-------
More information about the pkg-php-maint