Date: Tue, 3 Aug 2021 11:40:38 +0300 From: =?UTF-8?B?w5Z6a2FuIEtJUklL?= <ozkan.kirik@gmail.com> To: "Andrey V. Elsukov" <bu7cher@yandex.ru> Cc: FreeBSD Net <freebsd-net@freebsd.org>, freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: Wired Memory Increasing about 500MBytes per day Message-ID: <CAAcX-AEg2h-pQE9X63FeTPSjHdeJoqcA%2B0WMMaEh-K4uzeVOdg@mail.gmail.com> In-Reply-To: <5dc957ec-9483-0a80-b29e-be4b71c1b9d9@yandex.ru> References: <CAAcX-AFWQrRjcniS5gKHzFuw3KKVJ-GKkFGmaA6OLwQ5vu9Jyg@mail.gmail.com> <5dc957ec-9483-0a80-b29e-be4b71c1b9d9@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000081dc0805c8a3a4cb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you Andrey, There is no line that contains the expression "pgcache". I wonder that, what is the unit of USED column in vmstat -z output ? Is the size of allocated memory USED * SIZE bytes or USED bytes? Best regards Full output is below: # vmstat -z ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP UMA Kegs: 248, 0, 319, 11, 359, 0, 0 UMA Zones: 4560, 0, 336, 0, 376, 0, 0 UMA Slabs: 80, 0, 1169247, 53, 1699393, 0, 0 UMA Hash: 256, 0, 54, 66, 118, 0, 0 4 Bucket: 32, 0, 5921, 25454, 6151897,41078, 0 6 Bucket: 48, 0, 4673, 8026, 732085,20928, 0 8 Bucket: 64, 0, 479, 9937, 419289, 27, 0 12 Bucket: 96, 0, 710, 11180, 1250497, 0, 0 16 Bucket: 128, 0, 2582, 5819, 1785201, 1, 0 32 Bucket: 256, 0, 4633, 5012, 2195286, 36, 0 64 Bucket: 512, 0, 13125, 3267, 5701310,9620, 0 128 Bucket: 1024, 0, 3334, 11242, 4554012,346379, 0 256 Bucket: 2048, 0, 8660, 8440,20970638,173535, 0 vmem: 1856, 0, 5, 1, 5, 0, 0 vmem btag: 56, 0, 330495, 13571, 461111,2424, 0 VM OBJECT: 256, 0, 168447, 9798,369781693, 0, 0 RADIX NODE: 144, 0, 436035, 33441,2901117593, 0, 0 MAP: 240, 0, 3, 61, 3, 0, 0 KMAP ENTRY: 120, 0, 39, 1215, 50, 0, 0 MAP ENTRY: 120, 0, 90901, 99905,2208250219, 0, 0 VMSPACE: 2560, 0, 490, 373, 9289416, 0, 0 fakepg: 104, 0, 86332, 2132, 332434, 0, 0 64 pcpu: 8, 0, 142484, 51052,7062995842, 0, 0 mt_stats_zone: 64, 0, 466, 1326, 466, 0, 0 mt_zone: 24, 0, 466, 1371, 466, 0, 0 16: 16, 0, 208830, 9289,272077367, 0, 0 32: 32, 0, 48286, 194464,2109722462, 0, 0 64: 64, 0, 107071, 76387,2375363883, 0, 0 128: 128, 0, 70403, 9980,644411569, 0, 0 256: 256, 0, 45534, 92706,364555548, 0, 0 512: 512, 0, 71594, 31246,1121480580, 0, 0 1024: 1024, 0, 2185, 5295,13869658, 0, 0 2048: 2048, 0, 7746, 5946,841931150, 0, 0 4096: 4096, 0, 11727, 1098,2051928729, 0, 0 8192: 8192, 0, 190, 1127, 1030363, 0, 0 16384: 16384, 0, 342, 374, 3018731, 0, 0 32768: 32768, 0, 95, 240, 37167, 0, 0 65536: 65536, 0, 22, 237, 3510242, 0, 0 SLEEPQUEUE: 80, 0, 5387, 1991, 5387, 0, 0 kenv: 258, 0, 0, 930, 31479, 0, 0 Files: 80, 0, 11109, 5141,2664152238, 0, 0 filedesc0: 1104, 0, 580, 554, 9289505, 0, 0 rangeset pctrie nodes: 144, 0, 0, 0, 0, 0, 0 TURNSTILE: 136, 0, 5387, 1033, 5387, 0, 0 rl_entry: 40, 0, 3805, 4295, 3805, 0, 0 umtx pi: 96, 0, 0, 0, 0, 0, 0 umtx_shm: 88, 0, 0, 0, 0, 0, 0 PROC: 1328, 0, 579, 609, 9289504, 0, 0 PGRP: 88, 0, 139, 4766, 854732, 0, 0 THREAD: 1840, 0, 5017, 369, 2528920, 0, 0 cpuset: 104, 0, 83, 9124,10129425, 0, 0 domainset: 40, 0, 0, 10664,10128542, 0, 0 mbuf_packet: 256, 52258575, 44, 11088,1852136666, 0, = 0 mbuf: 256, 52258575, 17706, 76162,67690430068, 0, 0 mbuf_cluster: 2048, 4194304, 28613, 69253,9891367484, 0, 0 mbuf_jumbo_page: 4096, 4194304, 58, 6942,137882987, 0, 0 mbuf_jumbo_9k: 9216, 4194304, 0, 0, 0, 0, 0 mbuf_jumbo_16k: 16384, 4194304, 0, 0, 0, 0, 0 epoch_record pcpu: 256, 0, 4, 60, 4, 0, 0 ttyinq: 160, 0, 345, 1255, 1260, 0, 0 ttyoutq: 256, 0, 181, 1229, 661, 0, 0 DMAR_MAP_ENTRY: 120, 0, 0, 0, 0, 0, 0 FPU_save_area: 832, 0, 0, 0, 0, 0, 0 g_bio: 376, 0, 0, 7240,242269396, 0, 0 nvme_request: 128, 0, 0, 0, 0, 0, 0 linux_dma_pctrie: 144, 0, 0, 0, 0, 0, 0 linux_dma_object: 24, 0, 0, 0, 0, 0, 0 cryptop: 128, 0, 0, 3875,223334488, 0, 0 cryptodesc: 120, 0, 0, 3894,446668976, 0, 0 crypto_session: 32, 0, 52, 6573, 1658, 0, 0 vtnet_tx_hdr: 24, 0, 0, 0, 0, 0, 0 taskq_zone: 48, 0, 0, 10126,19754313, 0, 0 VNODE: 480, 0, 214648, 20600, 1718597, 0, 0 VNODEPOLL: 120, 0, 577, 2426, 583, 0, 0 BUF TRIE: 144, 0, 5630, 100318, 218154, 0, 0 NAMEI: 1024, 0, 0, 588,1653146904, 0, 0 rentr: 24, 0, 0, 6346, 60, 0, 0 S VFS Cache: 108, 0, 235197, 18063, 2651588, 0, 0 STS VFS Cache: 148, 0, 0, 0, 0, 0, 0 L VFS Cache: 328, 0, 32648, 17116, 582649, 0, 0 LTS VFS Cache: 368, 0, 0, 0, 0, 0, 0 NCLNODE: 592, 0, 0, 0, 0, 0, 0 TMPFS dirent: 64, 0, 4440, 7712, 19999, 0, 0 TMPFS node: 232, 0, 4443, 2034, 19973, 0, 0 DIRHASH: 1024, 0, 722, 266, 1186, 0, 0 AIO: 208, 0, 0, 0, 0, 0, 0 AIOP: 32, 0, 0, 0, 0, 0, 0 AIOCB: 752, 0, 0, 0, 0, 0, 0 AIOLIO: 280, 0, 0, 0, 0, 0, 0 Mountpoints: 2744, 0, 20, 37, 38, 0, 0 pipe: 760, 0, 901, 519, 8706755, 0, 0 range_seg_cache: 72, 0, 66491, 22719,74165680, 0, 0 zio_cache: 1064, 0, 72, 11907,592560580, 0, 0 zio_link_cache: 48, 0, 0, 15687,357212950, 0, 0 zio_buf_512: 512, 0, 77411, 24661,11199087, 0, 0 zio_data_buf_512: 512, 0, 1174, 5266, 1436149, 0, 0 zio_buf_1024: 1024, 0, 3212, 1672,12780522, 0, 0 zio_data_buf_1024: 1024, 0, 52, 6112, 373117, 0, 0 zio_buf_1536: 1536, 0, 1455, 1097, 4976011, 0, 0 zio_data_buf_1536: 1536, 0, 28, 3266, 289325, 0, 0 zio_buf_2048: 2048, 0, 618, 352, 8691140, 0, 0 zio_data_buf_2048: 2048, 0, 163, 2059, 269746, 0, 0 zio_buf_2560: 2560, 0, 581, 396, 3094742, 0, 0 zio_data_buf_2560: 2560, 0, 93, 1185, 167722, 0, 0 zio_buf_3072: 3072, 0, 556, 494, 2840559, 0, 0 zio_data_buf_3072: 3072, 0, 34, 1090, 159095, 0, 0 zio_buf_3584: 3584, 0, 947, 709, 1490250, 0, 0 zio_data_buf_3584: 3584, 0, 20, 715, 224546, 0, 0 zio_buf_4096: 4096, 0, 166, 1303,13023905, 0, 0 zio_data_buf_4096: 4096, 0, 16, 599, 154265, 0, 0 zio_buf_5120: 5120, 0, 1, 140, 1345926, 0, 0 zio_data_buf_5120: 5120, 0, 1, 970, 242653, 0, 0 zio_buf_6144: 6144, 0, 0, 52, 1213631, 0, 0 zio_data_buf_6144: 6144, 0, 1, 285, 216486, 0, 0 zio_buf_7168: 7168, 0, 0, 47, 607077, 0, 0 zio_data_buf_7168: 7168, 0, 0, 237, 202376, 0, 0 zio_buf_8192: 8192, 0, 0, 130, 844604, 0, 0 zio_data_buf_8192: 8192, 0, 6, 624, 617273, 0, 0 zio_buf_10240: 10240, 0, 0, 123, 1373328, 0, 0 zio_data_buf_10240: 10240, 0, 0, 283, 350411, 0, 0 zio_buf_12288: 12288, 0, 0, 46, 858299, 0, 0 zio_data_buf_12288: 12288, 0, 0, 208, 323037, 0, 0 zio_buf_14336: 14336, 0, 0, 120, 428576, 0, 0 zio_data_buf_14336: 14336, 0, 1, 216, 305149, 0, 0 zio_buf_16384: 16384, 0, 9653, 2525,20964516, 0, 0 zio_data_buf_16384: 16384, 0, 9, 176, 456835, 0, 0 zio_buf_20480: 20480, 0, 0, 119, 795267, 0, 0 zio_data_buf_20480: 20480, 0, 0, 164, 483075, 0, 0 zio_buf_24576: 24576, 0, 0, 46, 429295, 0, 0 zio_data_buf_24576: 24576, 0, 3, 123, 594582, 0, 0 zio_buf_28672: 28672, 0, 0, 118, 262110, 0, 0 zio_data_buf_28672: 28672, 0, 0, 110, 364518, 0, 0 zio_buf_32768: 32768, 0, 0, 118, 394929, 0, 0 zio_data_buf_32768: 32768, 0, 5, 103, 381180, 0, 0 zio_buf_40960: 40960, 0, 0, 57, 2657377, 0, 0 zio_data_buf_40960: 40960, 0, 10, 103, 584120, 0, 0 zio_buf_49152: 49152, 0, 0, 114, 408783, 0, 0 zio_data_buf_49152: 49152, 0, 3, 74, 464573, 0, 0 zio_buf_57344: 57344, 0, 0, 46, 167327, 0, 0 zio_data_buf_57344: 57344, 0, 4, 70, 373816, 0, 0 zio_buf_65536: 65536, 0, 0, 47, 257894, 0, 0 zio_data_buf_65536: 65536, 0, 4, 59, 302051, 0, 0 zio_buf_81920: 81920, 0, 1, 132, 955338, 0, 0 zio_data_buf_81920: 81920, 0, 3, 77, 450696, 0, 0 zio_buf_98304: 98304, 0, 0, 44, 121696, 0, 0 zio_data_buf_98304: 98304, 0, 4, 73, 346558, 0, 0 zio_buf_114688: 114688, 0, 0, 57, 1137288, 0, 0 zio_data_buf_114688: 114688, 0, 2, 67, 280633, 0, 0 zio_buf_131072: 131072, 0, 150, 977, 8454261, 0, 0 zio_data_buf_131072: 131072, 0, 947, 8269, 7147735, 0, 0 zio_buf_163840: 163840, 0, 0, 43, 59952, 0, 0 zio_data_buf_163840: 163840, 0, 0, 0, 0, 0, 0 zio_buf_196608: 196608, 0, 0, 42, 24411, 0, 0 zio_data_buf_196608: 196608, 0, 0, 0, 0, 0, 0 zio_buf_229376: 229376, 0, 0, 44, 43421, 0, 0 zio_data_buf_229376: 229376, 0, 0, 0, 0, 0, 0 zio_buf_262144: 262144, 0, 0, 114, 528339, 0, 0 zio_data_buf_262144: 262144, 0, 0, 0, 0, 0, 0 zio_buf_327680: 327680, 0, 0, 42, 10491, 0, 0 zio_data_buf_327680: 327680, 0, 0, 0, 0, 0, 0 zio_buf_393216: 393216, 0, 0, 46, 222631, 0, 0 zio_data_buf_393216: 393216, 0, 0, 0, 0, 0, 0 zio_buf_458752: 458752, 0, 0, 40, 2759, 0, 0 zio_data_buf_458752: 458752, 0, 0, 0, 0, 0, 0 zio_buf_524288: 524288, 0, 0, 44, 123813, 0, 0 zio_data_buf_524288: 524288, 0, 0, 0, 0, 0, 0 zio_buf_655360: 655360, 0, 0, 43, 67660, 0, 0 zio_data_buf_655360: 655360, 0, 0, 0, 0, 0, 0 zio_buf_786432: 786432, 0, 0, 43, 41466, 0, 0 zio_data_buf_786432: 786432, 0, 0, 0, 0, 0, 0 zio_buf_917504: 917504, 0, 0, 41, 27428, 0, 0 zio_data_buf_917504: 917504, 0, 0, 0, 0, 0, 0 zio_buf_1048576: 1048576, 0, 0, 122, 136239, 0, 0 zio_data_buf_1048576: 1048576, 0, 0, 0, 0, 0, 0 zio_buf_1310720: 1310720, 0, 0, 0, 0, 0, 0 zio_data_buf_1310720: 1310720, 0, 0, 0, 0, 0, 0 zio_buf_1572864: 1572864, 0, 0, 0, 0, 0, 0 zio_data_buf_1572864: 1572864, 0, 0, 0, 0, 0, 0 zio_buf_1835008: 1835008, 0, 0, 0, 0, 0, 0 zio_data_buf_1835008: 1835008, 0, 0, 0, 0, 0, 0 zio_buf_2097152: 2097152, 0, 0, 0, 0, 0, 0 zio_data_buf_2097152: 2097152, 0, 0, 0, 0, 0, 0 zio_buf_2621440: 2621440, 0, 0, 0, 0, 0, 0 zio_data_buf_2621440: 2621440, 0, 0, 0, 0, 0, 0 zio_buf_3145728: 3145728, 0, 0, 0, 0, 0, 0 zio_data_buf_3145728: 3145728, 0, 0, 0, 0, 0, 0 zio_buf_3670016: 3670016, 0, 0, 0, 0, 0, 0 zio_data_buf_3670016: 3670016, 0, 0, 0, 0, 0, 0 zio_buf_4194304: 4194304, 0, 0, 0, 0, 0, 0 zio_data_buf_4194304: 4194304, 0, 0, 0, 0, 0, 0 zio_buf_5242880: 5242880, 0, 0, 0, 0, 0, 0 zio_data_buf_5242880: 5242880, 0, 0, 0, 0, 0, 0 zio_buf_6291456: 6291456, 0, 0, 0, 0, 0, 0 zio_data_buf_6291456: 6291456, 0, 0, 0, 0, 0, 0 zio_buf_7340032: 7340032, 0, 0, 0, 0, 0, 0 zio_data_buf_7340032: 7340032, 0, 0, 0, 0, 0, 0 zio_buf_8388608: 8388608, 0, 0, 0, 0, 0, 0 zio_data_buf_8388608: 8388608, 0, 0, 0, 0, 0, 0 zio_buf_10485760: 10485760, 0, 0, 0, 0, 0, 0 zio_data_buf_10485760: 10485760, 0, 0, 0, 0, 0, = 0 zio_buf_12582912: 12582912, 0, 0, 0, 0, 0, 0 zio_data_buf_12582912: 12582912, 0, 0, 0, 0, 0, = 0 zio_buf_14680064: 14680064, 0, 0, 0, 0, 0, 0 zio_data_buf_14680064: 14680064, 0, 0, 0, 0, 0, = 0 zio_buf_16777216: 16777216, 0, 0, 0, 0, 0, 0 zio_data_buf_16777216: 16777216, 0, 0, 0, 0, 0, = 0 lz4_ctx: 16384, 0, 0, 503,36019118, 0, 0 abd_chunk: 4096, 0, 876778, 136943,362609205, 0, 0 sa_cache: 144, 0, 72760, 21740, 1463848, 0, 0 dnode_t: 736, 0, 248894, 476, 882132, 0, 0 arc_buf_hdr_t_full: 256, 0, 77080, 24200,17401584, 0, 0 arc_buf_hdr_t_l2only: 96, 0, 0, 0, 0, 0, 0 arc_buf_t: 64, 0, 10860, 21566,19786749, 0, 0 dmu_buf_impl_t: 240, 0, 83832, 37096,12772494, 0, 0 zil_lwb_cache: 320, 0, 12, 1848, 3352551, 0, 0 zil_zcw_cache: 80, 0, 0, 4500, 3376111, 0, 0 sio_cache: 128, 0, 0, 0, 0, 0, 0 zfs_znode_cache: 288, 0, 72760, 20684, 1463848, 0, 0 procdesc: 136, 0, 0, 493, 12, 0, 0 ksiginfo: 112, 0, 1142, 5368, 1505245, 0, 0 itimer: 352, 0, 0, 0, 0, 0, 0 KNOTE: 160, 0, 5940, 4585,903598090, 0, 0 socket: 872, 4188668, 7375, 2101,1284993007, 0, 0 unpcb: 256, 4188675, 658, 3137, 6017512, 0, 0 IPsec SA lft_c: 16, 0, 20, 7148, 2440, 0, 0 ipq: 56, 51262, 0, 0, 0, 0, 0 udp_inpcb: 488, 4188672, 1966, 192586,1276089120, 0, 0 udpcb: 32, 4188750, 1966, 10034,1276089120, 0, 0 tcp_inpcb: 488, 4188672, 4769, 2639, 2844329, 0, 0 tcpcb: 984, 4188668, 4738, 1166, 2844329, 0, 0 tcptw: 88, 50040, 31, 4244, 1142771, 0, 0 syncache: 168, 409607, 0, 2576, 1711535, 0, 0 hostcache: 96, 15375, 2982, 4521, 119241, 0, 0 sackhole: 32, 0, 5, 6370, 1481420, 0, 0 tfo: 4, 0, 0, 0, 0, 0, 0 tfo_ccache_entries: 80, 0, 0, 0, 0, 0, 0 tcpreass: 48, 262197, 0, 10126, 82900, 0, 0 sctp_ep: 1280, 4188669, 0, 0, 0, 0, 0 sctp_asoc: 2288, 40000, 0, 0, 0, 0, 0 sctp_laddr: 48, 80012, 0, 7885, 7629, 0, 0 sctp_raddr: 736, 80000, 0, 0, 0, 0, 0 sctp_chunk: 152, 400010, 0, 0, 0, 0, 0 sctp_readq: 152, 400010, 0, 0, 0, 0, 0 sctp_stream_msg_out: 112, 400015, 0, 0, 0, 0, 0 sctp_asconf: 40, 400000, 0, 0, 0, 0, 0 sctp_asconf_ack: 48, 400060, 0, 0, 0, 0, 0 udplite_inpcb: 488, 4188672, 0, 0, 0, 0, 0 ripcb: 488, 4188672, 0, 816, 1297, 0, 0 rtentry: 208, 0, 3255, 1210, 10261, 0, 0 pf mtags: 48, 0, 9, 24310,749080996, 0, 0 pf tags: 104, 0, 135, 397, 146, 0, 0 pf states: 304, 10000003, 80811, 681327,480229109, 0, 0 pf state keys: 88, 0, 111211, 663284,543304602, 0, 0 pf source nodes: 136, 100021, 4290, 2728, 2820231, 0, 0 pf table entry counters: 64, 0, 0, 0, 0, 0, = 0 pf table entries: 160, 2000000, 51780, 48870, 258685, 0, 0 pf frags: 256, 0, 0, 2325,68167738, 0, 0 pf frag entries: 40, 1000000, 0, 9900,136389653, 0, 0 pf state scrubs: 40, 0, 0, 0, 0, 0, 0 IPFW counters: 16, 0, 5, 1787, 469, 0, 0 IPFW dynamic states data: 88, 16425, 0, 0, 0, 0, 0 IPFW parent dynamic states: 32, 4125, 0, 0, 0, 0, 0 IPFW IPv4 dynamic states: 40, 0, 0, 0, 0, 0, 0 IPFW IPv6 dynamic states: 72, 0, 0, 0, 0, 0, 0 divcb: 488, 4188672, 0, 0, 0, 0, 0 bridge_rtnode: 88, 0, 0, 0, 0, 0, 0 selfd: 64, 0, 3711, 10735,6515034986, 0, 0 swpctrie: 144, 16330842, 0, 0, 0, 0, 0 swblk: 136, 16330828, 0, 0, 0, 0, 0 FFS inode: 160, 0, 137291, 1384, 234507, 0, 0 FFS1 dinode: 128, 0, 0, 0, 0, 0, 0 FFS2 dinode: 256, 0, 137291, 1369, 234502, 0, 0 NetGraph items: 72, 65565, 0, 155, 7, 0, 0 NetGraph data items: 72, 65565, 0, 155, 4, 0, 0 NAT64LSN hosts: 88, 0, 0, 0, 0, 0, 0 NAT64LSN portgroup chunks: 256, 0, 0, 0, 0, 0, 0 NAT64LSN portgroups: 32, 0, 0, 0, 0, 0, 0 NAT64LSN links: 24, 0, 0, 0, 0, 0, 0 NAT64LSN states: 4096, 0, 0, 0, 0, 0, 0 NAT64LSN jobs: 112, 0, 0, 0, 0, 0, 0 md0: 512, 0, 571, 69, 571, 0, 0 IPsec SA lft_c: 16, 0, 0, 0, 0, 0, 0 ipq: 56, 51262, 0, 0, 0, 0, 0 udp_inpcb: 488, 4188672, 0, 904, 40446, 0, 0 udpcb: 32, 4188750, 0, 7875, 40446, 0, 0 tcp_inpcb: 488, 4188672, 3, 85, 3, 0, 0 tcpcb: 984, 4188668, 3, 37, 3, 0, 0 tcptw: 88, 50040, 0, 0, 0, 0, 0 syncache: 168, 409607, 0, 0, 0, 0, 0 hostcache: 96, 15375, 0, 0, 0, 0, 0 sackhole: 32, 0, 0, 0, 0, 0, 0 tfo: 4, 0, 0, 0, 0, 0, 0 tfo_ccache_entries: 80, 0, 0, 0, 0, 0, 0 sctp_ep: 1280, 4188669, 0, 0, 0, 0, 0 sctp_asoc: 2288, 40000, 0, 0, 0, 0, 0 sctp_laddr: 48, 80012, 0, 830, 6, 0, 0 sctp_raddr: 736, 80000, 0, 0, 0, 0, 0 sctp_chunk: 152, 400010, 0, 0, 0, 0, 0 sctp_readq: 152, 400010, 0, 0, 0, 0, 0 sctp_stream_msg_out: 112, 400015, 0, 0, 0, 0, 0 sctp_asconf: 40, 400000, 0, 0, 0, 0, 0 sctp_asconf_ack: 48, 400060, 0, 0, 0, 0, 0 udplite_inpcb: 488, 4188672, 0, 0, 0, 0, 0 divcb: 488, 4188672, 0, 0, 0, 0, 0 ripcb: 488, 4188672, 0, 0, 0, 0, 0 rtentry: 208, 0, 118, 205, 118, 0, 0 pf tags: 104, 0, 1, 151, 1, 0, 0 pf states: 304, 1000012, 0, 0, 0, 0, 0 pf state keys: 88, 0, 0, 0, 0, 0, 0 pf source nodes: 136, 10005, 0, 0, 0, 0, 0 pf table entry counters: 64, 0, 0, 0, 0, 0, = 0 pf table entries: 160, 2000000, 27, 173, 52, 0, 0 pf frags: 256, 0, 0, 0, 0, 0, 0 pf frag entries: 40, 100000, 0, 0, 0, 0, 0 pf state scrubs: 40, 0, 0, 0, 0, 0, 0 IPFW counters: 16, 0, 1, 255, 1, 0, 0 IPFW dynamic states data: 88, 16425, 0, 0, 0, 0, 0 IPFW parent dynamic states: 32, 4125, 0, 0, 0, 0, 0 IPFW IPv4 dynamic states: 40, 0, 0, 0, 0, 0, 0 IPFW IPv6 dynamic states: 72, 0, 0, 0, 0, 0, 0 bridge_rtnode: 88, 0, 0, 0, 0, 0, 0 On Tue, Aug 3, 2021 at 9:38 AM Andrey V. Elsukov <bu7cher@yandex.ru> wrote: > 02.08.2021 08:00, =C3=96zkan KIRIK =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > Hello, > > > > I'm using FreeBSD stable/12 0f97f2a1857a96563792f0d873b11a16ff9f818c (J= ul > > 25) built. > > pf, ipfw and ipsec options are built with kernel. The server is used as > > firewall that squid and snort3 (daq - netmap) is running. > > > > I saw that, wired memory is increasing every day. It's about 500MBytes > per > > day. I'm checking vmstat and top (sorted by res), I couldn't find what = is > > consuming the wired memory. > > > > How can I find that which process or which part of kernel is consuming > the > > wired memory ? > > Hi, > > We noticed the same problem, I'm not sure the exact version, but you can > check the output: > # vmstat -z | egrep "ITEM|pgcache" > > The page cache grows until lowmem is not reached. Then it automatically > cleans and begins to grow again. > > -- > WBR, Andrey V. Elsukov > > --00000000000081dc0805c8a3a4cb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAcX-AEg2h-pQE9X63FeTPSjHdeJoqcA%2B0WMMaEh-K4uzeVOdg>