locked
Cluster IP breaking session RRS feed

  • Question

  • User-1933519143 posted

    I have 2 web servers which are identicaly configured ( exactly the same hardware, same system, same updates, shared IIS configuration ) and are working in Network Load Balancing. Cluster is configured to multiple host with affinity single. When I turn on both host session of ASP.NET application breaks. When I stop host 1 ( which has priority 1 ) the whole traffic goes to host 2 properly but still session breaks ( users are logged out after 2-4 clicks ), when I turn off host 2 ( which has priority 2 in NLB ) and turn on host 1 ( which has priority 1 in NLB ) everything works fast and properly, sesion doesnt break. That is very strange to me becasue one host works properly when the other breaks even that hosts are identicall. Also there is the same application code taken from shared folder by both hosts.

    I made one more try by configuring not clustered IP for the host on which application breaks ( host 2 ). When the IP is not clustered the application work properly on both hosts so it is not .NET nor system configuration.

    Please advice what to do? Do u think reconfiguring NLB can help? How to debug what is wrong? Why session breaks only on one of the hosts even there is 1 host started in NLB at a time.

    Thank you in advance for your help

    Friday, July 25, 2008 1:20 PM

All replies

  • User-1933519143 posted

    I noticed the folowing exception in system event log which is only on the server which breaks. Maybe that may be the cause but I have no idea what w3wp is looking for in registry. Even if it does why on the other server it doesnt break?

     Eescription:
    Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards. 

     DETAIL -
     5 user registry handles leaked from \Registry\User\S-1-5-21-2722109545-3954534129-2427390056-1120:
    Process 2784 (\Device\HarddiskVolume1\Windows\SysWOW64\inetsrv\w3wp.exe) has opened key \REGISTRY\USER\S-1-5-21-2722109545-3954534129-2427390056-1120
    Process 2784 (\Device\HarddiskVolume1\Windows\SysWOW64\inetsrv\w3wp.exe) has opened key \REGISTRY\USER\S-1-5-21-2722109545-3954534129-2427390056-1120\Software\Microsoft\Windows NT\CurrentVersion
    Process 2784 (\Device\HarddiskVolume1\Windows\SysWOW64\inetsrv\w3wp.exe) has opened key \REGISTRY\USER\S-1-5-21-2722109545-3954534129-2427390056-1120\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections
    Process 2784 (\Device\HarddiskVolume1\Windows\SysWOW64\inetsrv\w3wp.exe) has opened key \REGISTRY\USER\S-1-5-21-2722109545-3954534129-2427390056-1120\Software\Microsoft\Windows\CurrentVersion\Explorer
    Process 2784 (\Device\HarddiskVolume1\Windows\SysWOW64\inetsrv\w3wp.exe) has opened key \REGISTRY\USER\S-1-5-21-2722109545-3954534129-2427390056-1120\Software\Microsoft\SystemCertificates\MY

    Friday, July 25, 2008 2:42 PM
  • User-1933519143 posted

    and one more exception which may be connected to the session break ( generaly I think that it is application pool break which also cause session break - InProc session )

     Description:
    A process serving application pool 'pool' suffered a fatal communication error with the Windows Process Activation Service. The process id was '2784'. The data field contains the error number.

    Friday, July 25, 2008 2:44 PM