How to interpret output from Linux 'top' command?
        Posted  
        
            by 
                Ali
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Ali
        
        
        
        Published on 2012-04-08T02:22:06Z
        Indexed on 
            2012/04/08
            5:32 UTC
        
        
        Read the original article
        Hit count: 616
        
Following a discussion made HERE about how PHP-FPM consuming memory, I just found a problem in reading the memory in top command. Here is a screenshot of my top just after restarting PHP-FPM. Everything is normal: about 20 PHP-FPM processes, each consuming 5.5MB memory (0.3% of total).

Here is the aged server right before restart of PHP-FPM (one day after the previous restart). Here, we still have about 25 PHP-FPM with double memory usage (10MB indicating 0.5% of total). Thus, the total memory used should be 600-700 MB. Then, why 1.6GB memory has been used?

© Server Fault or respective owner