Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / December 2005

Tip: Looking for answers? Try searching our database.

Problem with cache on some web servers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Patrik - 10 Dec 2005 15:45 GMT
Hello!

We run a web site where we currently have 10 web servers.

We have built a synchronized cache that works like this.

All servers store its own cache and gets the data from the data source. We
always set a absolute expiration date when we add the cache item. Along with
this we add a cache dependency against a file on a server that all webservers
have access to.

When a new post is made and its time to invalidate all the other webservers
cache the webserver just makes an update to the file. In that way all the
webservers have the latest information and this works really good. We have
been using it for several month.

Now suddenly we are occuring some problems. One or two webservers suddenly
stops to invalidate the cache. So its only when someone posts a message from
the webserver that is not working that an update will be made. The problem is
that not even the absolut expiration is working either. And after someone
have removed the cache item and added it again (like all webservers do
(running on same code)), it still wont start to work.

To make it work again we have to make an iisreset.

Then it will work for a couple of days (2-3 days or so).

We have never been able to reproduce this in our development environment. So
my question is, what is my next step in the search of the error?

Any suggestions is apreciated!

Thanks in advance!
[MSFT] - 12 Dec 2005 01:54 GMT
Hello,

Instead of an iisreset, will it also fix the problem if you reset the
application pool? If so, you may create a single app pool for this
application to see if this will help. Also, when the problem happened, you
may check the memory usage for the process, did  the recycle worked
correctly?

Luke
Patrik - 12 Dec 2005 09:48 GMT
Hi!

We already run the application within our own created app pool.

I will try to see if I can find out if the recycle worked correctly.

> Hello,
>
[quoted text clipped - 5 lines]
>
> Luke
Patrik - 12 Dec 2005 12:20 GMT
Hi!

An application pool reset did help!

I also found in the event log that an earlier recycle had failed

EventID 1074
A worker process with process id of '4092' serving application pool 'pool'
has requested a recycle because the worker process reached its allowed
processing time limit.  

Then a minute later or so this error showed up

EventID 1013
A process serving application pool 'pool' exceeded time limits during shut
down. The process id was '4092'.

I found this page
http://support.microsoft.com/default.aspx?scid=kb;en-us;821268 that probably
will help me to tune everything a bit.

Anyone have any other ideas?

By the way, it is two servers that keeps crashing. All the other 8 servers
seems to be stable, and succesful with their recycles.

One thing I noticed when comparing the servers processes was that the
working servers had a w3wp.exe-process that was below 100Mb and the other
ones that did not work were over 100Mb.. One of them took 260Mb. All of our
servers is stuffed with 2GB ram, so there are plenty of ram left.

Thanks!

> Hello,
>
[quoted text clipped - 5 lines]
>
> Luke
[MSFT] - 13 Dec 2005 03:23 GMT
So, If you disable all recyle option for the application, will this make
the app working correctly longer on the servers?

Luke

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.