Unexpected core service failure: FTP Server could not create a client worker thread for user. The connection to this user is terminated. Monitor

  • ID:  Unexpected_core_service_failure__FTP_Server_could_not_create_a_client_worker_thread_for_user__The_connection_to_this_user_is_terminated__1_8_Rule.Monitor
  • Description:   
  • Target:  IIS 2003 FTP Server
  • Enabled:  On Essential Monitoring

Operational States

Name State Description
Manual Reset Success  
Config Error Warning  

Alert Details

Monitor State Message Priority Severity Auto Resolution
Config Error (Warning) Unexpected core service failure FTP Server could not create a client worker thread for user The connection to this user is terminated Low Warning Yes

Run As Profiles

Name
Default

Monitor Knowledgebase

Summary

The connection to an FTP client has been stopped.

Causes

The FTP service could not create a client thread for the user. If the home directory is located on a universal naming convention (UNC) share and if you are using Anonymous authentication, the operating system might have reached the maximum number of server message block (SMB) items and cannot create a thread for the user.

Resolutions

To resolve this issue execute the following steps:

You should be able to resolve this problem by configuring IIS to cache the anonymous home directory handle, which reduces the number of SMB items on the server and preserves threads.

Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.

To enable IIS to cache the anonymous home directory handle, create the following keys in the registry:

1. From the Start menu, click Run.

2. In the Open box, type Regedit.exe, and click OK.

3. Navigate to and double-click the following key in the registry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\InetInfo\Parameters

4. From the Edit menu, point to New, and then click Key. To create the new key, do the following:

5. Type the following name: CacheAnonymousHomeDirInfo

6. Right-click the CacheAnonymousHomeDirInfo key, point to New, and then click DWORD value. A new DWORD value appears in the right pane of Registry Editor.

7. Right-click the new DWORD value and click Modify. The Edit DWORD Value box appears.

8. In the Value data box, type 1 (or any non-zero numeric value).

9. Navigate to and double-click the following key in the registry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\InetInfo\Parameters

10. From the Edit menu, point to New, and then click Key. To create the new key, do the following:

11. Type the following name: AnonymousHomeDirInfoInterval

12. Right-click the AnonymousHomeDirInfoInterval key, point to New, and then click DWORD value. A new DWORD value appears in the right pane of Registry Editor.

13. Right-click the new DWORD value and click Modify. The Edit DWORD Value box appears.

14. In the Value data box, type the value that you want.

This value, in seconds, specifies how long the cached handle for the anonymous home directory should be used. The default value is 10.

15. Navigate to and double-click the following key in the registry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\InetInfo\Parameters

16. From the Edit menu, point to New, and then click Key. To create the new key, do the following:

17. Type the following name: AnonymousHomeDirInfoGrace

18. Right-click the AnonymousHomeDirInfoGrace key, point to New, and then click DWORD value. A new DWORD value appears in the right pane of Registry Editor.

19. Right-click the new DWORD value and click Modify. The Edit DWORD Value box appears.

20. In the Value data box, type the value that you want.

This value, in seconds, specifies the grace period, or the length of time that the FTP service will serve the cached handle for the Home directory. The grace period ensures that new anonymous connections can access the cached handle even if AnonymousHomeDirInfoInterval has expired and a new handle is being cached. The default value is 1.

21. Quit Registry Editor and restart the FTP service.

External References
This monitor does not contain any external references.

See Also for Windows Internet Information Services Management Pack


Downloads for Windows Internet Information Services Management Pack

AZURE OPTIMIZATION ASSESSMENT GET STARTED
MIGRATION TO AZURE GET STARTED
SYSTEM CENTER MIGRATION TO AZURE GET STARTED
MIGRATION TO AZURE FOR SQL AND WINDOWS 2008 GET STARTED