Re: [Samba] High CPU with 3.0.14a in FC4

2005-07-26 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brad Horrocks (Secure Office Services) wrote:
| Jerry,
| The strace I ran output is:-
|
| [EMAIL PROTECTED] samba]# strace  -p 769 -cfqrT
| % time seconds  usecs/call callserrors syscall
| -- --- --- - - 
|  49.57   32.179651  40805953   write
|  20.04   13.007770  16806396   geteuid32
...

|
| 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.

Probably not by default.  Is this a print server by chance ?
Have you run ethereal and looked to see if you have a chatty
client?  I'm wondering about those writes.




cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC5jFpIR7qMdg1EfYRAlwaAJ9QDLdGtFk0xbqYkfRDYG6X+fZxQwCgkUCk
pC8Zgn+ArTAXhny7soOzvU0=
=MVsP
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] High CPU with 3.0.14a in FC4

2005-07-25 Thread Gerald (Jerry) Carter

-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


Re: [Samba] High CPU with 3.0.14a in FC4

2005-07-25 Thread Brad Horrocks (Secure Office Services)
Jerry,
The strace I ran output is:-

[EMAIL PROTECTED] samba]# strace  -p 769 -cfqrT
% time seconds  usecs/call callserrors syscall
-- --- --- - - 
 49.57   32.179651  40805953   write
 20.04   13.007770  16806396   geteuid32
 17.97   11.667455  31373072   367 stat64
  9.075.887281  19310574   time
  1.030.669108 295  2271   select
  0.900.582924  18 32319 32319 getxattr
  0.480.314502   9 34337   gettimeofday
  0.410.265785 117  2272   send
  0.200.128447  98  1308   pread
  0.110.072433  16  4543   read
  0.070.045187  32  1434   getdents64
  0.070.042480   21240 2   rename
  0.030.018578  11  1717   fcntl64
  0.020.009879  30   333 5 open
  0.010.005523   9   616   fstat64
  0.010.004163  13   318   close
  0.000.003181  21   148   setresuid32
  0.000.001974   5   398   getegid32
  0.000.001259   7   187   176 kill
  0.000.000971   7   148   setresgid32
  0.000.000883   9   101   setgroups32
  0.000.000762  5115   pwrite
  0.000.000467   599   getgid32
  0.000.000427   499   getuid32
  0.000.000321  1129   flock
  0.000.000282 141 2   unlink
  0.000.000154  39 4   ftruncate64
  0.000.78  11 7   dup2
  0.000.77  26 3   brk
  0.000.63   514   umask
  0.000.50  17 3   chdir
  0.000.50  17 3 1 lstat64
  0.000.18   3 6   nanosleep
  0.000.15   8 2 2 fgetxattr
  0.000.12  12 1   getpeername
  0.000.04   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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: samba@lists.samba.org, [EMAIL PROTECTED]
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 ---

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] High CPU with 3.0.14a in FC4

2005-07-24 Thread Brad Horrocks (Secure Office Services)
hi everyone,
I've been subscribed to the mailing lists for about 18 months to 2 years but
have never had the opportunity to post.

One of our clients has a box that is a 3Ghz Pentium 4 running FC1 and 512 MB
of memory. An upgrade was performed to FC4 [2 make use of ACL's].  We haven't
yet started to implement ACL's [or made any changes to the Samba configuration].

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.

Any help would be greatly appreciated

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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba