Forum

Serverdaki Yavaşlık...
 
Bildirimler
Hepsini Temizle

Serverdaki Yavaşlık yada Server Nasıl Optimize Edilir !

13 Yazılar
6 Üyeler
0 Reactions
5,157 Görüntüleme
(@SerdarDemirbas)
Gönderiler: 26
Eminent Member
Konu başlatıcı
 

Merhaba öncelikle bu siteyi hayata geçiren ve bizlerin yardım almasını kolaylaştıran, kısacası tüm emeği geçen herkese teşekkür ederim. İlk sorum şu olacak arkadaşlar. Benim Windows 2003 server kurulu bir makinem var. İçerisinde yanlızca bana ait olan 12 site mevcut fakat şöyle bir sorunum var. Sistem çok yavaş ! Siteler açılırken aşırı geç veri alıyorlar serverdan. Diğer ucuz hostinglerin hostingleri bile daha iyi kalabiliyor yaptığım testlerde. Server sanki biri hortumu kıstırmış gibi çalışıyor 🙂 Bazı sitelere bakıyorum .ok büyük resimleri çok hızlı getiriyorlar aşırı hızlı hatta ama benim server ım 250 kb resmi bile zorla yayınlayabiliyor.. Artık resimleri optimize etmekten Resim formatlarında profesyonelleştim 🙂 Bu anlattıklarım umarım sorunu anlamanız için yeterli olabilir.. Bu durumlara göre bunu hızlandırmanın yada daha iyi bir hale getirmenin yolu varmıdır ? Pek serverdan anlamam ama webkurulumunu biliyorum. Söylenilecek yardımları araştırarakta yapmaya çalışırım. Yardımcı olabilirseniz çok sevinirim.. Şimdiden çok teşekkürler

 
Gönderildi : 14/03/2009 15:37

Hakan Uzuner
(@hakanuzuner)
Gönderiler: 33028
Illustrious Member Yönetici
 

Merhaba

Konu sanki hosting bölümü ile ilgili .

bu server bir DataCenter da mı tutuluyor yoksa bir dsl modem ile mi hosting yapıyorsunuz.

 

Danışman - ITSTACK Bilgi Sistemleri
****************************************************************
Probleminiz Çözüldüğünde Sonucu Burada Paylaşırsanız.
Sizde Aynı Problemi Yaşayanlar İçin Yardım Etmiş Olursunuz.
Eğer sorununuz çözüldü ise lütfen "çözüldü" olarak işaretlerseniz diğer üyeler için çok büyük kolaylık sağlayacaktır.
*****************************************************************

 
Gönderildi : 14/03/2009 18:28

(@SerdarDemirbas)
Gönderiler: 26
Eminent Member
Konu başlatıcı
 

Cevabınız için çok teşekkürler.. Server bir DataCenter da tutuluyor. Buna rağmen bu kadar yavaş olmasına bende şaşırıyorum.. Acaba server ın ayarlarından mıdır diyorum ama ayar yapmayıda bilmiyorum..

 
Gönderildi : 17/03/2009 18:46

(@mesutsariyar)
Gönderiler: 2515
Co-Founder
 

Web Server Optimizasyon


 This step-by-step article describes the different methods that you can use to optimize the performance of a dedicated Windows 2000 Web server.


Disable Unnecessary Services


loadTOCNode(2, 'summary');

