- Close all file descriptors when running in daemon mode.  Otherwise   we inherit socket from apache when it's started by pgpoolAdmin. This   results in that port 80 is occupied for example.  Pach provided by   Akio Ishida. Also add chdir("/"). This always good for daemon   programs.
- Close all file descriptors when running in daemon mode.  Otherwise
  we inherit socket from apache when it's started by pgpoolAdmin. This
  results in that port 80 is occupied for example.  Pach provided by
  Akio Ishida. Also add chdir("/"). This always good for daemon
  programs.

- Always fail over and restart all children. Before we do not restart
  if master has not been changed. This was wrong. If we have trouble
  with network cable or something, TCP/IP stack keeps on retrying for
  long time and the only way to prevent it is restarting process.

treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres