zoukankan      html  css  js  c++  java
  • [转] Win7 文件共享报错 存储空间不足,无法处理此命令

    Win7共享,Win7访问正常,但XP偶尔碰到这个问题,有待继续观察。

    http://blog.sina.com.cn/s/blog_79c0eb8701016ajg.html

    总是遇到Win7 文件共享报错 提示一般是“存储空间不足,无法处理此命令”

     然后网络共享就打不开了 要想重新打开需要重新启动 Server服务

     虽然一直对windows的cifs共享的可靠性不抱什么希望 不过频繁的断 还是令人刚到郁闷

     今天搜索了几篇文章 照着修改了一下自己的系统 好像有点效果 正在观察中。。。

     现象

     客户端提示“存储空间不足,无法处理此命令”

     服务器端日志

    “服务器无法通过系统非页面共享区来进行分配,因为共享区当前是空的。”

    “服务器无法通过系统非页面共享区来进行分配,因为服务器已达非页面共享分配的配置极限。”

    修改2个位置

     HKLMSYSTEMCurrentControlSetControlSession ManagerMemory ManagementLargeSystemCache

    LargeSystemCache 修改为1

     HKLMSYSTEMCurrentControlSetServicesLanmanServerParametersSize

    Size修改为3

      

    官方解释键值作用

    LargeSystemCache

    Determines whether the system maintains a standard size or a large size file system cache , and influences how often the system writes changed pages to disk.

    0
     Establishes a standard size file-system cache of approximately 8 MB. The system allows changed pages to remain in physical memory until the number of available pages drops to approximately 1,000. This setting is recommended for servers running applications that do their own memory caching, such as Microsoft SQL Server, and for applications that perform best with ample memory, such as Internet Information Services.
     

    1
     Establishes a large system cache working set that can expand to physical memory, minus 4 MB, if needed. The system allows changed pages to remain in physical memory until the number of available pages drops to approximately 250. This setting is recommended for most computers running Windows 2000 Server on large networks.
     

    简单来说这个和 文件系统缓存有关  它涉及到FS CACHE和系统换页之间的平衡

    对于数据库等应用 由于cache由应用自行管理 所以这个值建议不动

    对于家用 现在大家内存都很大了 所以我个人认为 大家都应该 设置成1 这样提高性能

    当然 这个值我个人认为和网络共享好像没啥关系

    第二个值的解释

    Size entry (which is in the HKLMSYSTEMCurrentControlSetServicesLanmanServerParameters subkey)

    Option setting

    Minimize memory used      1
    Balance          2
    Maximize data throughput for file sharing    3
    Maximize data throughput for network applications 3

    这个值可能是官方偷懒没写具体机制  也可能是我没有找到  总之只有建议配置方法 

    没有详细解释

      

    另外大家还有建议修改一个值

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanServerParametersIRPStackSize

    我看了一下 这个值和Filesystem Driver 有关  我觉得和这个问题没有关系 所以没动这个值


    =========转============

    http://technet.microsoft.com/en-us/library/cc976153.aspx

    LargeSystemCache

    http://answers.microsoft.com/zh-hans/windows/forum/windows_7-networking/服务器无法/77653be4-7548-e011-8dfc-68b599b31bf5?msgId=3a306f75-a44e-e011-8dfc-68b599b31bf5

    服务器无法通过系统非页面共享区来进行分配,因为服务器已达非页面共享分配的配置极限。

    http://blog.csdn.net/ufojoan/article/details/7608716

    服务器无法通过系统非页面共享区来进行分配,因为服务器已达非页面共享分配的配置极限。

    http://support.microsoft.com/kb/232271

    如何优化 Windows NT 服务器使用注册表

  • 相关阅读:
    【Hadoop学习之七】Hadoop YARN
    【Hadoop学习之六】MapReduce原理
    【Hadoop学习之五】win7+Eclipse+hadoop3搭建本机开发环境
    【Hadoop学习之四】HDFS HA搭建(QJM)
    【Hadoop学习之三】Hadoop全分布式安装
    【Hadoop学习之二】Hadoop伪分布式安装
    【Hadoop学习之一】Hadoop介绍
    【Linux学习十】负载均衡带来tomcat的session不一致问题
    【Linux学习九】负载均衡
    Okhttp3基本使用
  • 原文地址:https://www.cnblogs.com/jackpang/p/3809631.html
Copyright © 2011-2022 走看看