installation_guide:debug:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
installation_guide:debug:start [2022/12/05 11:14] – [Set the right TimeZone] borjainstallation_guide:debug:start [2024/02/19 16:09] – [Monitor the file descriptors] borja
Line 320: Line 320:
 ==== Set the right TimeZone ==== ==== Set the right TimeZone ====
  
-Install the NTP package to synchronize your server to the world'stime.+Install the NTP package to synchronize your server to the world's time.
  
 <code> <code>
Line 330: Line 330:
 <code> <code>
 #timedatectl set-timezone Europe/Paris #timedatectl set-timezone Europe/Paris
 +</code>
 +
 +or automatically,
 +
 +<code>
 +#dpkg-reconfigure tzdata
 </code> </code>
  
Line 339: Line 345:
 # ls -l /proc/[PID]/fd # ls -l /proc/[PID]/fd
 </code> </code>
 +
 +==== Coredump generators ====
 +
 +Generate the threads stacks or a coredump file for the process (voximald) :
 +
 +<code>
 +gdb -ex "thread apply all bt" --batch /usr/sbin/voximald $(pidof voximald) > /var/log/voximal/backtrace-voximald$(date +%s).txt
 +gdb /usr/sbin/voximald $(pidof voximald) -ex "gcore /tmp/toto.core" --batch
 +</code>
 +
  • installation_guide/debug/start.txt
  • Last modified: 2024/02/19 16:10
  • by borja