ME-C3750-24-TE and IOS memory problem

Christophe Lucas

If you meet a IOS crash bug such as :

Pool: Processor  Free: 164996  Cause: Memory fragmentation
Alternate Pool: None  Free: 0  Cause: No Alternate pool

-Process= "HQM Stack Process", ipl= 0, pid= 112
-Traceback= 26C41C 31CB0C 3222C8 B1FDF0 B08F50 35B764 351D2C
%SYS-2-MALLOCFAIL: Memory allocation of 36688 bytes failed from 0xB1FDEC, alignment 8
Pool: Processor  Free: 164996  Cause: Memory fragmentation
Alternate Pool: None  Free: 0  Cause: No Alternate pool

-Process= "HQM Stack Process", ipl= 0, pid= 112
-Traceback= 26C41C 31CB0C 3222C8 B1FDF0 B08F50 35B764 351D2C

And your environnment is MPLS/OSPF on this kind of hardware, you can be aware of that : When you add a new OSPF neighbor to mesh your network, you can meet memory problem and crash.

Ext.js : one simple tip

Christophe Lucas
I am a network engineer, but in a small company you are able to do lot of things. I am in charge (in same time as network job) to developp second generation of customer managment tool. I have choiced to developp it in ext.js. I am in an early prototyping and evaluate this framework. It is pretty awesome !! A little tip to load data with extjs in a form :
Ext.getCmp('your-form').getForm().load({url: "load.php", params: {do: "cmd"}}); it is your friend. But you must now that your json answer must be as : { success: true, data: { clientName: "Fred. Olsen Lines", portOfLoading: "FXT", portOfDischarge: "OSL" } } You have more information to read there.

Happy new year !

Christophe Lucas

No more things to say except to : “Happy new year 2011!”

Apache2 and buffered transaction

Christophe Lucas

If you must have an Apache2 webserver which is not buffering (realtime printf) transaction, you must remove ‘deflate’ :

root@plop~# a2dismod deflate
Module deflate disabled.
Run '/etc/init.d/apache2 restart' to activate new configuration!
root@plop~# /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .
root@plop~#

Ping tool : How to learn some new stuff

Christophe Lucas
We always can learn some useful new thing in reading manual. This is what I have done and lear an interesting features by means of ping -R. What we can read in ping(8) on a Linux System : -R Record route. Includes the RECORD_ROUTE option in the ECHO_REQUEST packet and displays the route buffer on returned packets. Note that the IP header is only large enough for nine such routes. Many hosts ignore or discard this option.

It can be really useful such as :

A snowy sunday

Christophe Lucas
In normandy, we are not accustomed to much snow (20cm). But to be honest, it is really beautiful to see snowing. I think I will not saying this, when tomorrow I’m going to have to go to work. But for now : a good coffee near the fireplace is a confortable place.