Sometime we will need to increase swap file beyond the initial allocation. To achieve there, see this article from CentOS 5 Documentation (Adding Swap Space) and (Removing Swap Space)
Another Good article with more in-depth explanation on the various command (http://www.linux.com/feature/113956)