Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-25-2005
acbell acbell is offline
Registered User
 
Name: Andrew Bell
Organization: Iowa State University
Project: National Resources Inventory
 
Join Date: Jan 2005
Location: Ames, IA, USA
Posts: 89
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
Reply With Quote
  #2 (permalink)  
Old 07-25-2005
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
In Process Request. luuma Comments 14 09-25-2006 10:16 PM
How do I use Ice to process stream hyz1840 Help Center 3 05-25-2006 08:19 AM
Ice::Process wrobbie Help Center 1 01-04-2006 12:06 PM
Forking server. ivanov Help Center 5 11-25-2004 08:51 AM
Need Forking Server at Linux zephyr007 Comments 2 11-19-2004 03:28 AM


All times are GMT -4. The time now is 10:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.