Skip to content
Snippets Groups Projects
Commit d44ef8fd authored by David Bigagli's avatar David Bigagli
Browse files

Update the information about valgridn usage.

parent 18acf289
No related branches found
No related tags found
No related merge requests found
...@@ -129,12 +129,18 @@ ...@@ -129,12 +129,18 @@
/**************************************************************************\ /**************************************************************************\
* To test for memory leaks, set MEMORY_LEAK_DEBUG to 1 using * To test for memory leaks, set MEMORY_LEAK_DEBUG to 1 using
* "configure --enable-memory-leak-debug" then execute * "configure --enable-memory-leak-debug" then execute
* $ valgrind --tool=memcheck --leak-check=yes --num-callers=8 \ *
* --leak-resolution=med ./slurmctld -Dc >valg.ctld.out 2>&1 * $ valgrind --tool=memcheck --leak-check=yes --num-callers=40 \
* --leak-resolution=high ./slurmctld -Dc >valg.ctld.out 2>&1
* *
* Then exercise the slurmctld functionality before executing * Then exercise the slurmctld functionality before executing
* > scontrol shutdown * > scontrol shutdown
* *
* Note that --enable-memory-leak-debug will cause the daemon to
* unload the shared objects at exit thus preventing valgrind
* to display the stack where the eventual leaks may be.
* It is always best to test with and without --enable-memory-leak-debug.
*
* The OpenSSL code produces a bunch of errors related to use of * The OpenSSL code produces a bunch of errors related to use of
* non-initialized memory use. * non-initialized memory use.
* The switch/elan functions will report one block "possibly lost" * The switch/elan functions will report one block "possibly lost"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment