From 906bc8b4b8348bdbe009bd5de1ef1a89bdf01fa5 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 7 Jan 2013 13:28:47 -0500 Subject: [PATCH] threads --- bin/innodb/backfill_threaded.php | 2 +- bin/innodb/update_binaries_threaded.php | 2 +- bin/myisam/backfill_threaded.php | 2 +- bin/myisam/update_binaries_threaded.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/innodb/backfill_threaded.php b/bin/innodb/backfill_threaded.php index eeca1755f..92580ce9d 100755 --- a/bin/innodb/backfill_threaded.php +++ b/bin/innodb/backfill_threaded.php @@ -10,7 +10,7 @@ unset($groups); $ps = new PowerProcess; $ps->RegisterCallback('psUpdateComplete'); -$ps->SetMaxThreads = 10; +$ps->SetMaxThreads = 5; $ps->SetThreadTimeLimit = 0; // Disable child timeout echo "Starting threaded backfill process\n"; diff --git a/bin/innodb/update_binaries_threaded.php b/bin/innodb/update_binaries_threaded.php index 9f550df29..367ec87a2 100755 --- a/bin/innodb/update_binaries_threaded.php +++ b/bin/innodb/update_binaries_threaded.php @@ -11,7 +11,7 @@ unset($groups); $ps = new PowerProcess; $ps->RegisterCallback('psUpdateComplete'); -$ps->SetMaxThreads = 10; +$ps->SetMaxThreads = 5; $ps->SetThreadTimeLimit = 0; // Disable child timeout echo "Starting threaded binary update process\n"; diff --git a/bin/myisam/backfill_threaded.php b/bin/myisam/backfill_threaded.php index b38acffc7..2ac068454 100755 --- a/bin/myisam/backfill_threaded.php +++ b/bin/myisam/backfill_threaded.php @@ -12,7 +12,7 @@ unset($groups); $ps = new PowerProcess; $ps->RegisterCallback('psUpdateComplete'); -$ps->SetMaxThreads = 10; +$ps->SetMaxThreads = 5; $ps->SetThreadTimeLimit = 0; // Disable child timeout echo "Starting threaded backfill process\n"; diff --git a/bin/myisam/update_binaries_threaded.php b/bin/myisam/update_binaries_threaded.php index 2110df70c..1cdcdb6ec 100755 --- a/bin/myisam/update_binaries_threaded.php +++ b/bin/myisam/update_binaries_threaded.php @@ -11,7 +11,7 @@ unset($groups); $ps = new PowerProcess; $ps->RegisterCallback('psUpdateComplete'); -$ps->SetMaxThreads = 10; +$ps->SetMaxThreads = 5; $ps->SetThreadTimeLimit = 0; // Disable child timeout echo "Starting threaded binary update process\n";