httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Stoll <technow...@gmx.de>
Subject Re: [users@httpd] Narrowing Down A Strange Problem
Date Wed, 15 Sep 2004 18:08:52 GMT
David P. Donahue schrieb:

> I am interested in your suggestion to "lower the MTU of your server."
> This is new to me and I would love to add it to my testing.  How would I
> lower this value?  Note, I am running Apache 1.3.31 on Slackware 10.0.

OK, here we go...
This is something your OS has to provide and is independend from Apache...
I don´t know slackware distribution but basic tools must be present...

if you become root on the system and fire up a "ifconfig" something like

eth0      Link encap:Ethernet  HWaddr 00:D0:B7:06:2B:4D
           inet addr:10.0.0.130  Bcast:10.0.0.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

should appear, if you prefer ip, type in "ip link show" an something like

1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,ALLMULTI,UP> mtu 1500 qdisc pfifo_fast 
qlen 1000
     link/ether 00:d0:b7:06:2b:4d brd ff:ff:ff:ff:ff:ff

this indicates a mtu of 1500 (normal ethernet default)

If you haven´t access to the console of the server, be aware of that any 
changes who interrupt network connectivity could cause no more access to 
your server! So be careful... ;-)

with present values
"ifconfig eth0 down; ifconfig eth0 10.0.0.130 netmask 255.255.255.0
broadcast 10.0.0.255 mtu 1250 up" (in one line!!!)
brings up the interface with desired mtu

alternative with ip:

"ip link set eth0 mtu 1250"

This should be prefered if ip is present on your server since this 
should be non destructive to your network connectivity. Replace values 
for address, netmask, broadcast and interface name with your local needs...

REMEMBER! Don´t hammer on my mailbox when a mistyped command destroys 
network access to your server until rebooted... ;-)))

Best wishes, AS


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message