Ask HN: Ever worked with a service that can never be restarted?
151–160 of 201 posts
Re: Ask HN: Ever worked with a service that can never be restarted?
#152Yes; any Unix init daemon.
What's "restarted"? Does accepting any new configuration and changing behavior in response to it count as a restart?
Or do we have to terminate the process entirely and start a new one for it to be a "restart"?
Re: Ask HN: Ever worked with a service that can never be restarted?
#153The Internet, I think, is restartable as long as layer 0 were available. It’s not really clear what it would mean for the Internet to need to be restarted — perhaps some attack/failure of the BGP infrastructure?
Re: Ask HN: Ever worked with a service that can never be restarted?
#154Re: Ask HN: Ever worked with a service that can never be restarted?
#155There is a tool used in malware analysis and computer forensics called Volatility[0]. It has some very powerful analysis tools and works on Linux Mac and Windows. In your case its ability to dump the memory of a running process without messing with the process state [1] may be very helpful! It also has the ability to run a Yara scan against the dumped memory which could let you find the region of memory containing th…
I would advise exercising caution though. Even if the tool works perfectly fine, the service going down anywhere within days to weeks after you captured its state would be seen by the management as your fault. They won't care for the explanations, they will just need a scapegoat and that would be whoever touched the thing last time. That said, there are plenty of legitimate (albeit low-probability) reasons for the du…
One is technical, and to do with the service and how to deal with it.
One is political, and to do with who gets the blame when the service inevitably fails.
OP needs to work out if they're being tasked with the job as the answer to the technical problem or the political problem. Because management could be very aware that this is a ticking bomb with no technical solution, and have appointed OP as a scapegoat to take the blame when it blows up.
Re: Ask HN: Ever worked with a service that can never be restarted?
#156Re: Ask HN: Ever worked with a service that can never be restarted?
#157If you where in a sound organisation, which I would say most Swedish IT organisations are, you need to think about the company and the clients first.
Someone advised you to: “don’t do anything until explicitly asked to”. I think that’s just bad advise. You obviously know this is a major problem and risk. You also have some ideas about how to proceeds in mitigating and solving it. You should jump at the chance to help your company with this. Highlight this directly to your managers, talk with as many as you can, gather the information you need, get the approvals, and fixed the problem ASAP or find someone who can.
Your clients and customers might be badly affected when hell breaks loose.
I think anyone advising being passive, or plainly hiding from the problem, is totally wrong. Those are not the kind of colleagues I would want.
Get to work.
Re: Ask HN: Ever worked with a service that can never be restarted?
#158Anyway, that's quite a situation you have got there :) can you not suspend to disc and keep the suspend image safe and able to be booted into after power failures or so? Maybe suspend to disc (hibernate) and then image the swap partition/file? Then some grub editing... or... what OS is this anyway?
Re: Ask HN: Ever worked with a service that can never be restarted?
#159Earlier quoted context omitted.
It's possible, and it's possible to avoid losing source code, and its.possible to have valid backups, and keep your servers decemtly secure... yet it's sufficiently common (especially as the program ages) that its not trivially attributed to competency; rather you need continuous, unfailing competency, in the face of continuous environmental change (local changes, within the business, and external changes, as busines…
> rather you need continuous, unfailing competency That's called doing it manually. What you're doing is making excuses rather than holding yourself to a higher level of quality.
Yes, a common feature in unstable environments. Automation is an ideal, but not a necessity, and it's not always viable or cost-effective.
But also that the unfailing competency means that you need to contiously maintain (all aspects of the) automation without fail, again in spite of a changing environment. Across everyone who does things.
>What you're doing is making excuses rather than holding yourself to a higher level of quality.
And what you're doing is pretending that firing off blind, trivial prescriptions is a useful activity -- perhaps I'll soon find you selling self-help books as well :-)
Automation is not an answer that can always be applied trivially; especially retroactively. Even despite all the marketing that will tell you otherwise.
Re: Ask HN: Ever worked with a service that can never be restarted?
#160The organization in question paid for a team of forensic software experts to reverse engineer it to the best of their ability ahead of a full data center migration to a new facility.
I left the company while they were somewhere in the middle of this project.