
Troubleshooting Routers
3-12
In order for the memory card to accommodate a file, the file’s size must be less
than or equal to the “contiguous free space.” The “contiguous free space” is the
number of bytes of unused space.
If the file you want to store is less than the “available free space,” but more than
the “contiguous free space,” compact the existing files first. When you finish
compacting files on a memory card, the “contiguous free space” matches the
“available free space.”
Thus, if the directory display shows that the memory card has 1000 bytes of
“available free space” and 1000 bytes of “contiguous free space,” all of its free
space is available for storing files. If you store a file that is 100 bytes, the number
of bytes of “available free space” and “contiguous free space” each becomes 900
bytes. If you delete the file and display the directory, the display shows 1000 bytes
of “available free space,” but only 900 bytes of “contiguous free space.” The
100-byte file remains on the memory card, even though you “deleted” it. Thus,
only 900 bytes remain for storing additional files until you compact the existing
files.
Memory or Buffer Problem
The router may have a memory or buffer problem if the log shows an “out of
resources” or “memalloc” (memory allocation) error.
The router separates memory into these two types:
• The router reserves global memory for all buffers.
These buffers store all incoming and outgoing traffic.
• The router reserves local memory for the router software image, the routing
tables, and the forwarding tables.
The router software image includes both the operating system and executable
software modules.
Thus, the amount of local memory available determines the maximum number of
entries in a forwarding or routing table. If the router has a shortage of local
memory and an excess of global memory, you can use the configuration
parameters in the Configuration Manager’s Administration menu to increase
available local memory. Refer to Table 3-
3 to determine how much memory is
available for the type of processor in your router.
Komentáře k této Příručce