Re: "exe" ceph-mds processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 26 Nov 2016, John Spray wrote:
> Since 66a122025 we've respawned MDSs using /proc/self/exe to avoid
> issues if argv[0] was no longer there, but I've only just realised
> that this leads to the respawned daemons not showing up as "ceph-mds"
> in the process list any more, they're just "exe".
> 
> I guess we could:
>  * Switch the logic to try resolving argv[0] and only use
> proc/self/exe if we can't find argv[0]?
>  * Create a link to /proc/self/exe named ceph-mds, and exec that?

We could also check if argv[0] is 'exe' and, if so, rewrite it so that the 
ps output shows ceph-mds...

http://stackoverflow.com/questions/23398952/changing-linux-ps-output-by-changing-argv0

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux