Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4472879
  • 博文数量: 1214
  • 博客积分: 13195
  • 博客等级: 上将
  • 技术积分: 9105
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-19 14:41
个人简介

C++,python,热爱算法和机器学习

文章分类

全部博文(1214)

文章存档

2021年(13)

2020年(49)

2019年(14)

2018年(27)

2017年(69)

2016年(100)

2015年(106)

2014年(240)

2013年(5)

2012年(193)

2011年(155)

2010年(93)

2009年(62)

2008年(51)

2007年(37)

发布时间:2016-06-22 16:19:03

原文地址:http://www.qmailer.net/archives/251.html1在Python程序内部,通常使用的字符串为unicode编码,这样的字符串字符是一种内存编码格式,如果将这些数据存储到文件或是记录日志的时候,就需要将unicode编码的字符串转换为特定字符集的存储编码格式,比如:UTF-8、GBK等.........【阅读全文】

阅读(1508) | 评论(0) | 转发(0)

发布时间:2016-06-21 21:01:11

vi /etc/redis/redis.confmaxclients 65000tcp-backlog 65536timeout 120tcp-keepalive 60vi /etc/security/limits.conf * soft nofile 65536* hard nofile 65536vi /etc/sysctl.confvm.overcommit_memory = 1vm.swappiness = 0net.core.somaxconn = 60000net.ipv4.tcp_window_scaling = 1net.ipv4.t.........【阅读全文】

阅读(1425) | 评论(0) | 转发(0)

发布时间:2016-06-21 10:11:08

原文地址:http://shokunin.co/blog/2014/11/11/operational_redis.htmlRedis is mostly single threaded application. To ensure that redis is not running on the same CPU as those handling any network traffic, it is highly recommended that RPS is enabled.Redhat has a detailed.........【阅读全文】

阅读(1245) | 评论(0) | 转发(0)

发布时间:2016-06-20 21:08:32

原文地址:http://coolnull.com/2842.html# netstat -an|grep 6380|wc -l 4602# ps -ef|grep redis root 23427 21683 0 19:08 pts/0 00:00:00 grep redisroot 31886 1 0 11:30 ? 00:00:00 /usr/local/bin/redis-server /data/redis/6379/redis6379.conf# cat /proc/31886/limits Limit Soft Limit Hard Limit Units Ma.........【阅读全文】

阅读(1424) | 评论(0) | 转发(0)

发布时间:2016-06-20 09:13:46

sudo apt-get install gitgit clone https://gitlab.com/ocserv/ocserv.gitsudo apt-get install libgnutls28-dev libev-dev libwrap0-dev libpam0g-dev liblz4-dev libseccomp-dev libreadline-dev libnl-route-3-dev libkrb5-dev liboath-devsudo apt-get install autoconf libprotobuf-c0-dev libtalloc-dev libh.........【阅读全文】

阅读(2652) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

北大未名居士2013-03-08 10:16

回复  |  举报

北大未名居士2013-03-08 10:16

回复  |  举报

pureal2012-05-09 12:01

你好,看到一个帖子发现你看过APUE2英文版,我也刚好看到读写锁,写饿死的问题。所以想认识交流下,我没找到你的邮箱,我的是dwdang@126.com

回复  |  举报

大鬼不动2010-09-23 00:47

回复  |  举报

chinaunix网友2009-10-12 16:19

你好,你在Google Code上放的sg2fcitx的mainme.c源代码我下载编译会出现段错误。请问你的编译环境是什么?GCC版本是多少? 谢谢。

回复 |  删除 |  举报
留言热议
请登录后留言。

登录 注册