Disable Windows 2000 services that are not required for a dedicated Web server. To do this, follow these steps:



  1. Click Start, point to Programs, point to Administrative Tools, and then click Computer Management.
  2. Under Computer Management (Local), expand Services and Applications, and then click Services. Started is displayed in the Status column of the services that are running. The following services are not required on a dedicated Web server:

    Alerter
    ClipBook
    Computer Browser
    DHCP Client
    DHCP Server
    Fax Service
    File Replication
    Infrared Monitor
    Internet Connection Sharing
    Messenger
    NetMeeting Remote Desktop Sharing
    Network DDE
    Network DDE DSDM
    NWLink NetBIOS
    NWLink IPX/SPX
    Print Spooler
    TCP/IP NetBIOS Helper Service
    Telephony
    Telnet
    Uninterruptible Power Supply

  3. Note the services that are dependent on the service that you want to stop. To do this, follow these steps:

    1. Double-click the service that you want. For example, double-click Messenger.
    2. Click the Dependencies tab.
    3. In the service name depends on these services list (where service name is the name of the service that you selected), note the services on which this service depends.
    4. In the These services depend on service name list, note the services that will be unable to start without this service.
    5. Click OK.

  4. Disable the service that you want. To do this, follow these steps:

    1. Right-click the service that you want to disable, and then click Properties on the shortcut menu that appears.
    2. In the Startup type list, click Disabled.
    3. If you want to immediately stop the service, click Stop. If you a Stop Other Services dialog box appears, other services that depend on this service will also be stopped. Note the affected services, and then click Yes.
    4. Click OK. Disabled is displayed in the Startup Type column of this service.

  5. Repeat step 4 to disable other unnecessary services.

NOTE: Test the Web server computer for proper operation after you disable each service. This minimizes the effect of disabling a service that you may want or need.

NOTE: If the IIS server is a member of a Windows 2000 domain the TCP/IP helper service is required to properly apply group policy to the computer.


Maximize Data Throughput for Network Applications


loadTOCNode(2, 'summary');

Run the Internet Information Services (IIS) 5.0 process pageable code in working memory. To do this, follow these steps:



  1. On the desktop, right-click My Network Places, and then click Properties on the shortcut menu that appears.
  2. Right-click the Local Area Connection icon that you want, and then click Properties on the shortcut menu that appears.
  3. In the Components checked are used by this connection list, click (but do not clear its check box) File and Printer Sharing for Microsoft Networks, and then click Properties.
  4. Click Maximum data throughput for network applications, and then click OK twice.
  5. Restart the server for these changes to take effect.

 

Optimize Performance for Background Services


loadTOCNode(2, 'summary');

The IIS process (Inetinfo.exe) runs as a background service. To increase performance for background services, follow these steps:



  1. Click Start, point to Settings, and then click Control Panel.
  2. In Control Panel, double-click System.
  3. Click the Advanced tab, and then click Performance Options.
  4. Under Application response, click Background services, and then click OK twice.
  5. Quit Control Panel.

 

Minimize IIS Logging


loadTOCNode(2, 'summary');

Disable logging on Web sites, virtual directories, or files and folders unless you require it. To do this, follow these steps:



  1. Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager.
  2. Expand *server name, where server name is the name of the Web server.
  3. Navigate to the item that you want, and then right-click it. On the shortcut menu that appears, click Properties. For example, right-click Default Web Site, and then click Properties on the shortcut menu that appears.
  4. Do one of the following:

    • If you selected a Web site, click the Home Directory tab.

      -or-
    • If you selected a Virtual directory, click the Virtual Directory tab.

      -or-
    • If you selected a physical directory, click the Directory tab.

  5. Click to clear the Log visits check box, and then click OK.

    To disable logging for an entire Web site, click the Web Site tab, click to clear the Enable Logging check box, and then click OK.
  6. Quit the Internet Information Services snap-in.

Enable Bandwidth Throttling


loadTOCNode(2, 'summary');

Limit the amount of network bandwidth that is available to individual Web sites. To do this, follow these steps:



  1. Start Internet Services Manager.
  2. Expand *server name, where server name is the name of the Web server.
  3. Right-click the Web site that you want (for example, Default Web Site) and then click Properties on the shortcut menu that appears.
  4. Click the Performance tab, and then click to select the Enable bandwidth throttling check box.
  5. In the Maximum network use box, type the value that you want, and then click OK.
  6. Quit the Internet Information Services snap-in.

 

Restrict Processor Usage


loadTOCNode(2, 'summary');

