Site, Sunucu Sorunlarınız ve Çözümleri » Database

mysql kısa süreli kesintiler...

Geri git   WHM cPanel Destek Platformu » Site, Sunucu Sorunlarınız ve Çözümleri » Database
Kayıt ol Yardım Üye Listesi Ajanda Forumları Okundu Kabul Et
 

Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 11.02.08, 03:22 AM
Media Servers Projector
 
Üyelik tarihi: Oct 2007
Nerden: İstanbul
Mesajlar: 638
Tecrübe Puanı: 1011
haritSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond repute
haritSu - MSN üzeri Mesaj gönder haritSu - YAHOO üzeri Mesaj gönder
mysql kısa süreli kesintiler...

arkadaşlar merhaba,

sunucuda 2-3 forum sitesi var. biri smf, ikisi vb. fazla bir mysql sorgusu yapan site yok. load 0,5'i geçmiyor. tmp'yi daima temizliyoruz. sim kurulu. apache 2. centos 64 bit
amd athlon 5600 + 4 gb ram gibi bir sistem.

ancak çok kısa süreli zamanlarda mysql bağlantı hatası oluyo ve tekrar yenilediğimizde sayfayı geri geliyo. Ancak son zamanlarda sıklaştı bu sorun...

nedenleri neler olabilir?
__________________
halid-can!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #2 (permalink)  
Alt 11.02.08, 12:39 PM
Tahsin ALTAY - ait Kullanıcı Resmi (Avatar)
Administrator
 
Üyelik tarihi: May 2007
Mesajlar: 449
Tecrübe Puanı: 100000
Tahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond repute
my.cnf içerisinde open_files zımbırtısı düşük olabilir halid onu biraz yükselt
__________________
Kişisel: www.tahsinaltay.com
Ticari: www.netbilsis.com
Joomla Kitabı : www.pusula.com/joomla.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #3 (permalink)  
Alt 11.02.08, 02:22 PM
Media Servers Projector
 
Üyelik tarihi: Oct 2007
Nerden: İstanbul
Mesajlar: 638
Tecrübe Puanı: 1011
haritSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond repute
haritSu - MSN üzeri Mesaj gönder haritSu - YAHOO üzeri Mesaj gönder
kaç yapayım? 8192 gözüküyor.
__________________
halid-can!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #4 (permalink)  
Alt 11.02.08, 04:04 PM
Tahsin ALTAY - ait Kullanıcı Resmi (Avatar)
Administrator
 
Üyelik tarihi: May 2007
Mesajlar: 449
Tecrübe Puanı: 100000
Tahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond repute
whm den bak ne kadar harcıyorsun ona göre ayarla. PHPMYADMIN'e gir orada detaylarda var bilgiler
__________________
Kişisel: www.tahsinaltay.com
Ticari: www.netbilsis.com
Joomla Kitabı : www.pusula.com/joomla.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #5 (permalink)  
Alt 11.02.08, 04:58 PM
sinangunay - ait Kullanıcı Resmi (Avatar)
FULL DESTEK SUNUCULAR
 
Üyelik tarihi: Jul 2007
Nerden: biLi biLi boP
Yaş: 27
Mesajlar: 1.621
Tecrübe Puanı: 1072
sinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond repute
my.cnf içinden table cache size arttırırsan sorunun çözüleceğine inanıyorum ama sen bana inanma, inandığım herşey yanlış çıktı bugüne dek
__________________
KROYUM AMMA SİSTEM BİLGİSİ BENDE
KAMYON ÇEKER 10-20 TON, GÖNLÜM ÇEKER PARİS HİLTON

RAHMETLİ DE HACKLERDİ
TEK RAKİBİM SUN MICROSYSTEMS
SOLLAMA BENİ, FORMATLARIM SENİ


HAZİRAN AYININ 2SİNE KADAR SINAVLAR NEDENİYLE YOKUM YARDIMCI OLAMADIĞIM İÇİN ÖZÜR DİLERİM

-----------------------------------------------------------------------------------------

>> LÜTFEN ÜCRETSİZ DESTEK TALEP ETMEK İÇİN MSN ADRESLERİMİZİ EKLEMEYİNİZ. HER TÜRLÜ ÜCRETSİZ DESTEK İÇİN FORUMLARIMIZI KULLANINIZ. TEŞEKKÜRLER <<
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #6 (permalink)  
Alt 12.02.08, 08:58 AM
Media Servers Projector
 
