Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Scaling with ASP and Server Memory Issues

Thread Tools

Scaling with ASP and Server Memory Issues

Posts: n/a

I am hosting hundreds of websites on a webserver using a combination of sql
and asp.
SQL is on a different server. The web server is running win 2003 iis 6 with
a single processor and 1 GB Ram. All websites are in 1 app pool.

I find that i get out of memory errors or no new sessions are created when
the virtual bytes for an App pool starts to breach over 1500mb. So i recycle
the App pool at a limit of 1500mb.

This leads to the app pool recycling 1-2 times a day.
Typically the Private Bytes counter is saying 293mb and virtual bytes is
I don't know whether this is a leak somewhere in ASP or normal with IIS but
the virtual bytes only seems to increase over time and not stablise or go
down as i would expect when users visit and leave a website.

I have a script that i use to let uses download files from the server. It
uses the response.binarywrite method. If i download a large files (i.e. over
100mb) then i see a big jump in the virtual bytes that IIS allocates in the
w3wp.exe process. This does not appear to go down after the file has been
downloaded although Private Bytes goes up and then down initially. I was
thinking that this may be a cause of the problem?!

....or maybe it is typical for these types of large scale ASP applications?
Would increasing the main memory RAM to 2GB help in this situation. The main
Physical Memory still reports about 300mb free when i get the memory

Would it help to split the websites into a couple of different App Pools,
then increase the page file size to something larger and hence each App pool
gets to use a separate 2GB memory space? Would i benefit from moving to
Windows 64bit edition and installing more Ram and having a large Page file
to cope with the large Virtual Bytes?

Can anyone offer some guidance who have had similar issues with hosting
their sites?

Help much appreciated.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bitmap image scaling and Printer resolution C++ 1 01-02-2007 02:33 PM
Affine Transform - Negative Scaling Issues Erick Crouse Java 2 10-03-2006 09:29 AM
multidimensional scaling and locality preserving projection Java 0 12-04-2005 12:19 PM
Scaling and then saving as JPEG: wrong colors Oliver Java 8 09-22-2005 03:27 PM
Picture scaling - memory issues jonck Java 3 05-14-2005 12:05 PM