Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shared memory issue
#1
Hi
Am using python 3.8 and using the shared memory module from multiprocessing.

I have a simple setup that two docker container where each of them running a python process. One container is a writer that write into a shared memory and one container is a reader that read the shared memory. If either one of the procesd is abruptly kill and run up, either one can't attach back to the same shared memory. Thus if the writer goes down and up it writes but the running reader can't see the new writing and likewise. How to so solve this issue.? Thanks
My question is about attaching of the shared memory
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting an error while trying to process data, low memory when memory is not low? bkeith12 0 501 Dec-20-2024, 03:06 PM
Last Post: bkeith12
  sysv_ipc shared memory performance comotai 1 4,511 Apr-08-2019, 02:27 AM
Last Post: scidam
  Shared queues l00p1n6 3 3,619 May-15-2018, 01:38 PM
Last Post: DeaD_EyE
  Need tutorial/direction to access shared memory ridshack 2 3,614 Feb-22-2018, 11:24 PM
Last Post: ridshack

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020