If you are using AIX 5, the db2stop command may hang if your system has a large number of database partitions. A workaround for this problem is to stop each partition separately using the NODENUM option of the db2stop command. The problem is fixed by AIX APAR IY32512.