DebuggingLTSP

Differences between revisions 5 and 12 (spanning 7 versions)
Revision 5 as of 2008-08-06 16:16:06
Size: 1205
Editor: localhost
Comment: converted to 1.6 markup
Revision 12 as of 2008-09-13 07:50:56
Size: 2903
Editor: a80-126-233-153
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
||<tablestyle="float:right; font-size: 0.9em; width:30%; background:#F1F1ED; background-image: url('https://librarian.launchpad.net/1812570/bugsquad.png'); background-repeat: no-repeat; background-position: 98% 0.5ex; margin: 0 0 1em 1em; padding: 0.5em;">'''Contents'''<<BR>><<TableOfContents>>|| ||<tablestyle="float:right; font-size: 0.9em; width:30%; background:#F1F1ED; background-image: url('https://librarian.launchpad.net/1812570/bugsquad.png'); background-repeat: no-repeat; background-position: 98% 0.5ex; margin: 0 0 1em 1em; padding: 0.5em;"><<TableOfContents>>||
Line 8: Line 8:
 * Architecture: x86 or amd64
Line 24: Line 25:

=== Debugging speed problems ===

==== Debugging tools ====
These tools you could use to monitor some speed problems, so you could find the bottlenecks:

 * LatencyTop (http://www.latencytop.org/); This tools monitors on what actions give the most latency in a process
 * SystemTap (http://sourceware.org/systemtap/) (aptitude install systemtap); Very flexible/scriptable diagnostics tool
 * xrestop (http://freedesktop.org/wiki/Software/xrestop) (aptitude install xrestop); Gives a top like interface on the processes which uses the most X-resources
 * Cacti with snmpd (http://www.cacti.net/) (aptitude install cacti snmpd snmp); For monitoring system and network usage. Needs some work to setup
 * Munin (http://munin.projects.linpro.no/) (aptitude install munin); Also for monitoring system and network usage. Easy to setup.
 * Darkstat (http://dmr.ath.cx/net/darkstat/) (aptitude install darkstat); For network traffic monitoring per port.

==== Configuration check ====
These things you need to check if they are working correctly on your system:

=== Bugs not directly with LTSP, but affect LTSP environments ===

 * Policykit not allowing remote sessions (Both ssh -X that ltsp uses, and NX sessions) to access admin functionality:
https://bugs.launchpad.net/ubuntu/+source/policykit/+bug/221363

==== Orphane processes ====
 * gvfs-fuse sessions hanging around: https://bugs.edge.launchpad.net/ubuntu/+source/gvfs/+bug/252796
 * gconfd-2 hanging around: https://bugs.launchpad.net/ubuntu/+source/gconf2/+bug/269541
 * [[http://logicalnetworking.net/other/watchdog.txt|LNS watchdog.txt from a school site that contains syslog info from gnome-watchdog]]

Debugging Central

This page is part of the debugging series — pages with debugging details for a variety of Ubuntu packages.

This page lists some helpful steps when filing an ltsp bug

  • It is very helpful if you include version numbers of the ltsp (or ltspfs) packages in your bug report (see below how to get the right version numbers for the various packages).
  • If you modified any defaults in your thin client chroot, please mention this.
  • Did you change anything in your lts.conf file (until gutsy in /opt/ltsp/i386/etc/, later in /var/lib/tftpboot/ltsp/i386/), if so, please attach it.
  • Architecture: x86 or amd64

Get the versions of the packages:

dpkg -l ltsp-server
dpkg -l ltsp-server-standalone
dpkg -l --root=/opt/ltsp/i386 ldm
dpkg -l --root=/opt/ltsp/i386 ltsp-client
dpkg -l --root=/opt/ltsp/i386 ltsp-client-core # gutsy only

Is your bug related to local devices:

dpkg -l ltspfs
dpkg -l --root=/opt/ltsp/i386 ltspfsd

Debugging speed problems

Debugging tools

These tools you could use to monitor some speed problems, so you could find the bottlenecks:

Configuration check

These things you need to check if they are working correctly on your system:

Bugs not directly with LTSP, but affect LTSP environments

  • Policykit not allowing remote sessions (Both ssh -X that ltsp uses, and NX sessions) to access admin functionality:

https://bugs.launchpad.net/ubuntu/+source/policykit/+bug/221363

Orphane processes


CategoryBugSquad CategoryDebugging

DebuggingLTSP (last edited 2008-10-03 07:10:32 by ip51cffcc4)