rpc.mountd memory leak problem

Solution Verified - Updated -

Issue

  • Customer's system shows memory usage increase in rpc.mountd.
  • Customer's system does not use NFS much, but it shows increament in memory usage 0.3MB per 2 days in general.
  • Customer suspect memory leak in rpc.mountd
  • Following is the simple applcation that check memory increase in rpc.mountd and it shows increasing in every day.

    20110604/Status20110604.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110604/Status20110604.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110604/Status20110604.log- SM2 rpc.mountd 11573 24.3M 58.8M 34.5M
    -- 
    20110604/Status20110604.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110604/Status20110604.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110604/Status20110604.log- SM2 rpc.mountd 11573 24.3M 58.9M 34.6M
    -- 
    20110604/Status20110604.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110604/Status20110604.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110604/Status20110604.log- SM2 rpc.mountd 11573 24.3M 59.0M 34.7M
    -- 
    20110605/Status20110605.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110605/Status20110605.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110605/Status20110605.log- SM2 rpc.mountd 11573 24.3M 59.1M 34.8M
    -- 
    20110606/Status20110606.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110606/Status20110606.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110606/Status20110606.log- SM2 rpc.mountd 11573 24.3M 59.2M 34.9M
    -- 
    20110606/Status20110606.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110606/Status20110606.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110606/Status20110606.log- SM2 rpc.mountd 11573 24.3M 59.3M 35.0M
    -- 
    20110607/Status20110607.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110607/Status20110607.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110607/Status20110607.log- SM2 rpc.mountd 11573 24.3M 59.4M 35.1M
    -- 
    20110607/Status20110607.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110607/Status20110607.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110607/Status20110607.log- SM2 rpc.mountd 11573 24.3M 59.5M 35.2M
    -- 
    20110608/Status20110608.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110608/Status20110608.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110608/Status20110608.log- SM2 rpc.mountd 11573 24.3M 59.6M 35.3M
    -- 
    20110609/Status20110609.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110609/Status20110609.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110609/Status20110609.log- SM2 rpc.mountd 11573 24.3M 59.7M 35.4M
    -- 
    20110609/Status20110609.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110609/Status20110609.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110609/Status20110609.log- SM2 rpc.mountd 11573 24.3M 59.8M 35.5M
    -- 
    20110610/Status20110610.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110610/Status20110610.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110610/Status20110610.log- SM2 rpc.mountd 11573 24.3M 59.9M 35.6M
    -- 
    20110610/Status20110610.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110610/Status20110610.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110610/Status20110610.log- SM2 rpc.mountd 11573 24.3M 60.0M 35.7M
    -- 
    20110611/Status20110611.log: S8406 REPORT - MEMORY LEAKAGE SUSPECT PROCESS
    20110611/Status20110611.log- NODE PROCESS PID MEM_PRE MEM_NOW MEM_DIFF
    20110611/Status20110611.log- SM2 rpc.mountd 11573 24.3M 60.1M 35.8M
    ....
    

Environment

  • OS: Red Hat Enterprise Linux 4 Update 5
  • nfs-utils: prior 1.0.6-87

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content