473,405 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Using Cache object hanging webserver

Hi,
I'm using the Cache object to persist some values between pages. I'm
setting the expiration for 2 minutes. I'm actually storing Bitmap streams in
the cache. In this way, one page can draw an image and store it and another
page can be responsible for streaming it to the browser.

This approach works well in that the Bitmap is correctly stored, the
other page can read the data and stream it correctly. Once streamed I do not
want to dispose of the Bitmap, I want it to persist in the Cache for the
next 2 minutes. This is because I have DHTML on my page that requests an
image multiple times.

My problem: sometimes the webserver stops servicing requests. This is
almost immediately evident on my web-hosting provider. If I run the same
code on my development box then I can duplicate the behaviour by hammering
the web-page using ACT. At various times (after 4000+ requests) the serviced
requests flat-line (i.e. nothing is serviced). At this point the web-server
stops servicing any requests.

My assumption: I assume that I am hogging resources, however, I would
expect resources used in the cache to be released. I've looked at the state
of the system using Perfmon and do not see anything that rings alarm bells.

Has anyone else experienced similar behaviour when using the Cache object?
Does anyone have any good suggestions regarding how to prevent this from
happening or concretely confirm that it is the use of the Cache object that
is causing this problem?

Thanks,
Neil
Nov 17 '05 #1
0 1164

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: bigL | last post by:
first time I post/ask something in this group here's the problem I use ASP / VBScript (we only use MS licenses) when I make some changes in a asp page and then want to see the changes I've made...
0
by: obhayes | last post by:
Hi All, Im using classic ASP (3.0) and I have a web farm with 2 webservers (webserver A and webserver B, both windows server 2003). I do not want to store any client specific information on the...
1
by: boxim | last post by:
hi all, I'm having a few problems whereby my application is hanging when using the Invoke method of a form's control. Basically, when a user clicks a button on the form, it calls a remote...
4
by: NWx | last post by:
Hi, I' trying to implement a callback method when a cache object expires I want to do this to automatically logout user after a timeout (for demo purposes) My thought is, when user logon,...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
1
by: William Sullivan | last post by:
I'm trying to nail down some issues with the cache in my application. Currently, I have an object that stands between my business logic and database logic called CacheLogic (cute, no?). ...
15
by: Joe Fallon | last post by:
I would like to know how you can figure out how much memory a given instance of a class is using. For example, if I load a collection class with 10 items it might use 1KB, and if I load it with...
2
by: addicted2rpg | last post by:
For background on this problem, see: http://support.microsoft.com/kb/q249232/ I essentially get a IHTMLWindow2 object, IHTMLDocument2 object, etc.. from an HWND of an internet explorer process. ...
1
by: Vernon Wenberg III | last post by:
I have a script that processes a lot of data. Ideally it would be run from the CLI, however I want to run it from a browser, but I don't want the browser hanging on me forcing me to restart from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.