Computer >> Hướng Dẫn Máy Tính >  >> Hệ Thống >> Windows 7

Lỗi Windows Update 0x80244022 và giới hạn bộ nhớ WsusPool

Tại một khách hàng, tôi gặp sự cố thú vị liên quan đến cài đặt cập nhật trên client Windows 7. Cập nhật phân phối qua WSUS server tích hợp trong System Center Configuration Manager (Software Update Point - SUP). SCCM server chạy Windows Server 2008 R2, WSUS 3.0 SP2. Khoảng 2.000 client Windows 7 SP1 cần cập nhật.

Client không lấy được cập nhật từ SUP, log báo lỗi 0x80244022.

Client-side WUAhandler.log:

OnSearchComplete - Failed to end search job. Error = 0x80244022.
Scan failed with error = 0x80244022.

WindowsUpdate.log:

2017-11-11 14:25:41:271 612 4858 Setup WARNING: SelfUpdate check failed to download package information, error = 0x80244022
2017-11-11 14:25:41:271 612 4858 Agent * WARNING: Skipping scan, self-update check returned 0x80244022
2017-11-11 14:25:41:271 612 4858 Agent WARNING: WU client failed Searching for update with error 0x80244022
2017-11-11 14:25:41:271 612 4abc AU # WARNING: Search callback failed, result = 0x80244022
2017-11-11 14:25:41:271 612 4abc AU # WARNING: Failed to find updates with error code 80244022

Lỗi Windows Update 0x80244022 và giới hạn bộ nhớ WsusPool

Server-side WSUSCtrl.log:

The request failed with HTTP status 503: Service Unavailable
Failures reported during periodic health check by the WSUS Server SCCM-SRV1. Will retry check in 1 minutes

Lỗi Windows Update 0x80244022 và giới hạn bộ nhớ WsusPool

→ WSUS site không phản hồi. Mở URL WSUS Admin (https://SCCM-Srv1:8530) thấy:

HTTP Error 503. The service is unavailable

Lỗi Windows Update 0x80244022 và giới hạn bộ nhớ WsusPool

Mở IIS Manager → Application Pool WsusPool đã Stopped.

Lỗi Windows Update 0x80244022 và giới hạn bộ nhớ WsusPool

Khởi động thủ công, nhưng 20-30 phút sau lại Stop. System Log có Event ID 5117 (WAS):

A worker process serving application pool 'WsusPool' has requested a recycle because it reached its private bytes memory limit

Lỗi Windows Update 0x80244022 và giới hạn bộ nhớ WsusPool

Mặc định giới hạn bộ nhớ WsusPool là 1.8 GB. Nếu vượt quá (xảy ra khi nhiều client WSUS, đặc biệt lần scan đầu), pool bị recycle. Kiểm tra tiến trình w3wp.exe — nếu vượt 1.8 GB thì process restart. Giải pháp: tăng giới hạn bộ nhớ.

Lưu ý: Vấn đề này tương tự lỗi 0x8024401C khi nhận cập nhật Windows 10 (xem bài trước).

Tăng giới hạn bộ nhớ WsusPool trong IIS Manager

  1. Mở IIS Manager → Application Pools → chuột phải WsusPool → Recycling.
  2. Tăng giá trị Private memory usage (in KB).
    Lỗi Windows Update 0x80244022 và giới hạn bộ nhớ WsusPool
  3. Khuyến nghị bắt đầu từ 3-4 GB. Trường hợp 2.000+ client, 6 GB là đủ.

Hoặc đổi trong Advanced Settings của pool, tăng Private memory usage (KB).

Lỗi Windows Update 0x80244022 và giới hạn bộ nhớ WsusPool

Restart pool bằng nút Start/Stop hoặc Recycle.

Lỗi Windows Update 0x80244022 và giới hạn bộ nhớ WsusPool

Sau đó w3wp.exe không còn tiêu thụ > 3 GB RAM. Hôm sau client bắt đầu nhận cập nhật bình thường.

Các thiết lập Advanced Settings khuyến nghị thêm

Nếu nhiều client WSUS (đặc biệt lần đầu nhận cập nhật), tăng thêm các tham số:

  • Queue Length: từ 1.000 → 25.000
  • "Service Unavailable" Response Type: từ HttpLevel → TcpLevel
  • Failure Interval (minutes): từ 5 → 30
  • Maximum Failures: từ 5 → 60

Cập nhật khuyến nghị cho WSUS

WSUS 3.0 SP2 trên Windows Server 2008 R2:

  1. KB2720211
  2. KB2734608

WSUS 4.0 trên Windows Server 2012 R2:

  • KB2919442
  • KB2919355
  • KB3095113
  • KB3159706