Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Web Farm IssuesWeb Farm Issues
Previous
 
Next
New Post
9/16/2008 5:08 PM
 

Mithcell,

If it weren't for you, I wouldn't have had DNN installed yet! Just following your example and sharing what I learned the hard way!

 
New Post
9/17/2008 12:16 PM
 

I only have production servers in the servers table. However some of them have a last poll date that is a day or more old. Do you know what updates the lastpolldate field?

 

Thanks

Brad

 
New Post
9/17/2008 10:10 PM
 

My first thought on this is you should clear the cached objects, Broadcasts, and Server table. See if the two production servers show up. Then monitor the table to see if the poll date is getting updated. If not, then your cache will continue to grow out of control. Basically, the query that purges the broadcasts table deletes the records older than the minimum last poll date of the servers table. So if your Last Poll dates on your servers are not being updated, then your broadcasts table will keep growing. I believe it is in the broadcastpollingprovider code wher the lastpolldate is updated. I am away from my code so I will have to check into it when I get back to my desk. 

Another item to check is your scheduled task. Make sure it is set to every 30 seconds and is indeed enabled. Ensure that you leave the field blank where you specify which server to run it on so as you run on both.

Maybe the above will get you working. Please let me know if you do or don't.

 
New Post
9/18/2008 11:27 AM
 

James

Thanks for the quick response. An update on our situation; Sometimes the lastpolldate gets updated for some of the servers and not others. Actually we have 4 web servers. I did as you suggested and cleared out the servers, broadcasts (did not have to clear the cached objects table as there is never any records in that table. I am not sure if that is good or bad). After I cleared the tables it seems to have started working again, with 2 quirks. One is that in the servers table the lastpolldate field sometimes gets stuck at an old date for some of the servers. Second, if I set the scheduled task to blank so it runs on all 4 servers, my SQL server imeadialty goes to 100% cpu utilization and stays there, when looking at the connections to SQL I see lots of connections trying to run the getschedulenexttask stored proc, (this makes the site unusable). If I set it to only run on one of the webservers the CPU drops to normal usage (4 to 5%).

Any thoughts or ideas are helpful. Thank you so much for all your help thus far!

Brad

 
New Post
9/19/2008 9:03 AM
 

Sorry for the delay, I have just been trying to think about your situation. One thought of what may be causing some of the server's lastpolldate to not be updating could be related to the site being shut down due to inactivity. If the application is not running on a particular box, then the scheduled task are not running. For more information on the ASP.net worker process and its effect on DNN, please go to Mitchel Sellers great blog post:

By default IIS will shut down the ASP.NET worker process after 20 minutes of inactivity meaning that the next request will restart the worker process and cause the compilation to occur.

http://www.mitchelsellers.com/blogs/articletype/articleview/articleid/103.aspx

So, one question I have is whether or not you are experiencing traffic on all of the servers? Can you view the site log and see if the application is shutting down at all? You might want to have a keep alive to rememdy.

Also, your posted on the following thread ( http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/108/threadid/178701/scope/posts/Default.aspx ), that the broadcastpollingprovider is not keeping your files in sync. I do not think that is a function of the provider. The provider is handling cache. You might try running the syncronize files option in the file manager checking the recursive box once the files have been transfered. I don't really know if that will fix the problem you are describing, but it is worth a try.

Hopefully this will give you some things to try. Good luck!

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Web Farm IssuesWeb Farm Issues


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out