Subject | Re: [firebird-support] large system slows over time |
---|---|
Author | Steve Wiser |
Post date | 2015-05-08T13:55:50Z |
Hi Nick,
My interpretation of those stats is that you are now out of memory as I always look at the Swap Used. You aren't using any. My experience with Linux is that the OS will take as much memory as it can/needs so it can look like you are maxed out on RAM usage or something, but you really need to pay attention to the swap used.--
Steve Wiser
President
Specialized Business Software
6325 Cochran Road, Unit 1
Solon, OH 44139
www.specializedbusinesssoftware.com
www.docunym.com
(440) 542-9145 - fax (440) 542-9143
Toll Free: (866) 328-4936
On Fri, May 8, 2015 at 6:32 AM, Nick Upson nu@... [firebird-support] <firebird-support@yahoogroups.com> wrote:Your mention of memory & paging got me thinking. I expected the output below to show the memory was fully used such that more RAM would helpbut unless I'm reading this wrong only 5.3Gb is being used and 2.4 GB is unused so more RAM will be no help, can anyone confirm or put me right$ cat /proc/meminfoMemTotal: 8309036 kBMemFree: 307408 kBBuffers: 59296 kBCached: 7433812 kBSwapCached: 32 kBActive: 5365212 kBInactive: 2470416 kBHighTotal: 7471040 kBHighFree: 18724 kBLowTotal: 837996 kBLowFree: 288684 kBSwapTotal: 4095992 kBSwapFree: 4095788 kBDirty: 186968 kBWriteback: 0 kBAnonPages: 342384 kBMapped: 140812 kBSlab: 148064 kBPageTables: 6824 kBNFS_Unstable: 0 kBBounce: 0 kBCommitLimit: 8250508 kBCommitted_AS: 2795520 kBVmallocTotal: 116728 kBVmallocUsed: 5788 kBVmallocChunk: 110588 kBHugePages_Total: 0HugePages_Free: 0HugePages_Rsvd: 0Hugepagesize: 2048 kBNick Upson, Telensa Ltd, Senior Operations Network Engineerdirect +44 (0) 1799 533252, support hotline +44 (0) 1799 399200On 5 May 2015 at 15:21, Ann Harrison aharrison@... [firebird-support] <firebird-support@yahoogroups.com> wrote:Hi Nick,
...I have a system that is slowing down the longer it stays running and I'd like to know why.Is there any evidence I can gather before I reboot the system which I expect (from past experience) will return the system to the better performanceHmmm.... If rebooting will solve the problem and you don't have a very long running transaction, then I doubt that garbage accumulation or collection is the source of the problem.Nor is there anything else wrong with your physical database - fragmentation or whatever.I'd look at memory usage - using both Firebird and OS tools. Look for paging before you reboot.After you reboot, track memory usage daily or more often. It doesn't take much of a leak - or unfortunate caching - to built up over month of 27 tps.Accelerating the move to 2.5.4 would also be a good idea, both because it may correct the problem and because it probably offers better diagnostic tools for this sort of problem.Good luck,Ann