Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howto:gdb [2018/01/07 16:25] – [Core File] Mention /etc/security/limits.conf digital man | howto:gdb [2018/03/24 01:38] – [Debugging] Add attach to running instance instructions digital man | ||
---|---|---|---|
Line 28: | Line 28: | ||
</ | </ | ||
+ | If you're running sbbs daemonzied (e.g. as a *nix service), you may need to edit your service | ||
+ | start up script (e.g. ''/ | ||
+ | ulimit -c unlimited | ||
+ | |||
+ | Of in the '' | ||
+ | LimitCORE=infinity | ||
+ | | ||
:!: Linux Sysops: to help locate sbbs crash core files, the following | :!: Linux Sysops: to help locate sbbs crash core files, the following | ||
lines in your ''/ | lines in your ''/ | ||
Line 46: | Line 52: | ||
or (if debugging with a core file): | or (if debugging with a core file): | ||
# gdb / | # gdb / | ||
+ | or (if attaching to an existing running instance, read the pid from ''/ | ||
+ | # gdb / | ||
B. Run Synchronet (if no core file used): | B. Run Synchronet (if no core file used): |