Limit the amount of processor usage available to individual Web sites. To do this, follow these steps:



  1. Start Internet Services Manager.
  2. Expand *server name, where server name is the name of the Web server.
  3. Right-click the Web site that you want (for example, Default Web Site), and then click Properties on the shortcut menu that appears.
  4. Click the Performance tab, and then click to select the Enable process throttling check box.
  5. In the Maximum CPU use box, type the value that you want.
  6. Click to select the Enforce limits check box, and then click OK.

    NOTE: If you do not enable the Enforce limits option, the Maximum CPU use limit is not enforced. When a Web site exceeds its allowed CPU usage limit, an event is written to the Event Log.
  7. Quit the Internet Information Services snap-in.

 

Limit Web Site Connections


loadTOCNode(2, 'summary');

Limit the number of connections available to individual Web sites. To do this, follow these steps:



  1. Start Internet Services Manager.
  2. Expand *server name, where server name is the name of the Web server.
  3. Right-click the Web site that you want (for example, Default Web Site) and then click Properties on the shortcut menu that appears.
  4. Under Connections, click Limited To.
  5. In the connections box, type the number of connections that you want to allow.

    NOTE: Each connected client uses approximately four concurrent connections. For example, a connection limit of 200 would allow approximately 50 users to access the Web site.
  6. Click OK, and then quit the Internet Information Services snap-in.

 

Use HTTP Keep-Alives


loadTOCNode(2, 'summary');

The use of HTTP Keep-Alives is enabled by default. To verify that HTTP Keep-Alives are enabled, follow these steps:



  1. Start Internet Services Manager.
  2. Expand *server name, where server name is the name of the Web server.
  3. Right-click the Web site that you want (for example, Default Web Site) and then click Properties on the shortcut menu.
  4. Under Connections, verify that the HTTP Keep-Alives Enabled check box is selected, and then click OK.
  5. Quit the Internet Information Services snap-in.

http://support.microsoft.com/kb/308186


 

 
Gönderildi : 17/03/2009 20:50

(@SerdarDemirbas)
Gönderiler: 26
Eminent Member
Konu başlatıcı
 

Mesut bey cevabınız için çok teşekkürler.. İngilizce anlayabildiğim kadar dediklerinizi yapmaya çalıştım.. Hatta bazı iptal edilmesi gereken uygulamalar zaten iptal edilmiş durumdaydı.. Ama yinede gözle görülür pek bir artış göremedim.. Acaba sorun server in donanımından olabilirmi? Yada serverlarda olması gereken bazı değerleri, komut isteminden gireceğim bazı komutlar ile görüp karşılaştırma yapabileceğim birkaç komut varmıdır?.. Sorunun nereden kaynaklandığını bilsem ISS yada donanımdan mı yada DataCenter dan mı olduğunu ona göre bir çözüm önerisi bulmaya çalışabilirim.. Bildiğiniz bu tarz komutlar varmıdır? Yada kaldırmam gereken, yenidenyüklemem gereken programlar ne olabilir en son çare artık kurulu sistemi yenilemek olacak çünkü..

 
Gönderildi : 18/03/2009 13:11

(@cevahirefendioglu)
Gönderiler: 100
Estimable Member
 

Local'de test ettiğinizde sayfalar yine yavaş mı geliyor. Yine Hdd yazma ve okuma hızını monitor ettiniz mi?

 
Gönderildi : 18/03/2009 14:22

(@SerdarDemirbas)
Gönderiler: 26
Eminent Member
Konu başlatıcı
 

Server'in Localinde test ettim.. Normal hızda geliyor siteler.. Resimler de hızlı açılıyor.. Monitör etmedim ama sanırım HDD de problem yok.. Ama CPU ve Bellek kullanımını incelemeyi deniycem.. Acaba virüs gibi bir nedenden internetini yavaşlatıyor olabilirmi sistemin.. Şu anda bellek kullanımıda 1.83 GB seviyesinde ve zaten 2.00 GB ram var sizce bu normalmidir ?

 
Gönderildi : 18/03/2009 15:17

(@esersolmaz)
Gönderiler: 3204
Illustrious Member Yönetici
 

Sunucunun kullandıgı internet teknolojisi ve hızı nedir ?


 

 
Gönderildi : 18/03/2009 15:50

(@SerdarDemirbas)
Gönderiler: 26
Eminent Member
Konu başlatıcı
 

