一般设为物理内存70到80128G*80%=90G
原创
2024-08-12 10:25:08
0阅读
please increase CacheSize configuration paramete
原创
2021-07-20 10:00:22
960阅读
zabbix内存溢出,
/etc/zabbix//zabbix_server.conf 或者/etc/zabbix/zabbix_agent.conf
添加或修改CacheSize,或者VMwareCacheSize=8M
改为CacheSize=1024M (这个值根据自己的需求)
重启服务zabbix_server
原创
2018-08-30 20:13:02
5008阅读
首先是Okhttp的使用://缓存文件夹
File cacheFile = new File(getExternalCacheDir().toString(), "cache");
//缓存大小为10M
int cacheSize = 10 * 1024 * 1024;
//创建缓存对象
Cache cache = new Cache(cacheFile, cacheSize);
OkHttpCl
public class LRUCache<k,v> extends LinkedHashMap<k,v> { private final int CACHE_SIZE; public LRUCache(int cacheSize){ super((int)Math.ceil(cacheSize/0.75)+1,0.75f,true);
转载
2022-10-25 01:05:50
69阅读
一、zabbix的问题总结 一、zabbix 内存溢出 1、内存溢出报错如下[file:dbconfig.c,line:94] zbx_mem_realloc(): out of memory (requested 9448 2、解决如下 打开zabbix_server.conf 找到 Option: CacheSize 把原来的 # CacheSize=8M 前面的#注释去掉
原创
2022-08-11 14:09:57
1000阅读
DBHost=192.168.32.55DBName= zabbixDBUser=zabbixuserDBPassword=zabbixpassStartTrappers=20MaxHousekeeperDelete=5000 CacheSize=1024MStartDBSyncer...
转载
2016-08-31 14:06:00
170阅读
DBHost=192.168.32.55DBName= zabbixDBUser=zabbixuserDBPassword=zabbixpassStartTrappers=20MaxHousekeeperDelete=5000 CacheSize=1024MStartDBSyncer...
转载
2016-08-31 14:06:00
98阅读
CacheSize 默认1,需要修改成1000异步执行也可以提高效率:AsyncExecute
原创
2015-09-05 12:46:25
85阅读
SSR optimization engine option 代码:const ngExpressEngine = NgExpressEngineDecorator.get(engine, { timeout: 9000, concurrency: 1, forcedSsrTimeout:90000, maxRenderTime:1000, cache: true, cacheSize:
原创
2022-02-28 17:58:29
51阅读
1.memcached的安装yum install memcachedmemcached -hvim /etc/sysconfig/memcachedPORT=”11211″USER=”memcached”MAXCONN=”1024″CACHESIZE=”64″OPTIONS=”"systemctl restart memcachedsystemctl start memcachedsystemc
原创
2015-11-04 10:20:28
825阅读
部署Memache-CentOS7yuminstallmemcachednmap-yvim/etc/sysconfig/memcachedUSER="memcached"MAXCONN="1024"CACHESIZE="64"OPTIONS=""systemctlrestartmemcachedsystemctlenablememcached编写监控脚本cd/usr/local/zabbix/et
原创
2020-09-01 14:45:54
459阅读
database bdb#checkpoint 1024 5#cachesize 10000suffix "dc=Enmonster,dc=Storage"rootdn "cn=Manager,dc=enmonster,dc=storage"# Cleartext passwords, especially for the rootdn, should # ...
原创
2021-07-13 11:45:19
161阅读
public class DataCleanManager { // 获取缓存大小 public static String getTotalCacheSize(Context context) throws Exception { long cacheSize = getFolderSize
原创
2022-06-23 16:30:48
142阅读
一、 配置部份 在基本配置完成之后,可以在slapd.conf设置一些提高安全和效率的选项 cachesize 5000 checkpoint 1024 5 cachesize是ldap在内存中缓存的记录条数。这个缓存是openldap自己维护的,与bdb库无关。 为了提高效率bdb在修改数据库时,是先修改内存里面的,然后分批回写到数据库文件里面。Checkpoint操作就是把内存
转载
2024-06-11 21:11:28
49阅读
database bdb#checkpoint 1024 5#cachesize 10000suffix "dc=Enmonster,dc=Storage"rootdn "cn=Manager,dc=enmonster,dc=storage"# Cleartext passwords, especially for the rootdn, should # ...
原创
2022-01-28 11:17:08
82阅读
代码展示 首先构建一个用来构造LRU对象模块的文件: 'use strict'; let Lru = function(cacheSize,callbackBackingStoreLoad,elementLifeTimeMs=1000){ let me = this; let maxWait = e
转载
2021-07-07 17:43:00
94阅读
2评论
Okhttp源码分析一. 请求流程分析跟踪private fun createOkHttpClient(): OkHttpClient {
// 设置缓存(10MB)
val cacheSize = 10 * 1024 * 1024 // 10 MB
// Cache cache = new Cache(new File(getCac
1、安装memcachedyum install memcached python-memcached -ysed -i '/MAXCONN/s/"1024"/"8192"/' /etc/sysconfig/memcachedsed -i '/CACHESIZE/s/"64"/"2048"/' /etc/sysconfig/memcachedsed -i "/OPTIONS/s/\"\"/\"-l
原创
2015-09-11 16:46:47
1317阅读
一、 配置部份在基本配置完成之后,可以在slapd.conf设置一些提高安全和效率的选项 cachesize 5000 checkpoint 1024 5 cachesize是ldap在内存中缓存的记录条数。这个缓存是openldap自己维护的,与bdb库无关。 为了提高效率bdb在修改数据库时,是先修改内存里面的,然后分批回写到数据库文件里面。Checkpoint操作就是把内存中的数