[Samba] High CPU with 3.0.14a in FC4

Brad Horrocks (Secure Office Services) bradhorrocks at secureoffice.com.au
Tue Jul 26 00:53:08 GMT 2005


Jerry,
The strace I ran output is:-

[root at sos01ww samba]# strace  -p 769 -cfqrT
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 49.57   32.179651          40    805953           write
 20.04   13.007770          16    806396           geteuid32
 17.97   11.667455          31    373072       367 stat64
  9.07    5.887281          19    310574           time
  1.03    0.669108         295      2271           select
  0.90    0.582924          18     32319     32319 getxattr
  0.48    0.314502           9     34337           gettimeofday
  0.41    0.265785         117      2272           send
  0.20    0.128447          98      1308           pread
  0.11    0.072433          16      4543           read
  0.07    0.045187          32      1434           getdents64
  0.07    0.042480       21240         2           rename
  0.03    0.018578          11      1717           fcntl64
  0.02    0.009879          30       333         5 open
  0.01    0.005523           9       616           fstat64
  0.01    0.004163          13       318           close
  0.00    0.003181          21       148           setresuid32
  0.00    0.001974           5       398           getegid32
  0.00    0.001259           7       187       176 kill
  0.00    0.000971           7       148           setresgid32
  0.00    0.000883           9       101           setgroups32
  0.00    0.000762          51        15           pwrite
  0.00    0.000467           5        99           getgid32
  0.00    0.000427           4        99           getuid32
  0.00    0.000321          11        29           flock
  0.00    0.000282         141         2           unlink
  0.00    0.000154          39         4           ftruncate64
  0.00    0.000078          11         7           dup2
  0.00    0.000077          26         3           brk
  0.00    0.000063           5        14           umask
  0.00    0.000050          17         3           chdir
  0.00    0.000050          17         3         1 lstat64
  0.00    0.000018           3         6           nanosleep
  0.00    0.000015           8         2         2 fgetxattr
  0.00    0.000012          12         1           getpeername
  0.00    0.000004           4         1           getgroups32
------ ----------- ----------- --------- --------- ----------------
100.00   64.912214               2378735     32870 total


This was taken during the application startup which takes upwards of 60 seconds...

The qmail servers don't appear to be using any additional cpu although it is
hard to tell as qmail is used only for 5 users.

I noticed the getxattr errors and was wondering if the upgrade from FC1 to FC4
(kernel 2.4 -> 2.6) would introduce some sort of application overhead for
acl's that was not present in the 2.4 kernel???  Just a thought.

If there is anything else I can provide please let me know


Regards

Brad Horrocks


--
Secure Office Services 
ABN 75 196 364 531
19 Burrendong Road
COOMBABAH QLD 4216
Ph. +61 7 5537 4955
Fx. +61 7 5537 4966
web: http://www.secureoffice.com.au

---------- Original Message -----------
From: "Gerald (Jerry) Carter" <jerry at samba.org>
To: bradhorrocks at secureoffice.com.au
Cc: samba at lists.samba.org, fenlason at redhat.com
Sent: Mon, 25 Jul 2005 08:07:31 -0500
Subject: Re: [Samba] High CPU with 3.0.14a in FC4

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Brad Horrocks (Secure Office Services) wrote:
> 
> | The problem we are experiencing is that the standard
> | daemon processes [SMBD] are using significantly more
> | CPU [processes that were running a 10% are now running
> | at over 40%].
> |
> | Has anybody seen or heard of this before or is this a
> | FC4 specific problem. The boxes are primarily Windows
> | file sharers but they do run qmail as well.
> 
> I've found what I believe to be kerberos bugs in FC4.
> Brad, Can you do an strace and see what the processes
> are doing ?  Are other servers (e.g. qmail) using more
> CPU as well?  Or just smbd?
> 
> Jay, have you observed any similar behavior (increaed
> CPU usage).
> 
> cheers, jerry
> =====================================================================
> Alleviating the pain of Windows(tm)      ------- http://www.samba.org
> GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
> "I never saved anything for the swim back."     Ethan Hawk in Gattaca
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFC5OQTIR7qMdg1EfYRAtwzAKDi/+Bu1P8UosaGTER2951K6PRejgCg259I
> bEwvLUPc1NJ+9DFUh0y63a4=
> =Xn+e
> -----END PGP SIGNATURE-----
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
------- End of Original Message -------



More information about the samba mailing list