Site, Server Genel » Soru ve Cevaplar

Ciddi HTTP Problemi!

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

Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 22.03.08, 03:12 PM
Sempron
 
Üyelik tarihi: Mar 2008
Mesajlar: 10
Tecrübe Puanı: 0
overix is on a distinguished road
Exclamation Ciddi HTTP Problemi!

Merhaba arkadaşlar,
Sunucumda sadece anlık ortalama 500 tekil online olan bir site var, onun haricinde ki siteleri toplasan anlık 3 kişi yapmaz.
FTP, SSH ve diğer servisler oldukça hızlı çalışırken HTTP inanılmaz derece de yavaş. Sunucumda sayfalar açılmakla-açılmamak arasında kararsız.
Bu konuya nasıl bir çözüm getirebilirim.
Yardımcı olursanız sevinirim.
Sunucumun özellikleri
Pentium D 3.00 Ghz
3 GB RAM
100 mbit port

sunucu da hiç bir optimizasyon yapmadım, sadece apf kurdum. birde burada bir yazı vardı, my-huge.cnf olayı onu uyguladım. hepsi bu.

ne yapmam gerekiyor?
örnek site : Plak.Gen.Tr - Bedava Müzik Dinle - Free Music Listen - Müzik Dinle
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 22.03.08, 04:05 PM
Tickhi - ait Kullanıcı Resmi (Avatar)
MyBB Turkiye
 
Üyelik tarihi: Jul 2007
Nerden: Bulgaria
Mesajlar: 356
Tecrübe Puanı: 5
Tickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really nice
Tickhi - MSN üzeri Mesaj gönder Tickhi - YAHOO üzeri Mesaj gönder Tickhi isimli Üyeye Skype üzeri Mesaj gönder
saldırı alıyor olabilirsin sunucunda firewall kurulumu ?
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 22.03.08, 04:29 PM
Sempron
 
Üyelik tarihi: Mar 2008
Mesajlar: 10
Tecrübe Puanı: 0
overix is on a distinguished road
APF var
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 22.03.08, 06:15 PM
Fesih BICER - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 597
Tecrübe Puanı: 1092
Fesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond repute
Fesih BICER - MSN üzeri Mesaj gönder
http://www.plak.gen.tr/Resim.php?uye=mgn66

script oldukça hatalı. ana sayfada onlarca resim.php çağırılıyor. hemde boyut 10x10 px küçültülüyor, bence hiç gerek yok ona. kaldırırsan büyük fark edecek.

görünmeyen hatalar belki dahada fazladır.

Konu Fesih BICER tarafından (22.03.08 Saat 06:20 PM ) değiştirilmiştir..
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 22.03.08, 06:30 PM
Fesih BICER - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 597
Tecrübe Puanı: 1092
Fesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond repute
Fesih BICER - MSN üzeri Mesaj gönder
diğer sitelerinde ağır açıldı.

httpd.conf içinde maxclient değerini kontrol et birde my.cnf içeriğini buraya eklesene.
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 22.03.08, 07:41 PM
Sempron
 
Üyelik tarihi: Mar 2008
Mesajlar: 10
Tecrübe Puanı: 0
overix is on a distinguished road
My.CNF
---------
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
key_buffer = 384M
max_allowed_packet = 64M
table_cache = 1024
max_connections = 600
query-cache-type = 1
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size = 32M
safe-show-database
set-variable=local-infile=0
max_allowed_packet = 32M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 4


HTTPD.CONF
--------------
MaxClients 1000
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 22.03.08, 09:46 PM
Fesih BICER - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 597
Tecrübe Puanı: 1092
Fesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond repute
Fesih BICER - MSN üzeri Mesaj gönder
max_allowed_packet = 16M
query_cache_size=96M ## 1 gb ram için 32 mb değer ver
sort_buffer_size=3M ## 1 gb ram için 1 mb değer ver
read_buffer_size=3M ## 1 gb ram için 1 mb değer ver
read_rnd_buffer_size=3M ## 1 gb ram için 1 mb değer ver
query_cache_limit=1M
query_cache_size=96M ## 1 gb ram için 32 mb değer ver
query_cache_type=1
thread_cache_size = 96

diğer değerler aynen kalsın. bunları böyle değiş.

ayrıca maxclient değeri çok fazla 150 ile 250 arasında bir değer ver. 150 çok düşük 250 ise ise maximum değerdir.

ardından servisleri yeniden başlat
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 23.03.08, 10:29 AM
Sempron
 
Üyelik tarihi: Mar 2008
Mesajlar: 10
Tecrübe Puanı: 0
overix is on a distinguished road
httpd.conf
----------
Timeout 300
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 5
MinSpareServers 5
MaxSpareServers 20
StartServers 8
MaxClients 250
MaxRequestsPerChild 1500

burada başka bir sorun varmı dediğiniz ayarları uyguladım.
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 23.03.08, 10:41 AM
Sempron
 
Üyelik tarihi: Mar 2008
Mesajlar: 10
Tecrübe Puanı: 0
overix is on a distinguished road
birşey daha farkettim,
htop'u yükledim bu siteden, orada şöyle birşey dikkatimi çekti
en çok cpu ve ram kullanımı yapan servislerde,
/var/lib/mysql
klasörünün içinde
plak-bin.0000001
plak-bin.0000002
plak-bin.0000003
plak-bin.0000004
plak-bin.0000005
....

şeklinde 50 kadar dosya var. ve boyutları oldukça yüksek. bunlar nedir ? durumla alakası olma ihtimali varmıdı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
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
Ciddi bi sorunum var Fetihcan AWBS Destek 3 26.03.08 03:13 PM
HTTP Yanıt Kodları Sayfalarını Düzenlemek umut58tr Soru ve Cevaplar 2 23.02.08 05:24 PM
Dns problemi PaRaDoKS Soru ve Cevaplar 3 08.01.08 07:29 PM
Ftp Problemi amanoslu Soru ve Cevaplar 6 26.09.07 11:09 PM
IE de "HTTP 500 internal server error" tespara Makaleler 0 25.06.07 09:01 PM