From: <er...@he...> - 2003-06-11 18:19:16
|
On Wed, Jun 11, 2003 at 10:43:38AM -0700, Larry Baker wrote: > When I look at the source code for setupfs.c in beoboot.../node_up, I cannot find any fclose() of /etc/beowulf/fstab. I don't completely understand the way the beoboot plugins work, but it looks to me like the container process for the beoboot setupfs plugin will continue to use up system and process resources as a result. Is this a bug? Yeah, it's a bug but it should be harmless. The node_up stuff runs in a child process of beoserv so it should all get cleaned up once it exits. Basically node_up goes like this: beoserv gets request(s) to setup nodes. It forks off a node_up process. The node_up process reads node_up.conf and loads plugins. The plugins are what do all the real work. They are basically shared libraries that contain callbacks so they can do stuff before and after moving to the node. The advantage of using plugins is that the whole mess ends up being one process migration instead of many smaller ones. Plus you get to use the mass process creation stuff that BProc provides too. - Erik |