summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_queues.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-28 22:03:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-28 22:03:22 +0000
commitc0bdca0c465525abec51b758a40d00146021220e (patch)
tree5a4bc50e1f36d18641826426da088fe6344db19a /usr/local/www/status_queues.php
parent0ed78ddbc9c686895365cb9ca94299286f5d6ab0 (diff)
downloadpfsense-c0bdca0c465525abec51b758a40d00146021220e.zip
pfsense-c0bdca0c465525abec51b758a40d00146021220e.tar.gz
Do not killall -9 php, it tells fast-cgi to do bad things and wrecks fast-cgi
Diffstat (limited to 'usr/local/www/status_queues.php')
-rwxr-xr-xusr/local/www/status_queues.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php
index 880aec1..dbac8f4 100755
--- a/usr/local/www/status_queues.php
+++ b/usr/local/www/status_queues.php
@@ -51,7 +51,7 @@ foreach($pfctl_vsq_array as $pfctl) {
$a_queues[] = $match_array[1][0];
}
-$pgtitle = "Status: Traffic shaper: Queues";
+$pgtitle = "Status: Traffic Shaper: Queues";
include("head.inc");
?>
@@ -136,7 +136,7 @@ While(!Connection_Aborted()) {
$i = 0;
foreach($stats_array as $stats_line) {
if($stat_line_split[2] == "" and $counter > 1) {
- mwexec("/usr/bin/killall -9 pfctl php");
+ mwexec("/usr/bin/killall pfctl php");
exit;
}
@@ -173,13 +173,11 @@ While(!Connection_Aborted()) {
if($counter > 40) {
echo "Redirecting to <a href=\"status_queues.php\">Queue Status</a>.<p>";
echo "<meta http-equiv=\"refresh\" content=\"1;url={$_SERVER['PHP_SELF']}\">";
- mwexec("/usr/bin/killall -9 pfctl");
- mwexec("/usr/bin/killall -9 pfctl php");
+ mwexec("/usr/bin/killall pfctl");
exit;
}
}
-mwexec("/usr/bin/killall -9 pfctl pfctl");
-mwexec("/usr/bin/killall -9 pfctl php");
+mwexec("/usr/bin/killall pfctl");
?>
OpenPOWER on IntegriCloud