Site, Server Genel » Soru ve Cevaplar

Ciddi HTTP Problemi!

http://forum.whmdestek.com/

Geri git   WHM cPanel Destek Platformu » Site, Sunucu Sorunlarınız ve Çözümleri » Site, Server Genel » Soru ve Cevaplar
 
Türkiye' nin Webmaster Sitesi
Webmaster Araçları, Bilgi ve hizmet alışverişi
Webmaster.com.TR
Reklam Alın!
Günlük 5k tekil ve üzeri sitelerinize reklam!
Fixreklam
Firma tanıtımı!
Firmanızın reklamını hemen yapın!
Reklamlar

Cevapla
 
LinkBack Seçenekler Stil
  #1  
Alt 22.03.08, 15:12
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  
Alt 22.03.08, 16:05
Tickhi - ait Kullanıcı Resmi (Avatar)
Athlon Dual Core
 
Üyelik tarihi: Jul 2007
Nerden: Bulgaria
Mesajlar: 367
Tecrübe Puanı: 6
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  
Alt 22.03.08, 16:29
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  
Alt 22.03.08, 18:15
Onursal - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 625
Tecrübe Puanı: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Onursal - 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.

Son Düzenleme: Onursal; Tarih / Saat: 22.03.08 18:20.
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  
Alt 22.03.08, 18:30
Onursal - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 625
Tecrübe Puanı: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Onursal - 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  
Alt 22.03.08, 19:41
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  
Alt 22.03.08, 21:46
Onursal - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 625
Tecrübe Puanı: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Onursal - 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  
Alt 23.03.08, 10:29
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  
Alt 23.03.08, 10:41
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
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
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 Cevap Son Mesaj
Ciddi bi sorunum var Fetihcan AWBS Destek 3 26.03.08 15:13
HTTP Yanıt Kodları Sayfalarını Düzenlemek umut58tr Soru ve Cevaplar 2 23.02.08 17:24
Dns problemi PaRaDoKS Soru ve Cevaplar 3 08.01.08 19:29
Ftp Problemi amanoslu Soru ve Cevaplar 6 26.09.07 23:09
IE de "HTTP 500 internal server error" tespara Makaleler 0 25.06.07 21:01


Sign up for PayPal and start accepting credit card payments instantly.

Navigasyon
Menü