W2K Server: Desktop heap problem..

  • Thread starter Thread starter Anand
  • Start date Start date
A

Anand

Hi,
I have a web application where the middler tier spawns processes for
each client.
I am running this on a 4CPU, 4GB, W2K Server (with 4 GB swap) and has
about 60GB free space with Terminal services.

The problem is when i try to stress the system (load the system) I am unable
to go beyond certain point..
Increasing the Desktop Heap value to a higher value (gradually increased)
has no effect. It stops at the same point irrespective of what the desktop
heap value...
(from 1MB to 8MB no difference.. didn't try beyond that.. anything less than
1 MB reduces the number of processes to further down)
I also found that W2K with Terminal Server reduces the desktop heap to 20MB
so i uninstalled Terminal Services..
[Though *i think* it's not fully un-installed.. i can see some hidden
drivers TD* still present in the system.. i am not sure whether to uninstall
this or not]

When i said middle tier stops.. the middle tier tries to spawn a new process
for the request and it comes back with "Unable to Initialze.." popup message
in the event log.
I also notice at this time around my VNC (I am remotly connected to that
machine) goes wierd.. (all displays go wierd) and works fine once the
number of processes reduces..
[I also tried running this through the command prompt instead of service..
still same symptom..]

My other registery values are default. (Apart from the desktop heap and
extra swap tweaking in the Memory Management)

None of the other resources (which i can monitor) seems low.
At the time when the middle tier stops responding:-
Handles: 75000+, Threads:2600+, Processes:160,
Physical Mem: 4GB, Available: 1GB, System Cache: 356MB,
Commit Charge: 3.2GB, (Limit: 8GB), Peak:3.2GB
Kernel Mem: Total:143MB, Paged:76MB, Nonpaged:66MB

[Also Since this being W2KServer there's no /3GB switch in the boot.ini]
The client talks to the middle tier using RMI which simply fwds the
requests to the spawned process using corba. The whole of the middle tier
runs as a process.

Any pointers to this will be greatly appreciated

regards
Anand
 
Back
Top