Nov 22, 2009

Problems With Gamma Server - MYSQL service is bouncing connections

free web hosting
Open Discussion & Free Web Hosting > Free Web Hosting > Hosting Support & Help

Problems With Gamma Server - MYSQL service is bouncing connections

Mark420
Hey guys there seems to be a problem with teh MYSQL service on Gamma..ITs giving a "Too Many Connections" error message to any request its being given at the moment..also I notice that the trap17 hosted server seems to have the same errors..is that gamma server too?
On the server status page its listing as the MYSQL service as up and running and ok ..but its not..

I think it needs a reboot..hopefully this can be sorted soon..

Thanks!!

Comment/Reply (w/o sign-up)

vujsa
Yes, the Trap17 and AstaHost hosting accounts are on the Gamma server. The MySQL error is a normal part of the servers operation. The error message is given in one particular situtation. It is triggered when there happen to be too many connections to MySQL at the same time! As I have explained in other topics similar to this one, the MySQL server has a limit on the number of simultaneous connections to it.

Lets say that the limit is 100 simultaneous connections! That means that if there are 101+ connections requested at the exact same moment, the error appears! Since most connections only last hundredths of a second, this allows for thousands of connections per second. So it really takes a lot of people on the server at the same time to cause the problem. Even if you had 3000 people viewing material on the Gamma server, what are the chances that all of those pages even required a MySQL connection and if people are reading content, what are the chances that they all would choose to load a page at the same time?

My point is that several thousand pages can be viewed at the same time before the server notices any problems.

Now lets consider other variables in the equasion. I'm guessing that you posted this article at the time of the outage. It happens that the time that you posted this topic is also one of the busiest times on the internet each day.

So we got a whole lot of people viewing our pages all at once and then we got one too many MySQL requests at the same instant and bang!!!!!!!!!!!!!! The error message starts popping up for everyone. So what is their first instinct?

"Click Reload!"

So now the server is kind of overwhelmed and then a couple of thousand people click reload at the same time. Now the server is completely overwhelmed. It can't even process all of the error messages as fast as the errors pop up resulting in connection request lasting longer and using up the time that could have been used for an actual connection. So we get another reload request which then makes things even worse. etc...

Maybe the MySQL server needs some kind of queuing system but I don't know of one. The best possible solution is for software developers to write their code to respond differently to the "Too Many Connection" error. If the script forced the user to wait 30 seconds before displaying the message, then the server would have time to recover before a barrage of page reloads.

Basically, once this happens, the problem usually grows out of control until enough users are discouraged and break the cycle by not reloading.

It would be nice if you could add code to your robot.txt file that would allow you to specify the time of day that it is okay to crawl your website which could at least reduce the number of connection requests by eliminating the bots during peak hours. Some web software allows a website to be dynamically generated once a day and then the visitor actuall sees a static page. This doesn't really work for many dynamic websites like a forum or blob but for a link index or daily news site, it would be fine.

Really, all we need is for users to analyze the situation wait a minute and then reload.

Long story summarized this happen very infrequently and is only a problem during peak internet hours. Not only is this problem compounded by users not reacting to the problem in the logical manner, the way that scripts handle the error and the number of connections a script requires to load a page are also major issues. The server produces the error message so that it doesn't need to be restarted. Basically, there isn't much that can be done to resolve the issue when it arises.

Hope this helps.

vujsa

 

 

 


Comment/Reply (w/o sign-up)

Mark420
Sure I understand all of this being a server admin myself for many years at many different companies..
Just find it odd that the peak time here on this server is around 10-11pm euro time..normally earlier in the day for this type of hammering!

Btw any news on the CRON JOBS? we REALLY need that problem fixing soon!!
The cron service seems to have gone wrong during the cpanel upgrade.

