From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079271218512.tru64-unix-managers.marc@archive.invalid> From: "Dr. Tom Blinn, 603-884-0646" Date: Wed, 12 Jan 2000 16:36:24 +0000 To: tru64-unix-managers Subject: Tru64 UNIX Kernel Memory Leak When Running with Accounting X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079271218512 If you are using one of the patch kits with the kernel memory leak bug, here is information on the fix: SOURCE: Compaq Computer Corporation INFORMATION BLITZ INFORMATION BLITZ TITLE: Tru64 UNIX kernel memory leak when running with Accounting DATE: January 11, 2000 INFORMATION BLITZ #: TD 2740-A ================================================================= PRODUCT NAME(S) IMPACTED: Tru64 UNIX on Alpha PRODUCT NUMBERS: Alpha, Tru64 UNIX V4.0D, V4.0E and V4.0F with BL13 patch kit, and Tru64 UNIX V5.0 with BL1 patch kit. PROBLEM STATEMENT: ================== A defect inadvertently introduced into the Tru64 UNIX 4.0D, 4.0E and 4.0F BL13 and 5.0 BL1 patch kits causes the loss of 256 bytes of memory every time a process exits on any Tru64 UNIX system if the appropriate patch kit is installed and Accounting is turned on. CONFIGURATIONS AFFECTED: ======================== This problem will be seen on any Tru64 UINIX system with Accounting turned on, that is running the 4.0D, 4.0E, 4.0F, or 5.0 operating system with one of the specified patch kits: Version 4.0* BL13 Patch Kits: 4.0D - DUV40DAS0005-19991007 "Patch Kit 5" 4.0E - DUV40EAS0003-19991110 "Patch Kit 3" 4.0F - DUV40FAS0002-19991116 "Patch Kit 2" Version 5.0 BL1 Patch Kit: 5.0 - T64V50AS0001-19991025 "Patch Kit 1" PROBLEM SYMPTOM: ================ The problem shows up as a constant increase in the use of cred structures, which are allocated from the 256 byte bucket, also known as bucket 4. On a live system, you can see this memory leak by looking at live vmstat -M output. You can also see the leak looking at a crash (forced or otherwise) dump using the crash tool, kmem -t. From this output, under the CRED label of the "usage by type" area, you will notice an enormous amount of memory used. The effect on systems with this problem is that over time, a large proportion of memory becomes allocated and never free'ed, reducing the available pool of memory. Eventually this will cause system performance degradation, hangs or panics requiring re-boots or forced crash/re-boots to recover. WORKAROUND: =========== Turn off Accounting, if this is feasible. PROBLEM SOLUTION: ================= Patches to correct this problem are available for V4.0D, E, and F BL13 patch kits. A patch is also available for the BL1 patch kit of Tru64 UNIX V5.0. Patch for Tru64 UNIX V4.0D: http://ftp.service.digital.com/public/Digital_UNIX/v4.0d/kern_mod_40d.tar Patch for Tru64 UNIX V4.0E: http://ftp.service.digital.com/public/Digital_UNIX/v4.0e/kern_mod_40e.tar Patch for Tru64 UNIX V4.0F: http://ftp.service.digital.com/public/Digital_UNIX/v4.0f/kern_mod_40f.tar Patch for Tru64 UNIX V5.0: http://ftp.service.digital.com/public/Digital_UNIX/v5.0/kern_mod_50.tar *****************************< NOTE>******************************** * * * INFORMATION IN THIS DOCUMENT REPRESENTS OPERATIONAL EXPERIENCES * * AND SUGGESTIONS BY COMPAQ OR PARTNER EMPLOYEES. COMPAQ SHALL * * NOT BE RESPONSIBLE FOR ANY ERRORS OR OMMISSIONS CONTAINED IN * * THIS DOCUMENT, AND RESERVES THE RIGHT TO MAKE CHANGES TO IT * * WITHOUT NOTICE. * * * ********************************************************************