Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
--- develop ---

* issue#240: Call to db_table_exists is incorrect in some cases
* issue: Killing processes does not occur when they are in D-State

--- 5.0 ---

Expand Down
2 changes: 1 addition & 1 deletion service/flow-capture
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ function flowview_kill_running_processes() {
foreach($processes as $p) {
cacti_log(sprintf('WARNING: Killing FlowView Child: %s PID: %d due to another due to signal or overrun.', ucfirst($p['taskname']), $p['pid']), false, 'FLOWVIEW');

posix_kill($p['pid'], SIGTERM);
posix_kill($p['pid'], SIGKILL);

unregister_process($p['tasktype'], $p['taskname'], $p['taskid'], $p['pid']);
}
Expand Down
2 changes: 1 addition & 1 deletion service/flow-capture.service
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ After=network.target mariadb.service
User=apache
TimeoutStartSec=0
Type=simple
KillMode=process
KillMode=mixed
WorkingDirectory=/tmp
ExecStart=/usr/bin/php -q /var/www/html/cacti/plugins/flowview/service/flow-capture --systemd
ExecStop=/usr/bin/php -q /var/www/html/cacti/plugins/flowview/service/flow-capture stop
Expand Down