导致公共服务瘫痪是是什么罪_为什么您的云存储使您的系统瘫痪,以及您可以采取什么措施...

导致公共服务瘫痪是是什么罪_为什么您的云存储使您的系统瘫痪,以及您可以采取什么措施...

导致公共服务瘫痪是是什么罪

导致公共服务瘫痪是是什么罪_为什么您的云存储使您的系统瘫痪,以及您可以采取什么措施...

We love our cloud storage, and we use Dropbox or OneDrive for almost all our cloud storage needs. Both these have a problem however, they’ve got a hankering for system memory and if left unattended, can bring even the beefiest systems to their knees.

我们热爱我们的云存储,并且几乎可以满足所有云存储需求,都使用Dropbox或OneDrive。 但这两个都有问题,他们渴望系统内存,如果不加注意,它们甚至可以使最强大的系统屈服。

Let us paint you a scenario. We have a brand new PC decked out with a fast Intel CPU, the latest graphics card, and most importantly, 16 GB of RAM. By all accounts, it should be able to handle almost anything we throw at it: compression, rendering, and of course, games.

让我们为您描绘一个场景。 我们有一台全新的PC,配备了快速的Intel CPU,最新的图形卡,最重要的是16 GB的RAM 。 从所有方面来看,它应该能够处理几乎所有我们要扔给它的东西:压缩,渲染,当然还有游戏。

Over the course of time we’ve accumulated a considerable amount of stuff, be it music, television shows, movies, and on and on. All these files are stored on hard drives, which if synced with the cloud would mean that we not only have all this stuff backed up, but any changes we make, files added or moved, will be then mirrored on the cloud.

随着时间的流逝,我们已经积累了很多东西,包括音乐,电视节目,电影等等。 所有这些文件都存储在硬盘中,如果与云同步,则意味着我们不仅备份了所有这些东西,而且我们所做的任何更改,添加或移动的文件都将被镜像到云中。

Simple enough, this is how cloud storage works, but here we’re taking it to its logical extreme: if we have a terabyte of cloud storage, and we have a terabyte of local archive storage, there’s no reason not to devote that drive as our local cloud backup.

这很简单,这就是云存储的工作方式,但是在这里我们将其推向逻辑极限:如果我们有1TB的云存储,而我们有1TB的本地存档存储,则没有理由不将驱动器专门用于我们的本地云备份。

云盘问题 (The Problem with Your Cloud Drive)

The problem with a service such as Dropbox is that as it syncs, it gradually gobbles up more and more RAM. Here’s how Dropbox themselves explain it:

诸如Dropbox之类的服务的问题在于,随着同步,它逐渐吞噬越来越多的RAM。 这是Dropbox自己的解释方式:

Dropbox stores metadata on your files in RAM to prevent constant and expensive database lookups while syncing. The metadata includes paths to files in your Dropbox, checksums, modification times, etc.

Dropbox将元数据存储在RAM中的文件上,以防止同步时不断且昂贵的数据库查找。 元数据包括Dropbox中文件的路径,校验和,修改时间等。

Basically, what this means is that if you have a large Dropbox (or OneDrive) with tens or hundreds of gigs of files, then as Dropbox syncs all those files to your local drive, it will cache information about each and every file to system memory.

基本上,这意味着如果您的大型Dropbox(或OneDrive)具有数十或数百GB的文件,则当Dropbox将所有这些文件同步到本地驱动器时,它将把每个文件的信息缓存到系统内存中。

Let’s show you what we mean. Here’s our system after a restart.

让我们向您展示我们的意思。 这是重启后的系统。

导致公共服务瘫痪是是什么罪_为什么您的云存储使您的系统瘫痪,以及您可以采取什么措施...

Here’s our system just a few hours later.

几个小时后,这就是我们的系统。

导致公共服务瘫痪是是什么罪_为什么您的云存储使您的系统瘫痪,以及您可以采取什么措施...

Eventually, in use RAM on our system will increase until 99 percent (15.8 GB) is used, which renders it useless.

最终,在使用中,我们系统上的RAM将增加,直到使用了99%(15.8 GB),这使它无用。

At this point, even restarting the computer is difficult. Our mouse pointer is significantly delayed, and mouse clicks won’t immediately register (if at all). Often the easiest and quickest fix is to do a hard restart, either by holding down the power button until the computer shuts off or using the reset button, if you have one.

此时,即使重新启动计算机也很困难。 我们的鼠标指针明显延迟,并且鼠标单击不会立即注册(如果有的话)。 通常,最简单,最快的解决方法是进行硬重启,方法是按住电源按钮直到计算机关闭,或者使用重设按钮(如果有)。

Obviously this is a terrible solution especially if you’re worried about losing work, so really the only way to prevent it is to try to reboot it gracefully, or do so at regular intervals so it remains usable.

显然,这是一个糟糕的解决方案,尤其是在您担心丢失工作的情况下,因此,防止出现故障的唯一方法就是尝试正常地重新引导它,或者定期进行重新引导,以使其保持可用状态。

If you suspend your cloud service and leave your computer alone for a time, your RAM should eventually be freed allowing you to use it again, but this won’t happen instantly and thus, isn’t going to work for people who need to use their computers right now.

如果您暂停了云服务并让计算机呆了一会儿,则最终应释放RAM以允许您再次使用它,但这不会立即发生,因此不适用于需要使用的用户。他们的计算机。

In any case, to maintain a 1:1 copy of your cloud drive locally, you will have to first deal with lengthy uploads (assuming you’re not a super fast fiber connection) where you initially upload your data. Thereafter, if your old local cloud drive crashes or you decide to create a new one, then you could simply make a copy of it, or allow all that data to re-download, which as we said will decimate your system RAM over time.

无论如何,要在本地维护1:1的云驱动器副本,您首先必须在最初上传数据的地方处理冗长的上传 (假设您不是超快速光纤连接)。 此后,如果您的旧本地云驱动器崩溃或您决定创建一个新的本地云驱动器,则可以简单地对其进行复制,或者允许所有数据重新下载,正如我们所说,随着时间的流逝,这将减少系统RAM。

想要:优雅的解决方案 (Wanted: An Elegant Solution)

There doesn’t appear to be a simple solution to this other than regular restarts. If you leave your computer on all night and let it download your cloud drive’s contents, you will most likely return to an unresponsive system in the morning. If you want to work during the day while your cloud drive syncs to its local drive, over time it will become more and more bogged down.

除了定期重新启动外,似乎没有其他简单的解决方案。 如果您整夜不使用计算机并让其下载云驱动器的内容,则很可能会在早上返回无响应的系统。 如果您想在白天将您的云驱动器同步到本地驱动器上工作,那么随着时间的流逝,它将变得越来越困难。

The fact is, there’s no truly elegant solution to freeing up RAM. As we’ve pointed out previously, memory optimizers are pretty useless, so we don’t recommend any. That means you’re simply left to deal with this problem where the only real, practical solution is to either suspend your cloud service and let things return to normal, or reboot and start fresh.

事实是,没有真正优雅的解决方案来释放RAM。 正如我们之前指出的那样, 内存优化器是毫无用处的 ,因此我们不建议使用。 这意味着您只需要解决这个问题,唯一真正可行的解决方案是挂起您的云服务并让一切恢复正常,或者重新启动并重新开始。

That said, perhaps you have a solution we haven’t thought about. We’d like to hear from you about this problem. Please sound off in our discussion forum and leave us your feedback.

就是说,也许您有一个我们未曾考虑过的解决方案。 我们希望收到您关于此问题的消息。 请在我们的论坛上发表意见,并留下您的反馈意见。

翻译自: https://www.howtogeek.com/217854/your-cloud-storage-is-bringing-your-system-to-its-knees.-what-you-can-do-about-it/

导致公共服务瘫痪是是什么罪