Shared library usage in different Linux namespaces

Discussion in 'General Linux' started by yzt356, Oct 17, 2012.

  1. yzt356

    yzt356 New Member

    Oct 17, 2012
    Likes Received:
    The Linux namespace can isolate pid, mount poing, network and so on. I use Linux namespace to implement OS-level virtual machine (just like vserver and LXC), but I often run out of memory. I have a question that if I have two processes in different namespaces and they use a same shared library, will the library be loaded once or twice into the physical memory? Besides, what is the underlayer mechanism of library sharing between processes? Is it like the IPC?


Share This Page