Üyelik tarihi: Oct 2007
Nerden: İstanbul
Mesajlar: 638
Tecrübe Puanı: 1011
haritSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond repute
haritSu - MSN üzeri Mesaj gönder haritSu - YAHOO üzeri Mesaj gönder
Alıntı:
Tahsin ALTAY´isimli üyeden Alıntı Mesajı göster
whm den bak ne kadar harcıyorsun ona göre ayarla. PHPMYADMIN'e gir orada detaylarda var bilgiler
whm'den nereden bakayım yaaaa

dur ben my.cnf yi atayım buraya...
Kod:
[mysqld]
datadir=/var/lib/mysql
skip-locking
skip-innodb
skip-networking
safe-show-database
query_cache_limit=1M
query_cache_size=128M ## 32MB for every 1GB of RAM
query_cache_type=1
max_user_connections=200
max_connections=600
interactive_timeout=10
wait_timeout=20
connect_timeout=10
thread_cache_size=128
key_buffer=512M ## 128MB for every 1GB of RAM
join_buffer=1M
max_connect_errors=20
max_allowed_packet=16M
table_cache=1024
record_buffer=1M
sort_buffer_size=4M ## 1MB for every 1GB of RAM
read_buffer_size=4M ## 1MB for every 1GB of RAM
read_rnd_buffer_size=4M  ## 1MB for every 1GB of RAM
thread_concurrency=4 ## Number of CPUs x 2
myisam_sort_buffer_size=64M
server-id=1
collation-server=latin1_general_ci

[mysql.server]
user=mysql
basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/lib/mysql/mysql.pid
open_files_limit=8192

[mysqldump]
quick
max_allowed_packet=75M

[mysql]
no-auto-rehash
#safe-updates

[isamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M

[myisamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M

[mysqlhotcopy]
interactive-timeout
__________________
halid-can!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #7 (permalink)  
Alt 12.02.08, 10:21 AM
RAMBilisim - ait Kullanıcı Resmi (Avatar)
www.rambilisim.com
 
Üyelik tarihi: Jun 2007
Nerden: Samsun
Mesajlar: 637
Tecrübe Puanı: 43
RAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond reputeRAMBilisim has a reputation beyond repute
RAMBilisim - MSN üzeri Mesaj gönder
Kod:
 
max_user_connections=200
max_connections=600
Şu girdilerde düşük görünüyor hocam bunları yükselt bence.
__________________
İmkansız Sadece Zamandır !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #8 (permalink)  
Alt 12.02.08, 10:43 AM
Tahsin ALTAY - ait Kullanıcı Resmi (Avatar)
Administrator
 
Üyelik tarihi: May 2007
Mesajlar: 449
Tecrübe Puanı: 100000
Tahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond repute
open_files_limit: whm de solda phpmyadmin var oraya gir sonra açılan sayfada durum bölümüne bak orada bu değeri bulup karşısındaki rakam neyse onun biraz yükseğini yaz olsun bitsin.

RAMBilişimin dediğini de yap mutlaka 300 e 750 dene
__________________
Kişisel: www.tahsinaltay.com
Ticari: www.netbilsis.com
Joomla Kitabı : www.pusula.com/joomla.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #9 (permalink)  
Alt 12.02.08, 04:16 PM
Media Servers Projector
 
Üyelik tarihi: Oct 2007
Nerden: İstanbul
Mesajlar: 638
Tecrübe Puanı: 1011
haritSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond repute
haritSu - MSN üzeri Mesaj gönder haritSu - YAHOO üzeri Mesaj gönder
open files limi 3.000 olarak geçiyor e zaten varolan değeri 8192 ne edeyim?
__________________
halid-can!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
Cevapla



Seçenekler
Stil

Yetkileriniz
Yeni Mesaj yazma yetkiniz aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz aktif değil dir.

Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Site taşırken kendi sunucunuz mySQL v4, karşı sunucu mySQL v5 ise veya tam tersi ise naparız.. sinangunay Database 6 12.02.08 10:37 AM
ssh ile saldiri alan siteyi süreli Suspended etme PowerUseR SSH 7 28.12.07 04:57 PM