Tag Info

New answers tagged

1

To make it work on other platforms this became the final solution. It checks if the ssh client disconnected and thus the parent became pid 1: $SIG{CHLD} = sub { $done = 1; }; $pid = fork; unless($pid) { # Make own process group to be able to kill HUP it later setpgrp; exec $ENV{SHELL}, "-c", ($bashfunc."@ARGV"); die "exec: $!\n"; } do { ...


0

Process limits are controled by setrlimit(2) So you can look into its manpage: RLIMIT_SIGPENDING (Since Linux 2.6.8) Specifies the limit on the number of signals that may be queued for the real user ID of the calling process. Both standard and real-time signals are counted for the purpose of checking this limit. However, the limit is ...


3

From the point of view of any part of the system that isn't concerned with the process's state and stats, a process that is stopped (i.e. won't be scheduled until it receives a SIGCONT) is indistinguishable from a process that's running, but isn't responding to a particular query. For example, the network stack operates in the same way whether the process is ...



Top 50 recent answers are included