Re: [Maria-discuss] Server system variables which description I haven't found
https://mariadb.com/kb/en/library/full-list-of-mariadb-options-system-and-st... This is the list I was looking for! Thank you.
Whether the description of each is good enough, is a separate question. I would be in favor of more verbose description.
Stack trace: Does that mean without "--stack-trace" I won't get the trace? gdb: I understand it as "--gdb" is meant for runtime debugging and has no effect to the coredump files? does that mean "disable_gdb" option does not exists? (anymore?) -- Michal Schorm Software Engineer Core Services - Databases Team Red Hat -- On Wed, Feb 27, 2019 at 4:16 PM Elena Stepanova <elenst@mariadb.com> wrote:
Hi Michal,
On 02/27/2019 05:07 PM, Michal Schorm wrote:
Hello everybody,
In the article about "Enabling Core Dumps" [1] there is an example, how to properly configure the server for such cases: [mariadb] stack-trace core-file disable-gdb
However, the page listing server system variables [2] does not describe two of them ("stack-trace", "disable-gdb") and I would like
That's because they're not system variables, they are command-line options. I recommend this page as a starting point, it's more universal:
https://mariadb.com/kb/en/library/full-list-of-mariadb-options-system-and-st...
Then, for the first one it would send you to
https://mariadb.com/kb/en/library/mysqld-options/#-stack-trace
for the other one, you would have to guess that you need to search for "gdb", not "disable-gdb":
https://mariadb.com/kb/en/library/mysqld-options/#-gdb
Whether the description of each is good enough, is a separate question.
/E
to know what those options do. In which cases I should use each one or some combination. Or, since I haven't found their meaning, if there aren't long obsoleted. or if the are only applicable to specific MariaDB versions. Or / and I'm just seeking help on where to find simmilar variables not listed on the page [2].
[1] https://mariadb.com/kb/en/library/enabling-core-dumps/ [2] https://mariadb.com/kb/en/library/server-system-variables/
--
Michal Schorm Software Engineer Core Services - Databases Team Red Hat
--
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
Hi, Michal! On Feb 27, Michal Schorm wrote:
Stack trace: Does that mean without "--stack-trace" I won't get the trace?
stack-trace is enabled by default. You will not get the stack trace if you'll use --disable-stack-trace
gdb: I understand it as "--gdb" is meant for runtime debugging and has no effect to the coredump files? does that mean "disable_gdb" option does not exists? (anymore?)
"disable" or "skip" are prefixes recognized for all boolean options. --disable-xxx is the same as --skip-xxx and the same as --xxx=0 --gdb option tells MariaDB not to install signal handlers, which is convenient if you run mysqld in gdb, so that Ctrl-C or a sigsegv will break you in the debugger. But --gdb is disabled by default, so --disable-gdb normally does not do anything. Regards, Sergei Chief Architect MariaDB and security@mariadb.org
Thank you for the clarification! -- Michal Schorm Software Engineer Core Services - Databases Team Red Hat -- On Wed, Feb 27, 2019 at 8:58 PM Sergei Golubchik <serg@mariadb.org> wrote:
Hi, Michal!
On Feb 27, Michal Schorm wrote:
Stack trace: Does that mean without "--stack-trace" I won't get the trace?
stack-trace is enabled by default. You will not get the stack trace if you'll use --disable-stack-trace
gdb: I understand it as "--gdb" is meant for runtime debugging and has no effect to the coredump files? does that mean "disable_gdb" option does not exists? (anymore?)
"disable" or "skip" are prefixes recognized for all boolean options.
--disable-xxx is the same as --skip-xxx and the same as --xxx=0
--gdb option tells MariaDB not to install signal handlers, which is convenient if you run mysqld in gdb, so that Ctrl-C or a sigsegv will break you in the debugger.
But --gdb is disabled by default, so --disable-gdb normally does not do anything.
Regards, Sergei Chief Architect MariaDB and security@mariadb.org
participants (2)
-
Michal Schorm
-
Sergei Golubchik