I was able to track and solve the problem. The problem was due to a php script that is being called by the registration page, which contains a connection to a database that was not closing each time the script executes. i.e. Whenever the script executes, the previous connection is still live. Therefore, whenever the script executes for certain number of times equals to the maximum number of connections set by the server, no more connections were accepted and the error presents.