Mongrel_rails cluster::restart from within a controller?

I need to have a button in my rails web app to allow and admin to
restart the “'server”, which for this app means restarting the mongrel

If I do…

system(‘mongrel_server cluster::restart’)

it shuts down all my mongrels (3 in this case), and starts all but one
of them back up.

The one that does not start back up is the one that handled this
request. The process that system forks off is a child to this mongrel
process, and the process is still holding onto the port as best i can
tell, so the new mongrel process does not start because the port is
already in use !

Any great ideas how to get around this ?

– Thanks