A/UX: How to Adjust the Kernel Parameter NUBUFS




Article Change History

----------------------

08/31/92 - REVIEWED

* For technical accuracy.





I want to connect to Ethernet. The figures for a 5MB configuration were typed

in. Running the command



netstat -r



brings up the message



mexpand returning 0




A request to allocate memory to use for memory buffer space was denied. Wait a

short while, and see if the condition clears up before rebooting. You may

also consider increasing the size of the buffers available; adjust the kernel

parameter NUBUFS. To do this, follow these steps:



1) Log in as "root" and bring the system down into single-user mode.



2) Execute "kconfig -av | grep NMBUFS". It should return the network

memory buffers configured in the kernel. A/UX is distributed with

NMBUFS=500.



3) Type "kconfig -n /unix"



4) Type "NMBUFS=" followed by the number you would like to increase it to

followed by a carriage return. Try increasing the number of mbufs to

1000; type "NMBUFS=1000"



5) Type a Ctrl-D to exit kconfig. The shell prompt will reappear.



6) Execute "sync; sync; sync; reboot". The system will sync and reboot

itself. Bring it back up.

Published Date: Feb 18, 2012