Skip to content

Commit ded4f94

Browse files
authored
Merge pull request #132 from GlobalNOC/1.9.1-dev
hotfix memory leak in master.pm (worker_patterns)
2 parents 360d579 + e66565d commit ded4f94

12 files changed

Lines changed: 14 additions & 10 deletions

File tree

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Simp ChangeLog
22

3+
## 1.9.1 - Apr 26, 2022
4+
* hotfix: hash for tracking workers now cleared when master is restarted with HUP
5+
36
## 1.9.0 - Apr 15, 2022
47

58
* added monitoring features to simp-tsds for push operations

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME=simp
2-
VERSION=1.9.0
2+
VERSION=1.9.1
33

44
.PHONY: dist
55

lib/GRNOC/Simp/Comp.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use GRNOC::Config;
1515
use GRNOC::Log;
1616
use GRNOC::Simp::Comp::Worker;
1717

18-
our $VERSION = '1.9.0';
18+
our $VERSION = '1.9.1';
1919

2020
### REQUIRED ATTRIBUTES ###
2121

lib/GRNOC/Simp/Data.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use GRNOC::Config;
1313
use GRNOC::Log;
1414
use GRNOC::Simp::Data::Worker;
1515

16-
our $VERSION = '1.9.0';
16+
our $VERSION = '1.9.1';
1717

1818
=head2 public attributes
1919
=over 12

lib/GRNOC/Simp/Poller.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use GRNOC::Config;
1515
use GRNOC::Log;
1616
use GRNOC::Simp::Poller::Worker;
1717

18-
our $VERSION = '1.9.0';
18+
our $VERSION = '1.9.1';
1919

2020
### Required Attributes ###
2121
=head2 public attributes

lib/GRNOC/Simp/TSDS.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package GRNOC::Simp::TSDS;
33
use strict;
44
use warnings;
55

6-
our $VERSION = '1.9.0';
6+
our $VERSION = '1.9.1';
77

88
=head1 NAME
99

lib/GRNOC/Simp/TSDS/Master.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ sub _create_workers
401401
waitpid($pid, 0);
402402
$self->logger->info("Child $pid has exited.");
403403
}
404+
$self->_set_worker_patterns({});
404405
# This sends a signal to the global $running condvar, which is blocking the main Master event loop in start();
405406
# Will cause an effective 'restart' of master.
406407
$self->running->send;

simp-comp.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Summary: A system for fetching data from simp and compiling the data into a composite
22
Name: simp-comp
3-
Version: 1.9.0
3+
Version: 1.9.1
44
Release: 1%{dist}
55
License: GRNOC
66
Group: GRNOC

simp-data.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Summary: A small system for fetching SNMP data from redis and returning it via RabbitMQ
22
Name: simp-data
3-
Version: 1.9.0
3+
Version: 1.9.1
44
Release: 1%{dist}
55
License: GRNOC
66
Group: GRNOC

simp-monitor.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: simp-monitor
2-
Version: 1.9.0
2+
Version: 1.9.1
33
Release: 1%{?dist}
44
Summary: A functionality to monitor SIMP
55
License: GRNOC

0 commit comments

Comments
 (0)