in reply to reloading a never-ending process

Please note that if there should be any memory leak, you will suffer from it, and it will accumulate over time. Programs that exit won't suffer from this as much. Is there a way you can exit periodically also?

Replies are listed 'Best First'.
Re^2: reloading a never-ending process
by arc_of_descent (Hermit) on Jun 11, 2004 at 12:33 UTC

    thanks for the warning. Does the above solution where i write data to disk on a SIGHUP - then exec, should take care of the memory leak issue?

    Thanks

      I believe it does, because you run a new instance with a new pid, therefore allowing the OS to clean out the memory from the old pid, so I think so. Other monks may know better.