Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
The routing protocol process (rpd) is a software process within the Routing Engine software that controls the routing protocols that run on the device
Question Why does the routing protocol process use excessive memory? Answer The routing protocol process uses hundreds of megabytes of RAM in the Routing Engine to store information needed for the operation of routing and related protocols, such as BGP, OSPF, IS-IS, RSVP, LDP and MPLS
Question How can I check the amount of memory the routing protocol process is using? Answer You can check routing protocol process memory usage by entering the show system processes and the show task memory Junos OS command-line interface (CLI) operational mode commands
Question How do I determine whether there is a memory leak in the routing protocol process? Answer Memory leaks are typically the result of a seemingly unbounded growth in the memory usage of a process as reported by the show system processes extensive command. There are two classes of memory leaks that the routing protocol process can experience: The first class occurs when the allocated memory that is no longer in use is not freed
Question I just deleted a large number of routes from the routing protocol process. Why is it still using so much memory? Answer The show system processes extensive command displays a RES value measured in kilobytes which represents the amount of program memory resident in the physical memory
You can use the request system core-dumps command to perform a non-fatal core-dump without aborting the routing protocol process. To do this, the routing protocol process is forked, generating a second copy, and then aborted. This process can double the memory consumed by the two copies of the routing protocol processes, pushing the system into swap. For more information, see Junos OS Routing Protocols Library for Routing Devices #routingprotocolprocess #FAQ #JunosOS #JUNOS
See matching posts in thread - http://www.juniper.net/techpubs/en_US/junos13.1/...
The show system processes extensive command displays a RES value measured in kilobytes
Answer The RPD OS MEMHIGH message is written into the system message file if the routing protocol process is running out of memory. This message alerts you that the routing protocol process is using the indicated amount and percentage of Routing Engine memory, which is considered excessive. This message is generated either because the routing protocol process is leaking memory or the use of system resources is excessive, perhaps because routing filters are misconfigured or the configured network topology is very complex. When the memory utilization for the routing protocol process is using all available Routing Engine DRAM memory (Routing Engines with maximum 2 GB DRAM) or reaches the limit of 2 GB of memory (Routing Engines with 4 GB DRAM), a message of the following form is written every minute in the syslog message file
Answer The source of a routing protocol process memory leak can usually be identified by dumping the timers for each task. You can use the show task command to display routing protocol tasks on the Routing Engine