Is 1841 underpowered for my connection?

My office recently upgraded to an 8M optical ethernet connection from our old T1... we were given a free 1841 to replace our 2620...

however, it seems that the 1841 stops responding (or rather slows down to slower than a crawl) every 2.5 days or so of continuous running.

I suspect that the 128MB of RAM on this router is the culprit and am thinking of upgrading the RAM to the max of 384MB. however, since i wasn't able to see the logs (the router just was not responsive at all, so i had to restart it), i'm not certain. And considering that our 2620 only had 64MB of RAM...

can any one advise on this? Could RAM make a big difference? or should i just recommend replacing the router with a 2851 router?

thanks!

rgds,

- ron

Reply to
Ronnie Corny
Loading thread data ...

"Ronnie Corny" ha scritto nel messaggio news:f9rle1$ggj$ snipped-for-privacy@reader01.singnet.com.sg...

Hi,

Could be a memory leak or another bug in IOS... try changing the IOS.

Regards, Gabriele

Reply to
Gabriele Beltrame

messaggionews:f9rle1$ggj$ snipped-for-privacy@reader01.singnet.com.sg...

It is easy to check the memory. Sh mem provides a summary only a few lines long.

Do this a regular intervals to see if there is a gradual leak.

otl-hr-dscott#sh mem Head Total(b) Used(b) Free(b) Lowest(b) Largest(b) Processor 82E8A05C 72834980 22009088 50825892

50402700 50731424 I/O 7400000 12582912 3914932 8667980 8513056 8510588

Post some results.

Check that Free is not much smaller than Largest.

Idealy you could use say snmp to gather the stats every say minute (or more often) then you are more likely to get stats close to the crash.

Have you ttried using the console when the router stops responding?

Enable logging to a syslog server and you will be able to see any out of memory messages there.

I would have thought that an 1841 should have been about OK. I can't find at present on CCO the router performance summaries, maybe someone else knows where they are? They have always been hard to turn up but Cisco have hidden them well this time. They were there a few weeks ago for sure and I am convinced that they will still be there. I have unfortunately lost the link.

Reply to
Bod43

hi Gabriele

thanks for this tip... i forgot about IOS version... but since the router is new, i haven't registered it for smartnet and so can't download new versions (or older) of IOS for it yet...

currently, the router runs C1841-IPBASE-M version 12.4(1c)... I guess I better check cisco's site for any advisory on this IOS...

hi Bod43

thanks for this tip... yeah, i've been looking at the mem stats a bit... even using the "sh proc mem" and "sh proc cpu his"...

the cpu history for the past day or so shows hardly any cpu utilization.... memory reports on the other hand is huge... it's like 100 pages long.

0900: Head Total(b) Used(b) Free(b) Lowest(b) Largest(b) Processor 625D9F00 77750528 50281696 27468832 27468832 27346920 I/O E7000000 16777216 4100744 12676472 12637984 12624636

0901: Head Total(b) Used(b) Free(b) Lowest(b) Largest(b) Processor 625D9F00 77750528 50355196 27395332 27395332

27281256 I/O E7000000 16777216 4100692 12676524 12637984 12624636

0902: Head Total(b) Used(b) Free(b) Lowest(b) Largest(b) Processor 625D9F00 77750528 50490672 27259856 27259856

27149928 I/O E7000000 16777216 4100692 12676524 12637984 12624636

seems memory free keeps getting smaller by the minute...

well, when the router stalls, I'm rushed by the others in the office to get it started so never really got the chance to check the console... but i've enabled logging to syslog yesterday... hopefully, i'll get some more info from that soon...

It's strange that our old 2620 seems to be more capable with less memory though...

Reply to
Ronnie Corny

Ronnie Corny schrieb:

Not at all. In my experience, newer models tend to need more memory for the same operation.

Reply to
Tilman Schmidt

It seems our 1841 is leaking memory in the "Processor" pool... for the past

24 hours, it went from 27468832b "free" to 3665896b...

Is this an IOS problem? looking through the release notes, i didn't see any mention about memory leaks being addressed for the version on our router,

12.4(1c)...

would TAC be able to help even though we haven't bought smartnet for this router? (the router is barely a week old)...

thanks!

rgds,

- ron

Reply to
Ronnie Corny

you should get support from TAC for a new router by opening a TAC servcie request and providing serial number of the device

Reply to
Merv

I didn't know that - very handy.

Maybe you should reboot the router soon. Before it falls over?

This behaviour is anomalous. Routers' memory use normally stabilises and does not increase after a short while.

One 'legitimate' behaviour that I have seen cause this is the failure to specify a default route. The router then does proxy arp (well the one I saw this on was a L2 only switch) for all of the rubbish traffic the arrives over the internet. Memory fills up. Crash - Reboot.

Do you have a default route configured?

You can identify the process that is using the memory.

sh proc mem

the "holding" column is the one you want.

Should be easy enough to see the one that is bigger than 24M - there will only be one. Most likely.

To be honest this is not likely to allow you to fix it but it just might.

Post the results. post sh buff too (while the router still has memory left).

sh mem ! first few lines sh buff ! all

At least you now have a way to determine when the router is at risk of crash - when it has run out of memory - and can do a controlled reboot before this shate is reached.

Oh, the rest of the sh mem output is only of interest to the IOS developers is my guess.

Reply to
Bod43

C1841-IPBASE-M version 12.4(1c) ---YIKES - that version of IOS is ancient

ask the TAC for a STABLE 12.4 image

Reply to
Merv

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.