| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: Canada
Posts: 455
![]() ![]() | Connecting to the MySQL Server I am having some problems with my websites, they are maxxing out their connections. They are not very high traffic sites and the hosting company is claiming that I am using too many connections. There are 4 scripts on the account. 3 Wrodpress blogs and one PHPNUKE site. The PHPNUKE site is the pre-modded PNP verison Does anyone know if there is anything that I can do to lessen my load on the server? Or do you think that the hosting company is talking out their behinds? BTW when I say low traffic I mean a total of 500 hits a day combined. |
| |
| | #2 (permalink) |
| Eating Pie Join Date: Nov 2004 Location: Canada
Posts: 2,272
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | That is defently the hosting company.. I suggest you change. MySQL server can handel many many sql select commands at once. Theya re probley not on a fast server or they don't know what there talking about. PM me if you want any reccommanded hosting companies. Regards,
__________________ I feel old. |
| |
| | #3 (permalink) |
| NamePros Webmaster ![]() ![]() ![]() Join Date: Feb 2003
Posts: 12,930
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | If any of the scripts you're using have an option for using "persistant connections", turn that feature off. By the way, the number of connections is set for the entire server and not likely to just your account. If you're only getting that small amount of traffic, its more likely that there is another account on the same hosting server that is hogging all the MySQL connections, such as a vBulletin forum with persistant connections enabled. 500 visits a day is a very light load for MySQL. Change hosts, imho. |
| |
| | #4 (permalink) | ||||
| Pro Coder & Designer Join Date: Apr 2005 Location: Netherlands
Posts: 967
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
__________________ aween web development | ||||
| |
| | THREAD STARTER #5 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: Canada
Posts: 455
![]() ![]() | Thanks, I will check to see for the persistent connections option. The problem just started again, And about the hosts, I JUST changed host and would rather not go through it again. I hope I can get it fixed. I will let you know how it goes |
| |
| | THREAD STARTER #6 (permalink) | ||||
| NamePros Regular Join Date: Aug 2005 Location: Canada
Posts: 455
![]() ![]() |
Is there any better ways to connect? I hear pconnect was supposed to be better? | ||||
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HOWTO: Install the Apache Web Server, Perl, PHP, and MySQL on Windows | deadserious | Webmaster Tutorials | 96 | 05-27-2007 02:24 PM |
| soooo many yahoo's | redhippo | Domain Name Discussion | 5 | 07-13-2005 12:26 AM |
| Dedicated Servers from just £45 $90 + [UK] 1 TB Data Transfer P4 3.0GHZ Only £119 | blackicehosting | Web Hosting Offers | 0 | 07-12-2005 07:24 PM |
| Unmetered Summer Savings + 10% Discount | blackicehosting | Web Hosting Offers | 0 | 07-02-2005 12:20 PM |
| Tutorial: Getting Started With MySQL (The Basics) | deadserious | Webmaster Tutorials | 3 | 04-18-2004 02:17 PM |