• 06-12-2010, 17:46:25
    #1
    Bu mysql işleriyle ilgili en ufak bir bilgim olmadığı üzere, işin boyutu hakkında hiçbir fikrim yok hatta problemi de tam olarak bilmiyorum. Hostgatordan bir mail geldi ve mysql'deki tablolarımdan biri performans olarak serveri aşırı zorluyormuş, bu sebeple siteyi kapattılar.

    problemi maille tam olarak aktarmışlar buraya direk yapıştırıyorum..

    [PHP]This message is to advise you of a temporary block placed on your database. One of the databases listed below was found to be consuming an inordinate amount of processor time, to the point of degrading overall system performance. While we do limit each account to no more than 25% of a system's CPU in our terms of service, we do not actively disable accounts until they greatly exceed that number, which is what happened in this case.

    Resolving this situation may be as simple as adding additional indexes to your database, optimizing the queries used, or something equally easy. If not, it may simply be a matter of moving this database to dedicated services, as it may have outgrown a shared environment.

    If you believe you have a solution to this overuse, we are happy to discuss the situation with you and possibly reinstate the database on the server. Otherwise, we will be happy to assist you with the upgrade process if a dedicated server is the most appropriate solution. Thank you, and we look forward to hearing from you shortly.

    ~~~
    Excessive MySQL activity is caused by (a) a long-running process that locks a table, causing other queries to back up, (b) a query that is not optimized ][example: select all from ... and involving a large or complex query], (c) huge table copies/maintenance during peak hours.

    NOTE:, the following are just possible fixes or suggestions, and are not endorsed or supported by HostGator. They are included in the hope that they may apply to your situation, and/or help you reduce the amount of resources your SQL queries consume. As always, it's best to backup any data before making any changes or adjustments.

    First and foremost, you may need to optimize your tables. The frequency depends on the size and usage of the database, but most databases would benefit from doing something like this on a yearly basis: a) Enter your phpMyAdmin/MySQL control panel. Click on the database (not the table, the database name), and on the right hand column your tables should be listed. Scroll down till you see the .Check all. link. Click on that link, make sure all database tables are checked and then from the drop-down next to it, and carefully select .Optimize table..

    Additionally, adding indexes to your table(s) may improve performance. If you're not sure what you're doing, it's best not to modify any table; caution is recommended. There are various articles (http://www.whenpenguinsattack.com/2006/03/11/optimizing-mysql-tables/). It may be best to Google for something like [Your Software Name] MySQL indexes for suggestions.

    If you reply back to this with your IP address (http://www.hostgator.com/ip.shtml) we will be more than happy to go ahead enable HTTP access for you, so that you can safely work on the script without it causing further issues. Please let us know how you would like to proceed.

    gator323.hostgator.com - 16:30:55 12/03/10 - 10.2 min sample - mertkumr (root): TotalConnections= 506 : CpuTIME= 510 : Selects= 2710 : Updates= 919 : BusyTime= 11290 : bytes_received= 1769146 : bytes_sent= 0

    ###############################################

    | 4440820 | mertkumr_dizi | localhost | mertkumr_dizi | Query | 5 | Sending data | select * from ziyaret |
    | 4440840 | mertkumr_dizi | localhost | mertkumr_dizi | Query | 8 | Writing to net | select * from ziyaret |
    | 4440860 | mertkumr_dizi | localhost | mertkumr_dizi | Query | 5 | Writing to net | select * from ziyaret |
    | 4440876 | mertkumr_dizi | localhost | mertkumr_dizi | Query | 1 | Writing to net | select * from ziyaret |
    | 4440905 | mertkumr_dizi | localhost | mertkumr_dizi | Query | 0 | Sending data | SELECT * FROM videolar where kat_id='380' order by id desc LIMIT 0,120 |
    | 4440820 | mertkumr_dizi | localhost | mertkumr_dizi | Query | 7 | Writing to net | select * from ziyaret |
    | 4440840 | mertkumr_dizi | localhost | mertkumr_dizi | Query | 10 | Writing to net | select * from ziyaret |
    | 4440860 | mertkumr_dizi | localhost | mertkumr_dizi | Query | 7 | Writing to net | select * from ziyaret |
    | 4440876 | mertkumr_dizi | localhost | mertkumr_dizi | Query | 3 | Writing to net | select * from ziyaret |
    | 4440911 | mertkumr_supplie | localhost | mertkumr_suppliers | Query | 1 | Copying to tmp table | select State,count(SuppID) from medicalsuppliers where CategoryDescription='Genetic Tests' group by |

    ####################################
    mertkumr 29307 1.4 1.7 94568 71884 ? S 16:30 0:00 /usr/bin/php /home/mertkumr/public_html/Diziizlemeli.com/index.php
    mertkumr 29408 2.5 1.8 99000 76384 ? S 16:30 0:00 /usr/bin/php /home/mertkumr/public_html/Diziizlemeli.com/index.php
    mertkumr 29474 3.0 1.5 86080 63700 ? S 16:31 0:00 /usr/bin/php /home/mertkumr/public_html/Diziizlemeli.com/index.php
    root 29599 0.0 0.0 2556 872 ? SN 16:31 0:00 sh -c ps aux | grep mertkumr
    root 29601 0.0 0.0 1984 432 ? RN 16:31 0:00 grep mertkumr
    mertkumr 29602 6.0 0.3 35432 13064 ? S 16:31 0:00 /usr/bin/php /home/mertkumr/public_html/Diziizlemeli.com/izle.php
    mertkumr 29639 7.0 0.0 0 0 ? Z 16:31 0:00
     <defunct> 
    root 29644 0.0 0.0 2556 872 ? SN 16:31 0:00 sh -c ps aux | grep mertkumr 
    root 29646 0.0 0.0 1984 432 ? RN 16:31 0:00 grep mertkumr
    Sorunu yukarıdaki gibi belirtmişler. İngilizce konusunda sorun olanlara teknik olmayan kısımlarda yardım edebilirim. Ama sorunu ingilizce olarak anlayıp çözebilecek arkadaşları bekliyorum..

    Lütfen sorunu çözmek için isteyeceğiniz ücreti özel mesajlarda belirtin..
  • 06-12-2010, 18:22:35
    #2
    Üyeliği durduruldu
    Kardeş ben bi incelemek istiyorum iletişime geçer misin. Msn adresimi pm attım. Bu arada ingilizce öğretmenliği okuyorum =)
  • 07-12-2010, 11:24:48
    #3
    Üyeliği durduruldu
    güncelmi hala ?