pgpool-II 4.3.13 Documentation | |||
---|---|---|---|
Prev | Up | Chapter 3. Server Setup and Operation | Next |
To stop Pgpool-II, execute:
$ pgpool -f /usr/local/etc/pgpool.conf -F /usr/local/etc/pcp.conf -m fast stop
"-m" option specifies how gently stops Pgpool-II. "fast" means shutdown Pgpool-II immediately even if there are existing connections from clients. You can specify "smart" to the option, which force Pgpool-II to wait until all clients are disconnected from Pgpool-II. But this could make Pgpool-II wait forever and this may result in sending SIGKILL signal from the operating system and leaving garbage, which will bring troubles next time when you start Pgpool-II.
After shutting down Pgpool-II, you can shutdown PostgreSQL.