başlatmaya çalıştığınızda SQL Server aracı kilitleniyor

Bu makalede, SQL Server örneğinizde birden çok iş oluşturduğunuzda SQL Server aracı hizmetinin karşılaştığı sorunlar açıklanır.

Özgün ürün sürümü: SQL Server
Özgün KB numarası: 2795690

Belirtiler

Başlatmayı denediğinizde bir SQL Server aracısı kilitleniyor veya başlatılması beklenenden uzun sürüyor. Ayrıca, aşağıdaki senaryolardan biriyle veya daha fazlasıyla karşılaşabilirsiniz:

  • Senaryo 1: Sistem olay günlüğüne aşağıdaki hata iletisi kaydedilir:

    Hizmet başlangıç veya denetim isteğine zamanında yanıt vermedi.

  • Senaryo 2: Aracının durumu Denetim Masası "Başlatılıyor" olarak görüntülenir ve aşağıdaki hata iletisi SQLAgent.log dosyasına kaydedilir:

    Boşta cpu koşulu tanımlanmadı - OnIdle iş zamanlamalarının hiçbir etkisi olmaz.

    Ayrıca, aşağıdaki girdiler SQLAgent.log dosyasına kaydedilebilir:

    <Time Stamp> - ? [431] Populating subsystems cache... \
    <Time Stamp> - ? [432] There are 7 subsystems in the subsystems cache \
    <Time Stamp> - ? [124] Subsystem 'ActiveScripting' successfully loaded (maximum concurrency: 40)\
    <Time Stamp> - ? [124] Subsystem 'ANALYSISCOMMAND' successfully loaded (maximum concurrency: 400)\
    <Time Stamp> - ? [124] Subsystem 'ANALYSISQUERY' successfully loaded (maximum concurrency: 400)\
    <Time Stamp> - ? [124] Subsystem 'CmdExec' successfully loaded (maximum concurrency: 40)\
    <Time Stamp> - ? [124] Subsystem 'PowerShell' successfully loaded (maximum concurrency: 2)\
    <Time Stamp> - ? [124] Subsystem 'SSIS' successfully loaded (maximum concurrency: 400)\
    <Time Stamp> - ? [124] Subsystem 'TSQL' successfully loaded (maximum concurrency: 80)\
    <Time Stamp> - ! [364] The Messenger service has not been started - NetSend notifications will not be sent\
    <Time Stamp> - ? [129] SQLSERVERAGENT starting under Windows NT service control\
    <Time Stamp> - + [396] An idle CPU condition has not been defined - OnIdle job schedules will have no effect\
    <Time Stamp> - ? [110] Starting SQLServerAgent Monitor using '' as the notification recipient...\
    <Time Stamp> - ? [146] Request servicer engine started\
    <Time Stamp> - ? [133] Support engine started\
    <Time Stamp> - ? [167] Populating job cache...\
    <Time Stamp> - ? [131] SQLSERVERAGENT service stopping due to a stop request from a user, process, or the OS...\
    <Time Stamp> - ? [134] Support engine stopped\
    <Time Stamp> - ? [197] Alert engine stopped\
    <Time Stamp> - ? [168] There are 4731 job(s) [0 disabled] in the job cache\
    <Time Stamp> - ? [170] Populating alert cache...\
    <Time Stamp> - ? [171] There are 0 alert(s) in the alert cache\
    <Time Stamp> - ? [149] Request servicer engine stopped\
    <Time Stamp> - ? [248] Saving NextRunDate/Times for all updated job schedules...\
    <Time Stamp> - ? [249] 0 job schedule(s) saved\
    <Time Stamp> - ? [127] Waiting for subsystems to finish...\
    <Time Stamp> - ? [128] Subsystem 'ActiveScripting' stopped (exit code 1)\
    <Time Stamp> - ? [128] Subsystem 'ANALYSISCOMMAND' stopped (exit code 1)\
    <Time Stamp> - ? [128] Subsystem 'ANALYSISQUERY' stopped (exit code 1)\
    <Time Stamp> - ? [128] Subsystem 'CmdExec' stopped (exit code 1)\
    <Time Stamp> - ? [128] Subsystem 'PowerShell' stopped (exit code 1)\
    <Time Stamp> - ? [128] Subsystem 'SSIS' stopped (exit code 1)\
    <Time Stamp> - ? [175] Job scheduler engine stopped\
    
  • Senaryo 3: Veritabanı altyapısı sunucusu, "SQLAgent - Genel Yenileyici" hizmetinden bir SQL Server işlem kimliği (SPID) görüntüler. Ayrıca, aşağıdaki iş SPID'nin giriş arabelleğinde çalışıyor olarak görüntülenir:

EXECUTE msdb.dbo.sp_sqlagent_refresh_job

Not

SPID, RUNNABLE durumundadır ve düzenli olarak bekleme türünü bekler PREEMPTIVE_OS_LOOKUPACCOUNTSID veya SPID bekleme türü için ASYNC_NETWORK_IO bekleme durumundadır.

Neden

Bu sorun, SQL Server birden çok iş girdisi olduğundan oluşur.

Not

Sorun, Reporting Services Configuration Manager raporlarınız için istemeden birden çok abonelik ayarladığınızda da oluşabilir.

Geçici Çözüm

Bu sorunu geçici olarak çözmek için, gerekmeyen işleri silin.

Not

Birçok aboneliği istemeden ayarladığınız için birçok iş girişi varsa, Reporting Services Configuration Manager kullanarak gereksiz abonelikleri silin.

Daha fazla bilgi