Thanks!

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : problems, gamma, server, mysql, service, bouncing, connections

  1. Mysql Persistant Connections?
    Are they allowed here? (2)
  2. Existing Problems
    (4)
    I knew it would take some time to fix the problems involved with the Xisto server migration,
    however, problems still exist today. I;m pretty sure it has been almost a month since the crash, and
    still when I click the link to get to my CPanel, the outdated IP Address is being used, and the
    connection times out. I know there is a way around this by using the new Address to access the
    CPanel, but it would make my day easier if the "Access Your CPanel" link simply worked. Also, I
    remember asking a question about this a while ago. A new domain, I am still unable to set up a d....
  3. Server Load
    Regarding account creation (2)
    Hello, Whenever I try creating a new account, I keep getting the following message: QUOTE The
    Server is a bit under load and creating an account might take too long and create problems. Please
    try later. Is there anything I can do? Regards, Atomic0....
  4. #2002 - The Server Is Not Responding (or The Local Mysql Server's Socket Is Not Correctly Configured) ?
    (0)
    Nevermind.. It is working now.. But what was that? (when it tryed to enter phpMyAdmin i got this
    error: #2002 - The server is not responding (or the local MySQL server's socket is not correctly
    configured) ) ....
  5. Change Server Time?
    (9)
    Hey! I was wondering.. Is it possible to chnage the server time for my website? Or is it the same
    time for all servers? Thanks //Feelay ....
  6. Server Won't Connect To Radio
    (5)
    Hi. I recently purchased a radio for my website, but I'm having problems. I've made a
    script to go onto the radio server and get the stats, but it won't work. It just says that it
    can't connect. The url for my radio is http://208.100.38.3:10020 . Is there something on
    astahost that prevents you connecting to other ports?....
  7. Connection To Ftp Server Resetting
    (5)
    For some reason I can't connect to my FTP server! It was working fine yesterday, but when I
    tried to connect a minute ago, it said it could not login. I made a new account, and tried that, and
    now it logs in with any account, but the connection resets. I use Windows Explorer as my FTP Client.
    Can anyone help?....
  8. My Account DNS
    Having problems with domains (5)
    Hello, Well for a quite long time, almost a year I was having different problems with my domains,
    here is the problem: my main subdomain I got with astahost works every time the server isn't on
    downtime, but with top level domains like .net and uni.cc, for a month now almost everyday for about
    6 hours I can't access my sites and I get 404 error, I thought it was my ISP stupid DNS stuff,
    because I could get to the sites using Google proxy, but the domains don't really always work
    for other people from my country on different ISP, so I though this is something....
  9. Secure Server Hosting?
    (2)
    Hi all, I'm looking into the hosting provided here and was just wondering if the websites will
    be on a secure server. E.g. Do they have an URL that starts with 'http s ://' I ask this
    because I plan on running CGIProxy and require a Secure Server for it. So, secure? Or not Secure?
    /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Thanks,
    Hosma.....
  10. Free Hosting
    MySQL remote connections (4)
    Hi, somebody knows any free host where i can enable remote connections to MySQL database? thanks....
  11. Hosting Process Page Is Having Some Problems!
    (1)
    Hi, Hosting process page is having some problems! While going to Proces page , I can view some menu
    items there! And created my hosting account without having any problems by clicking the 1st link!
    But what all are the remaining links for?? Went to those links, and tried some thing using my id and
    pasword! and all of those links shows some php scrip error and shows as: INVALID USERNAME AND
    PASSWORD! Iths the error msg generated while trying to enter with my username and password at:
    Check Status Page Warning: mysql_real_escape_string(): Access denied for....
  12. Is This A Forum Or Hosting Server?
    (1)
    This is a forum or a hosting server?....
  13. A Couple Of Questions About Your Service
    that only the elite few can answer (9)
    Hello all! I have noticed that the last approved account was on July 3 or 4th. It is now the 22
    I wanted to know what was going on with that and I am sure some others do as well. I also read
    some where that you need something like 50 posts to get the service, I was unaware of this
    situation. I wouldn't have posted anything in that case. I like to write lengthy responses that
    make sense and are thorough so in 5 posts I recieved 36. points. Now normally it wouldn't bother
    me to continue up to 50, but I read somwhere that it doesn't matter how many points....
  14. Extracting Archive (zip, Gzip, Rar, Etc..) On Web Server!
    (3)
    /rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />
    /rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> Is
    there any way To Extracting Arvieve (zip, gzip, rar, etc) on Web Server so i can upload file more
    faster.....
  15. Hosting Approved But Unable To Register
    Alongwith a little question on service! (3)
    I requested my web hosting account a few days ago and got it as approved but I am surprised as I am
    unable to register with an error message showing that the sub-domain (amitbhandari.astahost.com)
    doesnot exist, however I have already sent this sub-domain name as a request. Please help me and
    let me know whether it takes some time to get registered after being approved. Also, I looked on
    homepage of astahost and found that SSH is available. It is going to be very useful to me as I am
    a dial-up user and this will help me uploading files in compressed format and de-com....
  16. Mysql Data Files *.dat
    (1)
    Hey guys i'm builing my website on my pC i have php and Mysql installed, also running Apache
    server. Well lately i've uploaded my site to my astahost account, and i've created the my
    site requested tables,but know i want to copy the database(full) from astahost account to my home
    pc. Ive tryed to export data but its keeping send me an Sql error. Is there anyway to access my
    mysql *.dat file ?....
  17. What's Up With Gamma?
    (3)
    Gamma's been up and down like a yoyo recently. I know I made a thread about it, that M^E locked
    as the server came back up, but the server's gone down again and I'm just wondering what
    happened. Why is it doing this?....
  18. Http On Gamma Server Down!
    And now it's up again (1)
    http://www.xisto.com/helpdesk/index.php?cmd=status HTTP on Gamma server has gone down! Why my
    server? Why? I think this is the first outage I can remember since the Panda server was tranferred
    to Gamma. And it's just gone up, even before I finished writing this. Wow. Talk about sorting
    it out quickly. I wonder what caused it.......
  19. How I Can Connect To Server
    (4)
    hi i want to install a chat room for my site installation document says: start server: type java
    -jar -server bribble-1.5.34.jar how i can connect to server....
  20. Problems With Creating Account
    I think I have problem creating account. (15)
    I am having problems with the Step 2 of the How To Activate Your New Hosting Account Guide. When I
    enter all fields and press submit, I am getting the following window: QUOTE
    http://www.kmaheshbhat.astahost.com DOES NOT APPEAR TO BE A SUB-DOMAIN OF TRAP17 TRAP17 DOES NOT
    REGISTER DOMAINS FOR YOU.  IF YOU HAVE ALREADY REGISTERED THIS DOMAIN AND WANT TO USE WITH YOURS
    HOSTING, PLEASE ENSURE THAT YOU HAVE POINTED YOUR DOMAIN NAMESERVERS to NS1.TRAP17.COM and
    NS2.TRAP17.COM.  Please allow atleast 2 days for propagation. Should
    http://www.kmaheshbhat.astahost.c....
  21. I Lost Mysql Databases And Privileges!?
    (10)
    hi i lost MySQL Databases and Privileges!!? please restore my databases /sad.gif' border='0'
    style='vertical-align:middle' alt='sad.gif' /> ....
  22. Is The Server Down Or Is It My Account ?
    (8)
    I keep trying to connect to http://www.mooreo.astahost.com (my web hosting account) and it says it
    can't connect. Just curious if it's down? Can anyone else access it. I deleted the
    index.php or .html file, but I haven't uploaded anything to it yet. I have sufficient credits.
    Any ideas? I read a previous topic about the hosts file, but why would that help? Any help is
    greatly appreciated. Oh, and just a curious question. Does astahost plan on upgrading to php 5.x
    and/or apache 2.x soon?....
  23. Hosting Problems
    Too much downtime & a loss of credits (12)
    I have 2 little problems. First is the uptime of my site. It's realy low. A few minutes ago, I
    could access my site, I changed a poll on it and suddenly the site was down again. I can't
    access anything, not even cpanel. I'm having this many times. I can access my site and suddenly
    it's down. I'm on panda btw and my site is http://jovolka.wutske.astahost.com , running
    geeklog 3.11 and gallery 1.5rc1. The other problems is: how long are your days. 1-2 days ago I had
    30days remaining and I have only 21 days left ??????? That's not funny, if you r....
  24. My Account?
    Is it still on the server? (4)
    Hello, I have a question about my account. Ive been away for quite a long time and now that I have
    more time and plan to keep my account. My credits were negative when I left. Now when I logged in
    Ive had 0. I read about the new credit system, but I have 10 credits now, may you reactivate my old
    account, or do I have to reapply for a new account with the same domain? my domain is
    http://vladimirx.info thanks a lot! vladimir....
  25. Web Space And Mysql Database
    (3)
    hi every body : at the first thank you for reading this . i 'm about searching a web host that
    supports php+mysql with no limited bandwith and always i found that the web space 100-500 mb and
    suuport mysql my question is when they provide for example 100mb and mysql is the size of your
    database is incluse in 100mb or not !! thank you for your reading and for your replay....
  26. Php Wont Connect To Mysql
    WONT WORK!! (1)
    my php script that came with the database will not connect propaly, it will connect for about 10
    minutes but after 10 minutes it will not work and i was wondering why this could be. I do not
    understand why it would connect for a limited time but not rest. My Hosting is not working either??
    Admin HELP!! /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />....
  27. Panda Server Failure
    (3)
    I know that at the moment the panda server is down, and our files are all being transfered, etc, etc
    But are we still being charged for this? Seeing as our sites are going to be down for quite a
    while, shouldn't Hosting Credits be frosen where they are or something, after all, we a re
    effectively paying for nothing.....
  28. Fading Banner Causing Problems In Forums
    (1)
    I don't know if this is the right place for this post. The fading announcement banner at the
    top of these forums causes problems in the arcade. There was a discussion about it in this thread.
    http://www.astahost.com/index.php?showtopic=4725&hl= Could the administrators take a look at this
    issue? Thanks! /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  29. Mysql Connection Error With Vbulletin
    Too many connections error (1)
    Warning: mysql_connect(): Too many connections in /home/darkool/public_html/admin/db_mysql.php on
    line 40 There seems to have been a slight problem with the database. Please try again by
    pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff,
    who you can also contact if the problem persists. We apologise for any inconvenience. When i try
    to access my website this error is displayed i'm using vbulletin in there, database can't
    have to much useres coz i only have two memberes registered, and also my mates can acce....
  30. Subdomains
    A question about Astahosts service (4)
    Hi, I'm hoping to get hosting here with astahost. I'm going for the second package where
    you need 30 credits. I noticed in the application it asks what subdomain you wanted to use. I was
    just wondering, is that the only subdomain address that you can use or can you make a few different
    subdomains after you've been accepted? I mean, is there a members area where you can make other
    subdomains?....

    1. Looking for problems, gamma, server, mysql, service, bouncing, connections

See Also,

*SIMILAR VIDEOS*
Searching Video's for problems, gamma, server, mysql, service, bouncing, connections
advertisement



Problems With Gamma Server - MYSQL service is bouncing connections

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com