If I could get some guidance here it is appreciated. We originally was set up on an Arvixe shared host. The site ran fine on that shared host but we kept getting warning messages about reaching our resource limits; mostly with the MySQL server. We set up on a Constant.com VPS with 1 Gig of Ram, and 1 CPU. We took the site live and it crashed; specifically, the MySQL server kept shutting down. I contacted Constant and was told that we either needed to restrict the number of connections to the MySQL server or increase the memory. We put in an order to have the memory increased; that took the server down for some time while they reconfigured the VPS. When the server came back up, our site was gone, gone as in the files were gone. So we had to wait again while they managed to recover the files for the website. Then we found out that even with the increased memory, the MySQL server kept shutting down. So we set the connections to the MySQL server to 50 and it stop shutting down but continued to get database connect errors. I replace @mysql_pconnect with @mysql_connect in BxDolDb.php and set mysql.allow_persistent = Off in php.ini. The database connect errors seemed to stop. However, this morning the MySQLServer was shut and I had to restart it. The site also takes too long to load but I am not sure what to check in Apache's config and the Boonex doc on this seem to broken.
Why did the site run on Arvixe without these problem? Was it simply because with their unmetered setup we had the resources to run the site and we don't on our VPS? We are looking now to move to a dedicated server with a six core processor with 8 gigs of ram. If we up the VPS configuration with Constant, we are looking at dedicated costs anyway.
We are going to be having around 800 members on the site. I don't really have any idea how many will be on the site at any one time. This project needs to be running smoothly, not crashing every hour and flashing database connect errors to the users. We promised our members a site they could use and so far we are not delivering. We even plain on them using the chat room and I am certain that will send the MySQL server screaming into the next room with our current problems.