remote access during runaway process



Greetings,

On a remotely hosted Linux server, a developer's code went in to deep
recursion, and all of the services on the system became unavailable,
requiring a call to the hosting provider.

I'd like to make it so ssh is still available in this situation.

After some research (I'm much more of a developer than a sysadmin myself), I
came up with putting "snice -20 sshd" in /etc/rc.d/rc.local, but I don't
know for sure if this would give the desired results.

Will someone please advise me as to whether this is okay or point me to the
proper solution if I am way off base?

Thanks in advance for any advice,

Todd W.


.



Relevant Pages

  • Re: why does this work ?
    ... >This is the second time I see this posted over the last couple of days, ... you can support this, can you support z at 100 million requiring 10 ... be any way for a recursion failure to be "polite." ...
    (comp.lang.c)
  • Re: Stack level too deep
    ... recursion inside the nodes...). ... Stack level too deep ... Speed get really really lousy when the tree is deep. ...
    (comp.lang.ruby)
  • Re: rwlocks, correctness over speed.
    ... doing the nasty hack that was previously required. ... was added because it seemed recursion was not going to be added to rwlocks, ... but sonewconnbehavior for listen sockets really ended up requiring it. ... This is very similar to sx_init_flags: it initializes the rwlock using ...
    (freebsd-arch)
  • Re: rwlocks, correctness over speed.
    ... doing the nasty hack that was previously required. ... was added because it seemed recursion was not going to be added to rwlocks, ... but sonewconnbehavior for listen sockets really ended up requiring it. ... This is very similar to sx_init_flags: it initializes the rwlock using ...
    (freebsd-arch)
  • Re: [patch] Re: Problem with exiting threads under NPTL
    ... On Sun, 14 Dec 2003, Linus Torvalds wrote: ... > I realize that the recursion should be just one deep (the leader of the ... > would be confused by the apparent recursion. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)