Worker process termination warning for a recycle (IIS 6)

Posted on Updated on

When doing a recycle (scheduled or not) of an application pool it’s possible your System event log shows the following warning: “A process serving application pool ‘APPLICATION_POOL_NAME’ exceeded time limits during shut down. The process id was ‘PID’.” (Source: W3SVC; Category: None; Event ID: 1013), with APPLICATION_POOL_NAME the name of the application pool and PID the Process ID (PID) of the application pool’s worker process. Read the rest of this entry »

No user profile for IIS 6 application pool user…

Posted on Updated on

When a user has logged in, its user profile is loaded (whether it’s a local or roaming profile) and used locally. This implies the user has its own registry key under HKEY_USERS and its own subfolder under the “Documents and Settings” folder.

One day there is a problem with a .NET web application published in IIS 6. The application runs in its own application pool, so with its own worker process (w3wp.exe). Some user account is used as the application pool identity. The problem is some user-specific setting should have been retrieved from the registry, but the application doesn’t seem to do this. So let’s have a look at this setting: it’s stored under HKEY_USERS\SID (with SID being the SID of the application pool user). Read the rest of this entry »

VMware NIC en storage drivers

Posted on Updated on

There is a lot of confusion about which NICs can be chosen for virtual machines (VMs) in VMware. I would like to give an overview for ESX 3.5.0 (with Update 4 & build-207095, but I suppose this also counts for other builds, especially for those in the “Update 4 range”).

When you create a VM you get the question which OS you will install. The choice you make heere has an influence on which kind of (virtual) devices can be used for the VM. The following list illustrates which NICs can be chosen and used, based on which Windows version you have selected. Read the rest of this entry »

System doesn’t become a member of a WSUS group

Posted on Updated on

Possibly you have some computer systems you don’t get into one of your WSUS groups, not even in the default “Unassigned Computers” group. Ofcourse you have checked if the Windows Update Agent (WUA) refers to the right WSUS server and yes, the Automatic Updates service is up and running. You have run the following commands:
wuauclt.exe /detectnow
wuauclt.exe /update
and perhaps many, many others. Read the rest of this entry »

The Windows memory architecture – part 1: the basics

Posted on Updated on

Most IT professionals dealing with Windows in a decent way have already heard of terms like “virtual memory”, “physical memory”, “working set”, “reserving memory”, “committed memory”, “page file”, “swapping”, “regions”, etc. I can imagine that most of them don’t really know what this is all about. Okay, the difference between physical and virtual memory and the meaning of a page file are probably quite understood, but is everybody really knowing what they are talking about? Do they really know, for instance, what a page file is for, how it is organized, how it is used, how the system behaves if it exists (or doesn’t exist),…? I seriously have my doubts. And I’m sure that those other dirty words like “working set”, “committed memory” and “data alignment” were, are and will be ignored when met. Well, it shouldn’t be like this: understanding how memory works, especially at the OS level, is important, whether you are a system administrator/engineer/architect, a developer or another kind of IT pro. You can improve performance, fine-tune applications and systems, troubleshoot so much easier and faster and control your environment so much better if you understand how this key part of your machine works and behaves. And it shouldn’t be that difficult: read, learn and, yes, have a better life (no, I promise you it won’t be the opposite!). Read the rest of this entry »