[Samba] Samba performance issues
John Coston
jcoston at u.washington.edu
Tue Sep 24 22:20:01 GMT 2002
some output from ps wauxf:
for smbd, all the processes are around this value:
parky 1963 3.5 0.1 7488 3452 ? R 07:37 15:41 \_ smbd
-D
for ldap, all of the processes are around this value:
ldap 6150 0.0 0.1 75548 5068 ? S 14:45 0:00 \_
/usr/sbin/slapd -u ldap
we have about 30 of each process running right now. If I understand
this correctly, it means that I have 30 ldap processes that are each
using 75 MB of virtual memory, which would be 2.25 GB virtual memory
for all of them.
here is the output of cat /proc/sys/vm/bdflush - this seems to indicate
that the vm is flushing every 5 seconds as indicated by vmstat?
[root at student0 root]# cat /proc/sys/vm/bdflush
40 0 0 0 500 3000 60 0 0
I'll have to wait for downtime this evening to test with ldap down.
On Tuesday, September 24, 2002, at 02:51 PM, Martin MOKREJŠ wrote:
> On Tue, 24 Sep 2002, John Coston wrote:
>
>> we are using large caches for the ldap indexes - 5 megs each for 10
>> indexes. We are not running mysql.
>> I can remove the caches and resart ldap to see what effect that has.
>
>
> First, run "ps wauxf" and look which applicatiuons have highest
> numbers in
> "MEM" and "VSZ" and "RSS" columns. Save the output.
>
> Then, just have running "vmstat 1" in one window and in another window
> shutdown ldap server. You should see after a while that the number
> under
> "cache" has significantly decreased.
>
>
>
> --
> Martin Mokrejs <mmokrejs at natur.cuni.cz>, <m.mokrejs at gsf.de>
> PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
> MIPS / Institute for Bioinformatics <http://mips.gsf.de>
> GSF - National Research Center for Environment and Health
> Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
> tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
>
>
More information about the samba
mailing list