Repository : ssh://git@diktynna/doc
On branches: backup-redmine/2020-07-12,master
commit e262b20142113b0731d77bc5b10d6be48b37ec47 Author: Sven Eckelmann sven@narfation.org Date: Sat Jun 20 21:19:35 2020 +0000
doc: batmand/Coredump
e262b20142113b0731d77bc5b10d6be48b37ec47 batmand/Coredump.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/batmand/Coredump.textile b/batmand/Coredump.textile index 4a788ab..1e3d4c8 100644 --- a/batmand/Coredump.textile +++ b/batmand/Coredump.textile @@ -7,7 +7,7 @@ A coredump is the state of the programs memory when it crashed. It allows progra h2. Why do I need ulimit and what does it do ?
-As coredumps save the programs memory on the hard disk the coredump files can become quite large because some applications consume a lot of memory. On embedded devices (e.g. small routers) a coredump can fill the entire disk easily. Therefore the tool "ulimit" allows you to control what memory size is safe to be saved on disk. A "ulimit -c 20000" saves coredumps of up to 20MB, "ulimit -c unlimited" saves everything no matter how big it is. You can check your systems default by running "ulimit -c" without any value. If the setting is too small or coredumping is disabled you have to run "ulimit -c <value>" each time before you start batman. +As coredumps save the programs memory on the hard disk the coredump files can become quite large because some applications consume a lot of memory. On embedded devices (e.g. small routers) a coredump can fill the entire disk easily. Therefore the tool "ulimit" allows you to control what memory size is safe to be saved on disk. A "ulimit -c 20000" saves coredumps of up to 20MB, "ulimit -c unlimited" saves everything no matter how big it is. You can check your systems default by running "ulimit -c" without any value. If the setting is too small or coredumping is deactivated, you have to run "ulimit -c <value>" each time before you start batman.
h2. How to get a batman coredump ?