数据中转,来人接分。感觉随着VS版本的提升,启动VS(单启动IDE环境)和调试项目的启动速度变得越来越慢了(即使有16G的内存 I5的U和 SSD).....
(尤其以 VS2010 到 VS2012 感觉慢了很多),也没什么选项可以把经常启动的目录移动到 RAMDISK加快速度。偶然看到了可以通过 DEBUG 的 tempDirectory 将调试时的临时目录放到RAMDISK具体方法如下:单个项目修改WEB.CONFIG:<system.web><compilation debug="true" targetFramework="4.0" tempDirectory="F:\VS"/></System.web>
全局修改machine.config在<system.web> 下添加 <compilation tempDirectory="F:\vs"/>

解决方案 »

  1.   

    distcc[11509] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
      

  2.   

    开启防火墙的要在防火墙设置/etc/sysconfig/iptables增加对应的端口
    例增加80端口防火墙添加如下:
    -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPTnetstat -ntlp 可以查看启动的TCP端口及相应进程
    netstat -nulp可以查看启动的UDP端口及相应进程
    http://blog.csdn.net/on_my_way20xx/article/details/11135195
      

  3.   

    distcc[803] (dcc_lock_host) /root/.distcc/lock/cpu_localhost_0 is busy
    distcc[803] (dcc_lock_host) /root/.distcc/lock/cpu_localhost_1 is busy
    distcc[803] (dcc_lock_host) /root/.distcc/lock/cpu_localhost_2 is busy
    distcc[803] (dcc_lock_host) /root/.distcc/lock/cpu_localhost_3 is busy
    distcc[803] (dcc_note_state) note state 1, file "(NULL)", host "(NULL)"
    distcc[803] (dcc_lock_pause) nothing available, sleeping 1s...