URGENT - Please reply if you can help immediatly, it may be only a very small issue - ie wrong permissions, but I don't know where to start! Quote an hourly rate which allows flexibility for size of issue! It may only be a small problem! I will surely need help in the future, so a good job will get repeat business. Please help, I have changed a standard script (index.php file and template.html file - I can tell you changes) and now it is causing database processes to hang and then after 25 process open, all of my sites go down and I get 500 errors! I use Hostgator as host and they do not allow more that 25 processes to be open. This was the thoughts of the live chat support at host gator: There is a 500 error checker in cpanel I ran it and came up with this as the main reason. Justyn: Warning : Dave is using ( 33 ) processes David: what does that mean? Justyn: One of your scripts is leaving database connections hanging. They are not closing, once you get over 25 you will start to get 500 errors.
Try mysql_close(); just before ?> tag. That should help. Although if your website's too high in traffic, start serving cache pages... Bye