question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Should print id of daemon that is processing the request

See original GitHub issue

Yesterday, the daemon seemed stuck while builing Quarkus (it was actually downloading artifacts from a very slow source). Another daemon was present so it was not immediately obvious which one was affected (e.g. for jstack or for stopping/killing).

I think it would come handy if the client would print the pid of the daemon that is processing the request.

PS: I could have probably pressed + to see what’s going on but nevertheless I do think this would be helpful.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ppalagacommented, Jan 8, 2021

+1 for myself. I’d also vote for using shorter daemon IDs. UUIDs are too long to display. E.g. a random Base64 string of length 6 would encode 6 * 6 = 36 bits, which would be more than enough for our use case. WDYT, @gnodet ?

0reactions
ppalagacommented, Jan 8, 2021

OK, hex-encoded int would have 8 characters that sounds acceptable too. We’d have to abs() it so that it can’t be negative.

I’ve used the String.format("%08x") which does not add any - sign.

+1, Math.abs() wouldn’t work anyway

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 13. Daemon Processes - Shichao's Notes
The first call to openlog sets the ident string to the program name, specifies that the process ID should always be printed, and...
Read more >
daemon(7) - Linux manual page - man7.org
A daemon is a service process that runs in the background and supervises the system or provides functionality to other processes. Traditionally, ...
Read more >
How to Find the List of Daemon Processes and Zombie ...
The first line contains information about the background process about how many background process are running and the job number or process ID....
Read more >
Line Printer Daemon Protocol - Brooksnet
Model of Printing Environment A group of hosts request services from a line ... The daemon will continue to process commands until the...
Read more >
Line Printer Daemon (LPD) Problem Determination and ... - IBM
The Line Printer Daemon (LPD) job in i5/OS can be used to received print jobs ... are 999 LPD jobs running concurrently actively...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found