Genel, MS Server 2012 R2
IIS Server da Process Sayısını Arttırma

IIS Server da Process Sayısını Arttırma

Herkese Merhaba,

Bu yazımızda IIS server da App Pool daki proceslerin sayısını artırmayı göstereceğim. Öncelikle tabiki neden böyle bir şey yaptığımızdan da bahsedelim hızlıca;

Konumuz şu 1 tane uygulamamız var web sitesi olsun yada başka bir servis farketmez.

IIS in Request Processing i senkron olarak çalışır ve cpu da bir işlem yaparken diğer işlemleri bekletir.

Yaniii, web sitesine bir paket gelir ııs bunu app e taşır app cpu da işlemeye başlar iis de o paketin sahibine ‘bekle abicim hazırlanıyor senin pizza dakikaya çıkacak’ felan yapar o sırada paket geri ııs tarafından son kullanıcıya gönderilir ve yeni paket işleme alınır.

NOT: Burada ms lik farklardan bahsettiğimiz için üstündeki yazılıma da bağlı olarak çok göze çarpmayan bir durum ama büyük mimarilerde genellikle asenkron çalışan sistemlere önem verilir.

Bu yüzden biz napıcaz IIS te diyeceğiz ki bu Web sitesinin App i ni çoğalt. 1 kişi karşılamasın 2 kişi karşılasın gibi.

Çok da basit 2 ekran görüntüsü felan tutar ben çok konuşuyorum.

IIS te Application Pool sekmesine geliyoruz.

Ve Uygulamamızın App ine (DefaultAppPool) sağ tıklayıp gelişmiş özellikler diyoruz.

Burada Maximum Worker Process sütununda default ta 1 gelir. Biz bunu 2 yapıyoruz.

Okey diyip siteyi çağırıyoruz 1 2 kere (test ortamı olduğu için istek gelmesi lazım) ve iis teki request monitörden bakıyoruz.

Gördüğünüz gibi 2 ayrı process olarak çalışıyor ve birbirinden farklı kaynakları kullanarak istek karşılamaya başlıyorlar.

Ama tek bir web sitesine bağlılar.

Biz test amaçlı bunu 2 yaptık bunun bir sınırı yok fakat kalkıp 10 tane process yapmanında manası yok.

En çok önerilen maksimum değer 8 dir. Daha fazla ihtiyaç oluyorsa bu artık IIS ten çıkmıştır daha farklı bir yapı (container,cloud) kurmanız gerekir.

Share this Story

Related Posts

2 Comments

  1. murat

    15 Ağustos 2019 at 05:29

    selamınaleyküm flitre nasılindireceyiz

    Reply

  2. Ercan Eryılmaz

    8 Eylül 2020 at 19:04

    teşekkürler güzel ve faydalı bir paylaşım

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Bu site, istenmeyenleri azaltmak için Akismet kullanıyor. Yorum verilerinizin nasıl işlendiği hakkında daha fazla bilgi edinin.

The Hacker News

  • DeepSeek App Transmits Sensitive User and Device Data Without Encryption
    by [email protected] (The Hacker News) on 7 Şubat 2025 at 14:58

    A new audit of DeepSeek's mobile app for the Apple iOS operating system has found glaring security issues, the foremost being that it sends sensitive data over the internet sans any encryption, exposing it to interception and manipulation attacks. The assessment comes from NowSecure, which also found that the app fails to adhere to best security practices and that it collects extensive user and

  • CISA Warns of Active Exploits Targeting Trimble Cityworks Vulnerability
    by [email protected] (The Hacker News) on 7 Şubat 2025 at 12:52

    The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has warned that a security flaw impacting Trimble Cityworks GIS-centric asset management software has come under active exploitation in the wild. The vulnerability in question is CVE-2025-0994 (CVSS v4 score: 8.6), a deserialization of untrusted data bug that could permit an attacker to conduct remote code execution. "This could

  • AI-Powered Social Engineering: Reinvented Threats
    by [email protected] (The Hacker News) on 7 Şubat 2025 at 11:10

    The foundations for social engineering attacks – manipulating humans – might not have changed much over the years. It’s the vectors – how these techniques are deployed – that are evolving. And like most industries these days, AI is accelerating its evolution.  This article explores how these changes are impacting business, and how cybersecurity leaders can respond. Impersonation attacks:

  • Microsoft Identifies 3,000 Leaked ASP.NET Keys Enabling Code Injection Attacks
    by [email protected] (The Hacker News) on 7 Şubat 2025 at 11:01

    Microsoft is warning of an insecure practice wherein software developers are incorporating publicly disclosed ASP.NET machine keys from publicly accessible resources, thereby putting their applications in attackers' pathway. The tech giant's threat intelligence team said it observed limited activity in December 2024 that involved an unknown threat actor using a publicly available, static ASP.NET

  • India’s RBI Introduces Exclusive "bank.in" Domain to Combat Digital Banking Fraud
    by [email protected] (The Hacker News) on 7 Şubat 2025 at 10:32

    India's central bank, the Reserve Bank of India (RBI), said it's introducing an exclusive "bank.in" internet domain for banks in the country to combat digital financial fraud. "This initiative aims to reduce cyber security threats and malicious activities like phishing; and, streamline secure financial services, thereby enhancing trust in digital banking and payment services," the RBI said in a