What happens when a process dies after attaching a common shared segment, while other processes are accessing the shared segment
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
consider 3 processes, proc1 proc2 proc3 accessing a shared memory based ring buffer. Let these 3 processes attach that memory segment. My question is, what happens when proc1 is chrashed or died? In that case, what happens to the shared segment attached by it? will it affect other processes?
linux ipc shared-memory
add a comment |Â
up vote
1
down vote
favorite
consider 3 processes, proc1 proc2 proc3 accessing a shared memory based ring buffer. Let these 3 processes attach that memory segment. My question is, what happens when proc1 is chrashed or died? In that case, what happens to the shared segment attached by it? will it affect other processes?
linux ipc shared-memory
1
if dealing with shmem, the data survives a dying process.
â Rui F Ribeiro
Jan 23 at 10:58
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
consider 3 processes, proc1 proc2 proc3 accessing a shared memory based ring buffer. Let these 3 processes attach that memory segment. My question is, what happens when proc1 is chrashed or died? In that case, what happens to the shared segment attached by it? will it affect other processes?
linux ipc shared-memory
consider 3 processes, proc1 proc2 proc3 accessing a shared memory based ring buffer. Let these 3 processes attach that memory segment. My question is, what happens when proc1 is chrashed or died? In that case, what happens to the shared segment attached by it? will it affect other processes?
linux ipc shared-memory
asked Jan 23 at 10:23
Karthick
266
266
1
if dealing with shmem, the data survives a dying process.
â Rui F Ribeiro
Jan 23 at 10:58
add a comment |Â
1
if dealing with shmem, the data survives a dying process.
â Rui F Ribeiro
Jan 23 at 10:58
1
1
if dealing with shmem, the data survives a dying process.
â Rui F Ribeiro
Jan 23 at 10:58
if dealing with shmem, the data survives a dying process.
â Rui F Ribeiro
Jan 23 at 10:58
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f419051%2fwhat-happens-when-a-process-dies-after-attaching-a-common-shared-segment-while%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
if dealing with shmem, the data survives a dying process.
â Rui F Ribeiro
Jan 23 at 10:58