in reply to Profiling a forking program

Well, what do you mean that performance 'sucks'. Is the server slow? Is communications slow? Make sure you are exiting/reaping any process/child you are done w/. tedori