No Suitable Nodes - Rackspace Hosting

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
2/25/2011 7:22:13 AM
Gravatar
Total Posts 18409

Re: No Suitable Nodes - Rackspace Hosting

Do you still have the search index disabled? If not then each time you edit it is trying to update the search index and it sounds like the search index does not work well in the Rackspace cloud.

Hope it helps,

Joe

2/25/2011 7:45:16 AM
Gravatar
Total Posts 165

Re: No Suitable Nodes - Rackspace Hosting

Hey Joe,

I still have  <add key="DisableSearchIndex" value="true" /> in the web.config.

Mark

3/8/2011 1:10:15 PM
Gravatar
Total Posts 18409

Re: No Suitable Nodes - Rackspace Hosting

Hi Mark,

One more thing I thought of that you could try.

The SearchIndex uses XmlSerialization as does our TaskQueue system, basically objects are serialized to xml string and stored in the database then processed and de-serialized from xml back into objects.

In .NET XmlSerialization temporary classes are compiled, by default they would be compiled down below the Windows directory but in some hosting environments that poses a problem. There is a way that you can make it compile temporary classes in the /Data folder instead by this which is commented out at the very bottom of Web.config

<!-- the below example can be useful if you encounter the error described in this post
  http://www.mojoportal.com/Forums/Thread.aspx?thread=6741&mid=34&pageid=5&ItemID=3&pagenumber=1#post27613
  -->
  <!--
  <system.xml.serialization>
    <xmlSerializer tempFilesLocation="D:\__projects\mojoportal\__code\joedev\Web\Data"/>
  </system.xml.serialization>
  -->

but to use it you would need to know the server file system path that maps to /Data in your site. I'm not sure if it is possible with Rackspace Cloud but if it is and if you can find out the path, you could try uncommenting that and put in the path. If that gets rid of all the node not available errors then you could try re-enabliing the search index.

Hope it helps,

Joe

3/13/2011 4:29:56 PM
Gravatar
Total Posts 165

Re: No Suitable Nodes - Rackspace Hosting

Hey Joe,

Rackspace supplied me with the path for the correct location, however when I un-comment that section in the web.config and place in the updated path and loadup it to the site, it supplies a .net config error and the site will not load.

Mark

4/5/2011 8:44:43 PM
Gravatar
Total Posts 165

Re: No Suitable Nodes - Rackspace Hosting

Hey Joe,

Some new information from Rackspace:  When I get the No Suitable Nodes message they have found that the code is locking one of the worker processes.  They are still researching it, but wanted you to know.

Mark

4/6/2011 7:16:31 AM
Gravatar
Total Posts 18409

Re: No Suitable Nodes - Rackspace Hosting

Let me know if you get more details.

One thing I would recommend is don't use the AppKeepAlive with RackSpace Cloud. I updated this article yesterday with a link to a free service that monitors site uptime and this can also serve the same purpose to keep the site awake. The AppKeepAlive could be a factor in the problems you've had so eliminating it would be good.

Best,

Joe

4/8/2011 12:21:29 PM
Gravatar
Total Posts 165

Re: No Suitable Nodes - Rackspace Hosting

Hey Joe,

Wanted to give you an update, I turned off the keepalive in the config and added the web service you talked about.  However after I removed the keepalive and added the web service I started to receive the following on three of the pages:  (it has stopped, just does not make since)

It was happening on the contact-us, and the sign in page.

 

Server Error in '/' Application.
------------------------------------

--------------------------------------------

Execution permission cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Policy.PolicyException: Execution permission cannot be acquired.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario. 

Stack Trace:


[PolicyException: Execution permission cannot be acquired.]
   System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +7606504
   System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +57

[FileLoadException: Could not load file or assembly 'Brettle.Web.NeatHtmlTools, Version=1.0.2979.14781, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
   System.Reflection.Assembly.Load(String assemblyString) +28
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46

[ConfigurationErrorsException: Could not load file or assembly 'Brettle.Web.NeatHtmlTools, Version=1.0.2979.14781, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
   System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +29
   System.Web.Compilation.CompilationUtil.GetTypeFromAssemblies(AssemblyCollection assembliesCollection, String typeName, Boolean ignoreCase) +132
   System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +291
   System.Web.UI.Page.get_ScriptManagerType() +44
   System.Web.UI.Page.get_IsPartialRenderingSupported() +61
   System.Web.UI.WebControls.ValidationSummary.OnPreRender(EventArgs e) +257
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6741
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
   System.Web.UI.Page.ProcessRequest() +80
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.default_aspx.ProcessRequest(HttpContext context) +4
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209 

 

4/10/2011 2:34:23 PM
Gravatar
Total Posts 165

Re: No Suitable Nodes - Rackspace Hosting

Hey Joe,

Here's some additional information from Rackspace:

 

There appears to be a condition in which your application pool crashes, but does not end. The worker process locks up, spawns another process, but the old worker does not end. If you have tested you app in your local environment, you may see the same warning for Event ID 5011

We have not been able to recreate the condition to have stray worker processes, but it looks like it could be in the code of one or more of the apps on the sites. If you have a way to replicate the issue more reliably, then we can run a few tests before crash time to see what might be the cause.

Also, you may want to load the code into visual studio so it can debug any errors before uploading the code.

Let us know if you have any other troubleshooting steps for your site.

Kind Regards,

David Tsai
Rackspace Cloud Sites

4/10/2011 3:33:40 PM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: No Suitable Nodes - Rackspace Hosting

Hi Mark

but it looks like it could be in the code

No Way!  This is an "I don't know, so I'll blame the code response".  I've heard it before.

Take no offense to my response here.  I admire your fighting spirit!!!

But...  you have been fighting this for 75 days now.  How much is your time worth?

I have hosted a dozen mojoPortal Websites with 4 different hosting companies in the last 2 years and they worked perfect with all.  I also write custom mojoPortal features for my employer using mojoPortal ASP.NET C# code.  MojoPortal code does not have a code problem and if it does, Joe could fix it in 5 minutes.

Get a refund from Rackspace and then click one of the links at the bottom of this page for i7media or Arvixe.

Your mojoPortal Website will then be up and running perfect in a few hours and you will be a happy man.

Just my 2 cents worth.

Rick

4/11/2011 7:22:09 AM
Gravatar
Total Posts 18409

Re: No Suitable Nodes - Rackspace Hosting

I don't doubt that the Rackspace guys are trying very hard to help, but I'm not encountering event id 5011 in logs on my server nor my local machine nor do I encounter such errors while debugging.

I think the bottom line is that the "Rackspace Cloud" is a form of Web Farm and mojoPortal is not currently designed for Web Farms in general and I have never claimed it was web farm ready. There are lots of variations on web farm implementation and clouds these days and I recognize that there is small but growing demand from mojoPortal users to be able to use mojoPortal in a variety of Web Farm scenarios. It is a goal for the project to be able to do this but we simply are not there yet and I'm not sure how soon we will be there, so using mojoPortal in a web farm today is not officially supported though in some cases people manage to do it.

When I do get to focusing on and working on Web Farm support I will start with targeting more traditional style web farms using the Microsoft Web Farm Framework and probably follow up after that with support for Windows Azure. I think solving the challenges for those environments will probably also make it possible to use other environments since some of the challenges are similar across different styles of web farms, but there can still be some differences or issues in any variation of web farm environment beyond those that we actually test. I don't currently know anything about the architecture of the Rackspace Cloud.

I would say though that the vast majority of web sites do not need a web farm environment and the vast majority of mojoPortal users will never use a web farm therefore it has not been my top priority. Web Farm hosting is generally more expensive and is a more complex environment. I would not currently recommend anyone to install mojoPortal in a web farm since it is not designed for that currently, but especially for sites that do not get that much traffic you are better off with more traditional hosting that mojoPortal is designed for and it is less expensive and less complex and you will not encounter the problems like you are encountering with trying to use mojoPortal in the Rackspace cloud.

Best,

Joe

4/11/2011 8:29:11 AM
Gravatar
Total Posts 165

Re: No Suitable Nodes - Rackspace Hosting

First let me address Rick... I was not saying mojoPortal was the issue, Joe and I have been working back and forth on this issue and he asked that I supply him with all information that came out of my research with Rackspace.  I agree with you Rick, Joe is the best at address something that is truly a mojoPortal issue, if one is found.

Second,  Joe...

Thank you for your information about the web farms, I like being on the cutting edge, ok may be not, but right now Rackspace is what I have, currently there is no place that can bet the pricing I have with them for what I receive, and I do get great support with them, they have not closed the ticket on the issues and are still working with me on a daily bases to find a solution.

Thanks again and like always will keep you posted on the updates.

Mark

You must sign in to post in the forums. This thread is closed to new posts.