lp:samba

Created by Jelmer Vernooij on 2009-11-24 and last modified on 2015-08-29
Get this branch:
bzr branch lp:samba

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Samba Team
Project:
samba
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.samba.org/samba.git.

The next import is scheduled to run in 3 hours.

Last successful import was 2 hours ago.

Import started 2 hours ago on pear and finished 2 hours ago taking 12 minutes — see the log
Import started 8 hours ago on pear and finished 8 hours ago taking 6 minutes — see the log
Import started 14 hours ago on neumayer and finished 14 hours ago taking 25 minutes — see the log
Import started 20 hours ago on pear and finished 20 hours ago taking 6 minutes — see the log
Import started on 2015-08-29 on pear and finished on 2015-08-29 taking 6 minutes — see the log
Import started on 2015-08-29 on pear and finished on 2015-08-29 taking 7 minutes — see the log
Import started on 2015-08-29 on russkaya and finished on 2015-08-29 taking 9 minutes — see the log
Import started on 2015-08-28 on russkaya and finished on 2015-08-28 taking 33 minutes — see the log
Import started on 2015-08-28 on neumayer and finished on 2015-08-28 taking 10 minutes — see the log
Import started on 2015-08-28 on pear and finished on 2015-08-28 taking 7 minutes — see the log

Recent revisions

41481. By Martin Schwenke 23 hours ago

ctdb-scripts: Add default filesystem usage warnings

Always check filesystem usage for the database directories.

Signed-off-by: Martin Schwenke <email address hidden>
Reviewed-by: Amitay Isaacs <email address hidden>

Autobuild-User(master): Amitay Isaacs <email address hidden>
Autobuild-Date(master): Sat Aug 29 20:08:48 CEST 2015 on sn-devel-104

41480. By Martin Schwenke on 2015-08-29

ctdb-scripts: Add default system memory usage warnings

CTDB should warn by default if too much system memory or swap is used.

The tests have also been tweaked. In particular, the filesystem-only
tests need to initialise the memory information to avoid errors where
meminfo isn't set.

Document the defaults, warning against disabling them.

Signed-off-by: Martin Schwenke <email address hidden>
Reviewed-by: Amitay Isaacs <email address hidden>

41479. By Martin Schwenke on 2015-08-29

ctdb-scripts: Enable system monitoring eventscript by default

Signed-off-by: Martin Schwenke <email address hidden>
Reviewed-by: Amitay Isaacs <email address hidden>

41478. By Martin Schwenke on 2015-08-29

ctdb-scripts: Throttle system resource monitoring warnings

They are only printed when the percentage usage changes. This should
stop the logs from being filled with warnings.

Add a test for the throttling.

Signed-off-by: Martin Schwenke <email address hidden>
Reviewed-by: Amitay Isaacs <email address hidden>

41477. By Martin Schwenke on 2015-08-29

ctdb-scripts: Don't shutdown CTDB when memory monitoring fails

Marking the node unhealthy should cause Samba processes to close,
possible freeing a stack of memory. If not, then it is somebody
else's problem.

Signed-off-by: Martin Schwenke <email address hidden>
Reviewed-by: Amitay Isaacs <email address hidden>

41476. By Martin Schwenke on 2015-08-29

ctdb-scripts: New consistent system memory and swap monitoring

New variables CTDB_MONITOR_MEMORY_USAGE and CTDB_MONITOR_SWAP_USAGE.
Both take a pair of <warn_threshold>:<unhealthy_threshold> where each
theshold is specified as a percentage.

This adds a callout to check_thresholds() that is run when the
unhealthy threshold is reached.

Add some combination tests.

Signed-off-by: Martin Schwenke <email address hidden>
Reviewed-by: Amitay Isaacs <email address hidden>

41475. By Martin Schwenke on 2015-08-29

ctdb-scripts: Factor out new function check_thresholds()

Signed-off-by: Martin Schwenke <email address hidden>
Reviewed-by: Amitay Isaacs <email address hidden>

41474. By Martin Schwenke on 2015-08-29

ctdb-scripts: Memory monitoring uses thresholds expressed as percentages

CTDB_MONITOR_FREE_MEMORY and CTDB_MONITOR_FREE_MEMORY_WARN are now
percentages that specify thresholds of acceptable memory usage.

Memory/swap usage in tests also specified as percentages.

Signed-off-by: Martin Schwenke <email address hidden>
Reviewed-by: Amitay Isaacs <email address hidden>

41473. By Martin Schwenke on 2015-08-29

ctdb-scripts: Use MemAvailable if it is in /proc/meminfo

Otherwise calculate, as before.

Signed-off-by: Martin Schwenke <email address hidden>
Reviewed-by: Amitay Isaacs <email address hidden>

41472. By Martin Schwenke on 2015-08-29

ctdb-scripts: Only use /proc/meminfo for memory checks, not "free"

No need to use 2 different sources of information for similar checks.
Also, output of free has been changed, whereas /proc/meminfo is a
kernel API, which will not change.

Signed-off-by: Martin Schwenke <email address hidden>
Reviewed-by: Amitay Isaacs <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.