Linux Labs

Inside the system: resources, kernel, processes / Stage 7 of 12

strace and /proc: what a process is doing

Not running Starting usually ~20 s
Leave the lesson

Step 6 of 8 · on a machine · 3 min

The mail does not go out

The mail has the same trouble, only the processes belong to root: /proc/<PID>/fd, strace and lsof will all need sudo.

Exercise · do it

Free the mail queue

Since last night the lab-mailer service has not sent a single message from /var/lib/mailer/queue, although the mailer process is alive. Find out what it is waiting for and get the sending done without restarting mailer: this same process must send the messages.

Sign in and start The machine is available after signing in

Goals · 0 of 2

  • Send the queued messages not done yet
  • Do it without restarting mailer not done yet

Step goals

0 of 2
  • Send the queued messages — not done yet
  • Do it without restarting mailer — not done yet
Ubuntu 24.04

Step goals

0 of 2
  • Send the queued messages — not done yet
  • Do it without restarting mailer — not done yet
Loading…