码迷,mamicode.com
首页 >  
搜索关键字:i节点 maildrop postfix cache    ( 9172个结果
用shell脚本监控linux系统 自动发送邮件
此脚本可以做一个定时的检测,超出设定的值,即往邮箱发送警告脚本用到bc,sendmail,163邮箱,yuminstallbc#!/bin/bash #SystemMonitoringScript while[1] do #本机需开启postfix或sendmail服务。 #报警邮件地址设置 MAILFROM=root@localhost MAILTO=your_mail@163.com #设置..
分类:系统相关   时间:2014-05-13 05:05:29    阅读次数:649
python不同的内容邮件群发
#!/usr/bin/envpython#coding:utf8importsmtplib,sysfromemail.mime.textimportMIMETextfromconfig.mailssimportmail_list,contentdefsend_mail():mail_host,mail_user,mail_pass,mail_postfix,sub,me,mailto_list=mail_listme=mail_user+"<"+mail_user+"@"+mail_postfix+"&..
分类:编程语言   时间:2014-05-13 02:40:50    阅读次数:503
varnish学习小结
大纲一、Varnish简介二、Varnish特点三、Varnish与Squid对比四、Varnish设计结构五、Varnish工作流程六、Varnish状态引擎(stateengine)七、安装与配置Varnish一、Varnish简介Varnish是一款高性能的开源HTTP加速器,挪威最大的在线报纸VerdensGang使用3台Varnish代替了原来的12..
分类:其他好文   时间:2014-05-13 01:24:57    阅读次数:541
[转载]Buffer cache的调整与优化
Buffer Cache是SGA的重要组成部分,主要用于缓存数据块,其大小也直接影响系统的性能。当Buffer Cache过小的时候,将会造成更多的free buffer waits事件。下面将具体描述Buffer Cache的作用、调整与优化。一、SGA的所有组件 从动态视图v$sga_dyna....
分类:其他好文   时间:2014-05-12 13:52:05    阅读次数:406
Mybatis缓存报错org.apache.ibatis.exceptions.PersistenceException
错误信息如下:org.apache.ibatis.exceptions.PersistenceException:###Errorqueryingdatabase.Cause:org.apache.ibatis.cache.CacheException:Errordeserializingobject.Cause:java.lang.ClassNotFoundException:com.kytsoft.model.Adminlink###Cause:org.apache.ibatis.cache..
分类:其他好文   时间:2014-05-11 19:26:15    阅读次数:455
使用varnish实现网站动静分离
一、Varnish简介Varnish是一款高性能、开源的反向代理服务器和缓存服务器,其开发者Poul-HenningKamp是FreeBSD核心的开发人员之一。Varnish主要运行两个进程:Management进程和Child进程(也叫Cache进程)。Management进程主要实现应用新的配置、编译VCL、监控varnish、初始化var..
分类:Web程序   时间:2014-05-10 04:14:44    阅读次数:605
oracle cursor
Oracle will generate something called cursor after it parse an statement. This thing--cursor will be stored in Library cache, if next time you need to...
分类:数据库   时间:2014-05-10 01:02:22    阅读次数:579
LVS+Keepalived+Squid+Nginx+MySQL主从高性能集群架构部署方案
方案一,在tomcat的workers.properties里面配置相关条件worker.tomcat.lbfactor=50worker.tomcat.cachesize=10worker.tomcat.cache_timeout=600worker.tomcat.socket_keepalive...
分类:数据库   时间:2014-05-09 15:51:54    阅读次数:636
PHP使用PHPEXCEL导入Excel
下载PHPEXCEL后放到项目里。 public function InExcel() { //设定缓存模式为经gzip压缩后存入cache(PHPExcel导入导出及大量数据导入缓存方式的修改 ) $cacheMethod = PHPExcel_CachedOb...
分类:Web程序   时间:2014-05-09 12:56:38    阅读次数:528
有关Cache –(1) linux list之中的Prefetc
转载:http://www.kernelchina.org/node/1050linux的list实现之中有如下东东:#define list_for_each(pos, head) \ for (pos = (head)->next; prefetch(pos->next), pos != (h....
分类:系统相关   时间:2014-05-09 10:04:38    阅读次数:323
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!