Firmanın bilgilerinden aldığım değerler 155 Mbit + 34Mbit "TTNet port" olarak geçiyor.. Doğrumu pek bilmiyorum ama sözünü ettiğim DataCenter firması kaliteli olarak anlatılıyor. Eskilerden bir firmaymış.. Sanırım iyi bir bağlantıya sahip.. Fiberoptiklerle.. Umarım bu bilgiler sorunuzun cevabıdır...

 
Gönderildi : 18/03/2009 18:43

(@SerdarDemirbas)
Gönderiler: 26
Eminent Member
Konu başlatıcı
 

Arkadaşlar sanırım server daki ISS te ayarların karmakarışık olması sorun.. Çünkü Application Pools diye bir bölüm var oradabir çok ayar var çalışan çalışmayan.. Bunlar sebep oluyor sanırım.. Sizcede bu bölüm bu kadar yavaşlatırmı sistemi.. Yada sadece IIS teki bir sorun server ı bu kadar yavaşlatırmı ? Ayrıca belirtmemde fayda var sanırım Plesk in bitmiş bir versiyonu şu anda sistemde mevcut çalışmıyor bi kaç kez kuruldu kaldırıldı.. Şimdi bu halde hala serverda dosyaları var buda etkili olurmu bu sorunda ?   Yardım eden herkese çok teşekkür ediyorum.. Gerçekten çok yardımınız dokundu..

 
Gönderildi : 23/03/2009 14:50

Hakan Uzuner
(@hakanuzuner)
Gönderiler: 33028
Illustrious Member Yönetici
 

Merhaba

bu saydığınız tüm etkenler olası sorun nedenleridir. Öncelikle plesk i kaldırmalı , ardından iis üzerinde önemli web siteleri için ayrı application pool lar oluşturmalı ve bunların kaynak kullanımını ayarlamalısınız. ayrıca yavaşlık kavramını açıklamanız lazım , asp sitelerde mi aspx demi , yoksa tüm sayfalar da mı bu sorun yaşanıyor.. siteden bir dosya indirirken kaç kb ile indirebiliyorsunuz vb.. değerlere bakmanız gerekli. ayrıca size sunulan bw önemli yani isp nin tüm bw sizin değil ki yukarıdaki değerli baz alıyorsunuz size verilen bw sizin hızınızı belirler.

Danışman - ITSTACK Bilgi Sistemleri
****************************************************************
Probleminiz Çözüldüğünde Sonucu Burada Paylaşırsanız.
Sizde Aynı Problemi Yaşayanlar İçin Yardım Etmiş Olursunuz.
Eğer sorununuz çözüldü ise lütfen "çözüldü" olarak işaretlerseniz diğer üyeler için çok büyük kolaylık sağlayacaktır.
*****************************************************************

 
Gönderildi : 23/03/2009 18:54

(@SerdarDemirbas)
Gönderiler: 26
Eminent Member
Konu başlatıcı
 

Arkadaşlar şimdi bir ekran görüntüsü göndermek istiyorum.. Bu resimde görünen hatalar olağan hatalarmıdır yoksa anormal bir durumu gösteriyormudur.. Buraları sürekli aynı hatayı veriyor.. Acaba belli sorunları bunları inceleyerek çözebilirmiyim diye size göstermek istedim.. Bu resimde aşırı sorunlu bir durum varmıdır sizce.. Yada buradan pek birşey anlaşılırmı bilmiyorum ama sistemi komple sıfırlamadan düzeltebilmenin yolunu arıyorum da o yüzden.. Şimdiden teşekkürler.. Sistem olaylarının ekran görüntüsü.. Sürekli aynı hatalar var.. Sizce sistemin yavaşlığına etki eden bir durum söz konusumudur?


 


 
Gönderildi : 13/04/2009 13:08

(@ugurdemir)
Gönderiler: 9888
Illustrious Member
 

Dns ve Apache ile ilgili hatalar vermekte.Logları detaylı inceleyin.Yavaşlığa etken bunlar olabilri.Loglar sizi çözüme ulaştıracaktır.

 
Gönderildi : 15/04/2009 04:37

Paylaş: