如何修复“No Suitable Nodes”错误?

时间:2022-11-07 19:07:30

I have a site with an image uploader, and whenever a user tries to upload an image, they are getting this error message:

我有一个带有图片上传器的网站,每当用户尝试上传图片时,他们都会收到以下错误消息:

"No suitable nodes are available to serve your request."

“没有合适的节点可用于满足您的要求。”

I've contacted the hosting company(mosso) and they have said that it is nothing on their end. Any idea what causes this issue, and what I can do to fix it?

我已经联系了托管公司(mosso),他们说他们没有任何结果。知道是什么导致了这个问题,我能做些什么来解决它?

4 个解决方案

#1


I'm pretty sure it's a problem for your hosting company, as it has something to do with clustered servers.

我很确定这对您的托管公司来说是一个问题,因为它与群集服务器有关。

#2


There are several reasons that you might receive the "no suitable nodes" error regarding requests. A fuller discussion of this problem is at http://nosuitablenodes.com. Here's a summary:

有几个原因导致您收到有关请求的“无合适节点”错误。有关此问题的更全面讨论,请访问http://nosuitablenodes.com。这是一个总结:

First, this is an error message from a load balancer used to direct traffic to available backend servers for your site. It means no backend resources are available to produce the content requested. This is a default message basically meaning the site is currently unavailable.

首先,这是来自负载均衡器的错误消息,用于将流量定向到您站点的可用后端服务器。这意味着没有可用于生成所请求内容的后端资源。这是默认消息,基本上意味着该站点当前不可用。

Think about your site's resources. Static HTML? Scripting language that creates the page content on the fly? DB-backed website? At each level there are resources that can cause a load balancer (that produced the error message) to time out and return this message.

想想您网站的资源。静态HTML?用于动态创建页面内容的脚本语言? DB支持的网站?在每个级别,都有资源可以导致负载均衡器(产生错误消息)超时并返回此消息。

What can you do? (The real question!)

你能做什么? (真正的问题!)

First, contact the system administrator for your site. The system administrator with access to the load balancer will be able to pinpoint the service that is causing the error condition.

首先,与您的站点的系统管理员联系。有权访问负载均衡器的系统管理员将能够查明导致错误情况的服务。

As the site owner you can do a few things to remedy this condition yourself. Add more resources behind the load balancer (for hosted sites, this may be beyond your control) If you are not in control of the resources (i.e., you are using a hosting provider): Determine the actual cause and then for:

作为网站所有者,您可以自己做一些事情来解决这个问题。在负载均衡器后面添加更多资源(对于托管站点,这可能超出您的控制范围)如果您无法控制资源(即,您正在使用托管服务提供商):确定实际原因,然后:

  1. Web Server) Optimize the configuration to support more connections
  2. Web服务器)优化配置以支持更多连接

  3. File system/server) Move static content to a CDN, using byte-code caching in your scripting engine to reduces disk reads
  4. 文件系统/服务器)使用脚本引擎中的字节码缓存将静态内容移动到CDN,以减少磁盘读取

  5. Scripting engine) Optimize scripting engine to use byte-code caching
  6. 脚本引擎)优化脚本引擎以使用字节码缓存

  7. Database) optimize queries or move to a dedicated database instance
  8. 数据库)优化查询或移动到专用数据库实例

  9. Remote resources) minimize dependencies on remote resources, or optimize them, if possible
  10. 远程资源)尽可能减少对远程资源的依赖性,或优化它们

#3


You need to implement a progress bar of some sort. They have their idle timeout set low enough that uploads fail without some constant feedback.

您需要实现某种进度条。他们将空闲超时设置得足够低,上传失败而没有一些持续的反馈。

#4


It is a very annoying issue. Make sure to join the others and vote for solving the problem at the new Rackspace Cloud's issue list: http://feedback.rackspacecloud.com/forums/71021-product-feedback/suggestions/997177-eliminate-the-dreaded-no-suitable-nodes-error?ref=title

这是一个非常烦人的问题。确保加入其他人并投票解决新Rackspace Cloud问题列表中的问题:http://feedback.rackspacecloud.com/forums/71021-product-feedback/suggestions/997177-eliminate-the-dreaded-no-合适的节点错误?REF =标题

#1


I'm pretty sure it's a problem for your hosting company, as it has something to do with clustered servers.

我很确定这对您的托管公司来说是一个问题,因为它与群集服务器有关。

#2


There are several reasons that you might receive the "no suitable nodes" error regarding requests. A fuller discussion of this problem is at http://nosuitablenodes.com. Here's a summary:

有几个原因导致您收到有关请求的“无合适节点”错误。有关此问题的更全面讨论,请访问http://nosuitablenodes.com。这是一个总结:

First, this is an error message from a load balancer used to direct traffic to available backend servers for your site. It means no backend resources are available to produce the content requested. This is a default message basically meaning the site is currently unavailable.

首先,这是来自负载均衡器的错误消息,用于将流量定向到您站点的可用后端服务器。这意味着没有可用于生成所请求内容的后端资源。这是默认消息,基本上意味着该站点当前不可用。

Think about your site's resources. Static HTML? Scripting language that creates the page content on the fly? DB-backed website? At each level there are resources that can cause a load balancer (that produced the error message) to time out and return this message.

想想您网站的资源。静态HTML?用于动态创建页面内容的脚本语言? DB支持的网站?在每个级别,都有资源可以导致负载均衡器(产生错误消息)超时并返回此消息。

What can you do? (The real question!)

你能做什么? (真正的问题!)

First, contact the system administrator for your site. The system administrator with access to the load balancer will be able to pinpoint the service that is causing the error condition.

首先,与您的站点的系统管理员联系。有权访问负载均衡器的系统管理员将能够查明导致错误情况的服务。

As the site owner you can do a few things to remedy this condition yourself. Add more resources behind the load balancer (for hosted sites, this may be beyond your control) If you are not in control of the resources (i.e., you are using a hosting provider): Determine the actual cause and then for:

作为网站所有者,您可以自己做一些事情来解决这个问题。在负载均衡器后面添加更多资源(对于托管站点,这可能超出您的控制范围)如果您无法控制资源(即,您正在使用托管服务提供商):确定实际原因,然后:

  1. Web Server) Optimize the configuration to support more connections
  2. Web服务器)优化配置以支持更多连接

  3. File system/server) Move static content to a CDN, using byte-code caching in your scripting engine to reduces disk reads
  4. 文件系统/服务器)使用脚本引擎中的字节码缓存将静态内容移动到CDN,以减少磁盘读取

  5. Scripting engine) Optimize scripting engine to use byte-code caching
  6. 脚本引擎)优化脚本引擎以使用字节码缓存

  7. Database) optimize queries or move to a dedicated database instance
  8. 数据库)优化查询或移动到专用数据库实例

  9. Remote resources) minimize dependencies on remote resources, or optimize them, if possible
  10. 远程资源)尽可能减少对远程资源的依赖性,或优化它们

#3


You need to implement a progress bar of some sort. They have their idle timeout set low enough that uploads fail without some constant feedback.

您需要实现某种进度条。他们将空闲超时设置得足够低,上传失败而没有一些持续的反馈。

#4


It is a very annoying issue. Make sure to join the others and vote for solving the problem at the new Rackspace Cloud's issue list: http://feedback.rackspacecloud.com/forums/71021-product-feedback/suggestions/997177-eliminate-the-dreaded-no-suitable-nodes-error?ref=title

这是一个非常烦人的问题。确保加入其他人并投票解决新Rackspace Cloud问题列表中的问题:http://feedback.rackspacecloud.com/forums/71021-product-feedback/suggestions/997177-eliminate-the-dreaded-no-合适的节点错误?REF =标题