Re: [Maria-discuss] Server system variables which description I haven't found

2019-02-27 Thread Sergei Golubchik
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 secur...@mariadb.org

___
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


Re: [Maria-discuss] Server system variables which description I haven't found

2019-02-27 Thread Michal Schorm
> https://mariadb.com/kb/en/library/full-list-of-mariadb-options-system-and-status-variables/
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  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-status-variables/
>
> 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
> >

___
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


Re: [Maria-discuss] Server system variables which description I haven't found

2019-02-27 Thread Ian Gilfillan
Two of them are options, not system variables, so would be documented at 
https://mariadb.com/kb/en/library/mysqld-options/ (although only one is, 
and not very well - will open a documentation task on JIRA)


https://mariadb.com/kb/en/library/full-list-of-mariadb-options-system-and-status-variables/ 
is often a more useful reference, as it lists all options, system 
variables, status variables in one place.


On 2019/02/27 15:07, 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
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/

--




___
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


[Maria-discuss] Server system variables which description I haven't found

2019-02-27 Thread Michal Schorm
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
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