55 followers 0 articles/week
[原]测试一下flash显示图片

作者:chinalinuxzend 发表于 2010/07/07 18:44:00 原文链接 //blog.csdn.net/chinalinuxzend/article/details/5719300 阅读:6714 评论:1 查看评论

Tue Mar 13, 2018 09:32
[转]为php提供ssh2的支持

原贴:http://www.haw-haw.org/node/150 用来在php程序里方便的连到远程主机 执行程序 并取回结果 首先,系统需要已经装有openssl和openssl-devel包 rpm -qa | grep openssl 然后,安装libssh2 当下来源代码后 ./configure && make all install 再然后,安装PECL/ssh2 可以用命令pear install ssh2 (眼前可能只能用pear install ssh2-beta ) 或者是去PECL/ssh2 当下来源代码 然后 phpize && ./configure –with-ssh2 &&...

Tue Mar 13, 2018 09:32
[转] Scaling Apps with Varnish

原贴:http://longrujun.name/index.php/2008/11/08/scaling-apps-with-varnish/ Scaling Apps with Varnish Varnish 是一款高性能的反向代理和HTTP加速器,并非传说中Http Cache Server。这是Varnish作者的 Varnish http accelerator 文档,少不了PK Squid 。 不过本人认为其在一定程度上还无法达到完全替换Squid的功效。保留意见于此: 1、没有cache检测机制,当内存满了无有效处理机制; 2、一但进程Hang、Crash或者重启,内存完全释放出cache内容,所有requests都回origin...

Tue Mar 13, 2018 09:32
[转]减少Linux下Squid服务器的TIME_WAIT套接字数量

原贴:http://blog.s135.com/post/338/ Linux下高并发的Squid服务器,TCP TIME_WAIT套接字数量经常达到两、三万,服务器很容易被拖死。通过修改Linux内核参数,可以减少Squid服务器的TIME_WAIT套接字数量。    vi /etc/sysctl.conf   增加以下几行: 引用 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 1200 net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_tw_recycle = 1 net.ipv4.ip_local_port_range...

Tue Mar 13, 2018 09:32
[转]Varnish 应用技术指南 V2.2

原贴:http://bbs.chinaunix.net/viewthread.php?tid=1359716 关注varnish 有一段时间了,一直想给我们的主题站加上缓存,因为主题站图片流量占用了总流量的86.7%。经过网上不停止的GG,不停止的追问各路高手!也学到不少东西,给自己总结下来,免得忘记了! 这个文档中也添加了网上一些朋友对varnish的分析资料!                 最后更新时间:  2009年01月13日  17:56 文章来源:   http://vcoole.blogbus.com/logs/35997080.html Varnish 应用技术指南 V2.2 一.概述: 2 二.结构: 2 三.安装: 3 1、安装...

Tue Mar 13, 2018 09:32
[转]Varnish的系统优化

原贴:http://joyleley.spaces.live.com/blog/cns!E162F872A7449BAC!158.entry (一)参数优化.("telnet localhost 5000"后,输入"param.show"可以看到所有系统运行中的参数.输入"param.set thread_pools 8"可以调整参数.)     thread_pools                  8 [pools]     thread_pool_max            2000 [threads]     thread_pool_min             100 [threads]     thread_pool_timeout        10...

Tue Mar 13, 2018 09:32

Build your own newsfeed

Ready to give it a go?
Start a 14-day trial, no credit card required.

Create account