summaryrefslogtreecommitdiff
path: root/docs/Samba3-HOWTO/TOSHARG-Speed.xml
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2005-06-28 22:52:02 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:56 -0500
commitebb732db1c1fe0963975ffd3e36787ead73ea9a1 (patch)
tree8c73301b1f6f2da9507b22f16611dd87f0926a3c /docs/Samba3-HOWTO/TOSHARG-Speed.xml
parentd61a7bd1ae10932e5ae2356423e1f20edb3d7ba5 (diff)
downloadsamba-ebb732db1c1fe0963975ffd3e36787ead73ea9a1.tar.gz
samba-ebb732db1c1fe0963975ffd3e36787ead73ea9a1.tar.bz2
samba-ebb732db1c1fe0963975ffd3e36787ead73ea9a1.zip
Update.
(This used to be commit 9144f87a2973c9cb5383878e46bfb0031351e3d8)
Diffstat (limited to 'docs/Samba3-HOWTO/TOSHARG-Speed.xml')
-rw-r--r--docs/Samba3-HOWTO/TOSHARG-Speed.xml52
1 files changed, 33 insertions, 19 deletions
diff --git a/docs/Samba3-HOWTO/TOSHARG-Speed.xml b/docs/Samba3-HOWTO/TOSHARG-Speed.xml
index c9707552e8..1221eedfb4 100644
--- a/docs/Samba3-HOWTO/TOSHARG-Speed.xml
+++ b/docs/Samba3-HOWTO/TOSHARG-Speed.xml
@@ -218,28 +218,34 @@ performance. Check the sections on the various clients in
A user wrote the following to the mailing list:
</para>
+<blockquote>
<para>
-I am running Gentoo on my server and Samba 2.2.8a. Recently
-I changed kernel version from <filename>linux-2.4.19-gentoo-r10</filename> to
-<filename>linux-2.4.20-wolk4.0s</filename>. And now I have a performance issue with Samba.
-Many of you will probably say, <quote>Move to vanilla sources!</quote>
-Well, I tried that and it didn't work. I have a 100MB LAN and two computers (Linux and
-Windows 2000). The Linux server shares directories with DivX files, the client
-(Windows 2000) plays them via LAN. Before, when I was running the 2.4.19 kernel,
-everything was fine, but now movies freeze and stop. I tried moving
-files between the server and Windows, and it is terribly slow. (John, should this be set off as an extract???????)
+<indexterm><primary>Gentoo</primary></indexterm>
+<indexterm><primary>slow network</primary></indexterm>
+I am running Gentoo on my server and Samba 2.2.8a. Recently I changed kernel version from
+<filename>linux-2.4.19-gentoo-r10</filename> to <filename>linux-2.4.20-wolk4.0s</filename>. And now I have a
+performance issue with Samba. Many of you will probably say, <quote>Move to vanilla sources!</quote> Well, I
+tried that and it didn't work. I have a 100MB LAN and two computers (Linux and Windows 2000). The Linux server
+shares directories with DivX files, the client (Windows 2000) plays them via LAN. Before, when I was running
+the 2.4.19 kernel, everything was fine, but now movies freeze and stop. I tried moving files between the
+server and Windows, and it is terribly slow.
</para>
+</blockquote>
<para>
The answer he was given is:
</para>
+<blockquote>
<para>
-Grab the mii-tool and check the duplex settings on the NIC.
-My guess is that it is a link layer issue, not an application
-layer problem. Also run ifconfig and verify that the framing
-error, collisions, and so on, look normal for ethernet. (John, should this be set off as an extract???????)
+<indexterm><primary>ifconfig</primary></indexterm>
+<indexterm><primary>framing error</primary></indexterm>
+<indexterm><primary>collisions</primary></indexterm>
+Grab the mii-tool and check the duplex settings on the NIC. My guess is that it is a link layer issue, not an
+application layer problem. Also run ifconfig and verify that the framing error, collisions, and so on, look
+normal for ethernet.
</para>
+</blockquote>
</sect1>
@@ -247,12 +253,13 @@ error, collisions, and so on, look normal for ethernet. (John, should this be se
<title>Corrupt tdb Files</title>
<para>
-Our Samba PDC server has been hosting three TB of data to our 500+ users
-[Windows NT/XP] for the last three years using Samba without a problem.
-Today all shares went very slow. Also, the main smbd kept
-spawning new processes, so we had 1600+ running SMDB's (normally we average 250).
-It crashed the SUN E3500 cluster twice. After a lot of searching, I
-decided to <command>rm /var/locks/*.tdb</command>. Happy again.
+<indexterm><primary>PDC</primary></indexterm>
+<indexterm><primary>mbd kept spawning</primary></indexterm>
+<indexterm><primary>/var/locks/*.tdb</primary></indexterm>
+Our Samba PDC server has been hosting three TB of data to our 500+ users [Windows NT/XP] for the last three
+years using Samba without a problem. Today all shares went very slow. Also, the main smbd kept spawning new
+processes, so we had 1600+ running SMDB's (normally we average 250). It crashed the SUN E3500 cluster twice.
+After a lot of searching, I decided to <command>rm /var/locks/*.tdb</command>. Happy again.
</para>
<para>
@@ -261,6 +268,8 @@ how can I detect early corruption?
</para>
<para>
+<indexterm><primary>tdbbackup</primary></indexterm>
+<indexterm><primary>nmbd</primary></indexterm>
<emphasis>Answer:</emphasis> Yes, run <command>tdbbackup</command> each time after stopping nmbd and before starting nmbd.
</para>
@@ -279,18 +288,23 @@ a lot lower than before the locks cleanup. Any ideas on keeping it top notch?
<title>Samba Performance is Very Slow</title>
<para>
+<indexterm><primary>slow performance</primary></indexterm>
A site reported experiencing very baffling symptoms with MYOB Premier opening and
accessing its data files. Some operations on the file would take between 40 and
45 seconds.
</para>
<para>
+<indexterm><primary>printer monitor</primary></indexterm>
+<indexterm><primary>pauses</primary></indexterm>
It turned out that the printer monitor program running on the Windows
clients was causing the problems. From the logs, we saw activity coming
through with pauses of about 1 second.
</para>
<para>
+<indexterm><primary>networks access</primary></indexterm>
+<indexterm><primary>printing now</primary></indexterm>
Stopping the monitor software resulted in the networks access at normal
(quick) speed. Restarting the program caused the speed to slow down
again. The printer was a Canon LBP-810 and the relevant task was