[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Parallel Shutdown (was Re: Paralell startup)



Jeff Pitman (symbiont berlios de) said: 
> I think we'd surprised about the robustness of SIGINT. 
> 
> MySQL:
> /bin/kill `cat /var/run/mysqld/mysqld.pid  2> /dev/null ` > /dev/null 
> 2>&1

That could be easily done in this case by killall/init...

> PostGRE:
> su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl stop -D $PGDATA -s -m 
> fast" > /dev/null 2>&1

That, not so much.

Bill


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]