Wierd memory stuff on ServerMatrix box
OK, so I've been tweaking the performance of my web/mysql server quite a bit (primarily myql buffers etc) lately, and have noticed some odd RAM trends. Here is my current setup info:Processor Information
Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Celeron(R) CPU 2.40GHz
Processor #1 speed: 2423.945 MHz
Processor #1 cache size: 128 KB
System Information
Linux wheelspecs.com 2.4.21-27.0.2.EL #1 Wed Jan 12 23:46:37 EST 2005 i686 i686 i386 GNU/Linux
Memory Information
Memory: 1528772k/1564608k available (1539k kernel code, 31228k reserved, 1071k data, 164k init, 647104k highmem)
Current Memory Usage
total used free shared buffers cached
Mem: 1533404 1490808 42596 0 134668 723872
-/+ buffers/cache: 632268 901136
Swap: 2096472 129000 1967472
Total: 3629876 1619808 2010068
PHP 4.3.10
Apache/1.3.33
4.0.25-standard
CPanel/WHM
I've attached some charts from Zabbix from the last 12hrs. It looks like for some reason, it climbs up to use all the RAM, then every few hours releases 100-250Mb of RAM, then slowly eats it back up. I've tried looking around in top etc to try and track down what's gobbling and subsequently releasing memory, but haven't had that much luck.
Are there any better tools for tracking down memory use, or any scripts you have that you can post here to help me pin this down? It's really not that critical, I'm just trying to understand why it's fluctuating so much, and make sure I don't have something floundering.
P.S. I know the SQL processes were climbing; I think that was based on some key buffers & query caching changes I made last night. Didn't appear to have any effect on the RAM usage in the same timeframe though. Part of what piqued my curiosity.