Archived

This forum has been archived. Please start a new discussion on GitHub.

Forking Process within Ice Server

Hi,

We are using a third party library in our server application which leaks memory quite a bit. Can we fork a process to handle each ICE request so that we can end the process (and free the leaked memory) when the request is complete? Are there any problems related to ICE that might be created by taking this approach?

Thanks,

-- Andrew Bell
andrew.bell.ia@gmail.com

Comments

  • mes
    mes California
    Hi Andrew,

    I can't see any reason why that wouldn't work, as long as your child process doesn't attempt to use any of the parent's Ice resources (such as connections). Of course, it will be expensive to create a process for each request, but for lengthy operations that shouldn't be an issue.

    Take care,
    - Mark