You can do it. TLPI says:

When sent to a stopped process, this signal causes the process to resume (i.e., to be rescheduled to run at some later time). When received by a process that is not currently stopped, this signal is ignored by default. A process may catch this signal, so that it carries out some action when it resumes.

APUE:

Note that the default action for SIGCONT is to continue the process, if it is stopped; otherwise, the signal is ignored.

Answer from cnicutar on Stack Overflow
🌐
Splunk Community
community.splunk.com › t5 › Monitoring-Splunk › Unable-to-Control-SPLUNKD › td-p › 320408
Unable to Control SPLUNKD - Splunk Community
October 28, 2021 - I have been having space issue on one of my indexes running SPLUNK 6.5.1. The box appears to crash from time to time. Typically I have to restart SPLUNK, but today I am unable to control SPLUNKD. I get this when I issue a splunk command: Stopping splunk helpers... couldn't send SIGTERM to pid 2972: ...
Discussions

permissions - `kill -s TERM` works, `kill -s ABRT` gets "Operation not permitted" - Unix & Linux Stack Exchange
There is a process that I own whose documentation claims I can send SIGABRT to in order to get some debugging information. However, when I try to send SIGABRT, I get back "Operation not permitted".... More on unix.stackexchange.com
🌐 unix.stackexchange.com
signals - Why doesn't the Linux kernel send SIGCONT first and then SIGHUP to a newly orphaned process group containing a stopped process? - Unix & Linux Stack Exchange
APUE says Since the process group is orphaned when the parent terminates, and the process group contains a stopped process, POSIX.1 requires that every process in the newly orpha... More on unix.stackexchange.com
🌐 unix.stackexchange.com
December 27, 2018
linux - kill -SIGCONT does not work - Stack Overflow
I want to use SIGTSTP(or SIGSTOP) to pause a process and resume it later with SIGCONT. SIGTSTP and SIGSTOP work just as expected, but SIGCONT does not woke up the stopped process some times. For e... More on stackoverflow.com
🌐 stackoverflow.com
Opkg Failed to send request: Operation not permitted Signature file download failed
Hai Anybody know how to fix this issue during opkg update. Some package show Failed to send request: Operation not permitted Signature file download failed Other package no issue. Internet is working normal, speed test show normal. BusyBox v1.36.1 (2023-11-30 15:21:48 UTC) built-in shell (ash) ... More on forum.openwrt.org
🌐 forum.openwrt.org
0
0
January 14, 2024
Find elsewhere
Top answer
1 of 3
3

When you are killing a process with a kill pid, you are sending a SIGTERM. Sometimes a process is stuck in a state where it won't listen to signals. When that happens, try kill -9 pid and that will probably kill it for good.

In this case, the defunct process (31217) won't be able to be killed, but the parent process (31216) should die and take its child process with it.

2 of 3
3

From the man page:

The command kill sends the specified signal to the specified process or process group. If no signal is specified, the TERM signal is sent. The TERM signal will kill processes which do not catch this signal. For other processes, it may be necessary to use the KILL (9) signal, since this signal cannot be caught.


On Unix and Unix-like computer operating systems, a zombie process or defunct process is a process that has completed execution but still has an entry in the process table. This entry is still needed to allow the process that started the (now zombie) process to read its exit status. The term zombie process derives from the common definition of zombie—an undead person. In the term's metaphor, the child process has "died" but has not yet been "reaped". Also, unlike normal processes, the kill command has no effect on a zombie process.

Source : wiki


EDIT:

To remove zombies from a system, the SIGCHLD signal can be sent to the parent manually, using the kill command. If the parent process still refuses to reap the zombie, the next step would be to remove the parent process. When a process loses its parent, init becomes its new parent. Init periodically executes the wait system call to reap any zombies with init as parent.

Source : wiki

🌐
OpenWrt Forum
forum.openwrt.org › installing and using openwrt
Opkg Failed to send request: Operation not permitted Signature file download failed - Installing and Using OpenWrt - OpenWrt Forum
January 14, 2024 - Hai Anybody know how to fix this issue during opkg update. Some package show Failed to send request: Operation not permitted Signature file download failed Other package no issue. Internet is working normal, speed t…
🌐
GitHub
github.com › Kong › kong › issues › 5208
kong got send() failed (1: Operation not permitted) and return 503 to client · Issue #5208 · Kong/kong
November 8, 2019 - *733190681 [lua] base.lua:562: queryDns(): [ringbalancer 14] querying dns for ... failed: dns lookup pool exceeded retries (1): failed to send request to UDP server ***:53: operation not permitted.
Author   Kong
🌐
GitHub
github.com › samyk › pwnat › issues › 14
Couldn't create privileged icmp/raw socket: Operation not permitted · Issue #14 · samyk/pwnat
June 10, 2019 - $ ./pwnat -s Listening on UDP 0.0.0.0:2222 Couldn't create privileged icmp socket: Operation not permitted Couldn't create privileged raw socket: Operation not permitted Failed to send ICMP packet: Socket operation on non-socket ^Cselect: Interrupted system call Cleaning up...
Author   samyk
🌐
Apple Developer
developer.apple.com › forums › thread › 660179
Raw Socket: Operation not permitted | Apple Developer Forums
September 15, 2020 - I'm calling this code from my network extension already. Is there anything else I have to do to get a raw socket working?You are most likely running into a Sandbox issue when trying to use raw sockets from the Network System Extension and that is why you are seeing the "Operation not permitted" ...
🌐
Syncthing Community Forum
forum.syncthing.net › support
What does "operation not permitted" mean in failed/our of sync? - Support - Syncthing Community Forum
May 30, 2016 - I have a small number of files which fail to synchronise between systems. The error for all of them is just “operation not permitted”. I have checked all the files with this error and the syncthing process does have permission to write to them. However the files do have a different owner ...
🌐
Apple Developer
developer.apple.com › forums › thread › 124638
URLSession: Operation not permitted | Apple Developer Forums
June 26, 2020 - 2019-10-19 22:03:14.430621+0200 TrashMail.com Extension[16213:361162] [] nw_socket_connect [C2:3] connectx(12 (guarded), [srcif=0, srcaddr=, dstaddr=136.243.65.157:443], SAE_ASSOCID_ANY, 0, NULL, 0, NULL, SAE_CONNID_ANY) failed: [1: Operation not permitted] 2019-10-19 22:03:14.430772+0200 TrashMail.com Extension[16213:361162] [] nw_socket_connect [C2:3] connectx failed (fd 12) [1: Operation not permitted] 2019-10-19 22:03:14.430851+0200 TrashMail.com Extension[16213:361162] [] nw_socket_connect connectx failed [1: Operation not permitted] 2019-10-19 22:03:14.431318+0200 TrashMail.com Extension