浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年8月20日

摘要: MongoDB注意事项1.mmap failed with out of memory在32位平台MongoDB不允许数据库文件(累计总和)超过2G,而64位平台没有这个限制。64位需取消虚拟内存限制。取消虚拟内存限制的方法:修改etc/profile文件,在文件最后加入一行ulimit -v unlimited保存,在命令行执行# source /etc/profile(重启linux也可以生效... 阅读全文
posted @ 2010-08-20 19:45 lexus 阅读(297) 评论(0) 推荐(0)

摘要: http://blog.rebill.info/archives/modify-the-home-mount-point.html昨天由于ubuntu的/分区空间紧张,决定把/home挂载到别的分区。格式化分区步骤首先可以查看设备 sudofdisk–l 然后用命令硬盘格式化#危险!将第7个分区格式化为 ext4 分区 sudomkfs.ext4/dev/sda7 挂载步骤(root权限执行):0... 阅读全文
posted @ 2010-08-20 19:43 lexus 阅读(842) 评论(0) 推荐(0)

摘要: http://www.myfaq.com.cn/2005September/2005-09-13/201008.html按下面说的,可以用ulimit -n 32768设置最大描述符,不过只对当前会话有用,而且要root,这个不好办或者修改/etc/security/limits.conf,但要重启另外,没查到linux究竟最大描述符有没有限制,其他几个限制要不要改按下面说的,可以用ulimit ... 阅读全文
posted @ 2010-08-20 17:34 lexus 阅读(268) 评论(0) 推荐(0)

摘要: http://code.google.com/p/octopy/Inspired by Google'sMapReduceandStarfishfor Ruby, octo.py is a fast-n-easyMapReduceimplementation for Python.Octo.py doesn't aim to meet all your distributed computing ... 阅读全文
posted @ 2010-08-20 16:49 lexus 阅读(327) 评论(0) 推荐(0)

摘要: Pyro is short for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be very easy to use. Never worry about wr... 阅读全文
posted @ 2010-08-20 16:09 lexus 阅读(251) 评论(0) 推荐(0)

摘要: http://srdsjb.blog.51cto.com/752122/237385 阅读全文
posted @ 2010-08-20 14:59 lexus 阅读(199) 评论(0) 推荐(0)

摘要: Emulating Stackless Python using greenlethttp://ptspts.blogspot.com/2010/01/emulating-stackless-python-using.htmlSyncless is a non-blocking (asynchronous) concurrent client and server socket network c... 阅读全文
posted @ 2010-08-20 14:58 lexus 阅读(467) 评论(0) 推荐(0)

摘要: mlzboy@mlzboy-mac:/usr/local/nginx$ python --helpusage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...Options and arguments (and corresponding environment variables):-B : don't write .py[c... 阅读全文
posted @ 2010-08-20 10:32 lexus 阅读(1097) 评论(0) 推荐(0)

摘要: e.g.config.py_url="xxx"from config import *print _urlwill throw error 阅读全文
posted @ 2010-08-20 10:19 lexus 阅读(175) 评论(0) 推荐(0)

摘要: 后台技术做的细腻,我非常欣赏,robbin厉害啊,可以支持cnblogs的文章导入到javaeye,偶有不稳定,要是能自动同步就好了 阅读全文
posted @ 2010-08-20 08:54 lexus 阅读(139) 评论(0) 推荐(0)

摘要: 不知怎么的,我的firefox时间一久就不对头,反应很慢,忍不了了,于是换上chromium,原因有二,也有scribefire这个插件,还有最近访问的网页的导航,方便。这样日常我写博客的工具也就有了 阅读全文
posted @ 2010-08-20 07:56 lexus 阅读(144) 评论(0) 推荐(0)