Re: [Samba] high cpu load

2008-10-24 Thread Matt Finlayson

Jeremy, - Thanks for your help...

We use a default user profile stored in the netlogon share.  NTUSER.DAT
does redirect the following folders:

Registry = [Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders]


Value  of type REG_EXPAND_SZ, data length 74 [0x4a]
H:\.windows_settings\Application Data

Value  of type REG_EXPAND_SZ, data length 56 [0x38]
H:\.windows_settings\Desktop

Value  of type REG_EXPAND_SZ, data length 30 [0x1e]
H:\My Documents

Value  of type REG_EXPAND_SZ, data length 80 [0x50]
H:\.windows_settings\Start Menu\Programs

Value  of type REG_EXPAND_SZ, data length 54 [0x36]
H:\.windows_settings\Recent

Value  of type REG_EXPAND_SZ, data length 62 [0x3e]
H:\.windows_settings\Start Menu

Value  of type REG_EXPAND_SZ, data length 96 [0x60]
H:\.windows_settings\Start Menu\Programs\Startup

Value  of type REG_EXPAND_SZ, data length 54 [0x36]
H:\My Documents\My Pictures

We also add a REG_DWORD value named DeleteRoamingCache to the following
registry key: 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
\DeleteRoamingCache

we also change the grouppolicy to exclude these directories in the
roaming profile:
Local Settings;Temporary Internet Files;History;Temp;My
Documents;Desktop;Recent;Start Menu;Application Data

Shouldn't the combination of these things prevent excess network traffic
related to loading a roaming profile?

We are using a default profile that was prepared on Win2k but all our
machines are fully patched XPpro.  Should we freshen up the Default User
items in the netlogon folder? 


-  
Thanks,

Matt Finlayson
School of Engineering and Computer Science
WSU Vancouver
360-546-9226

-  
Thanks,

Matt Finlayson
School of Engineering and Computer Science
WSU Vancouver
360-546-9226



-Original Message-
From: Jeremy Allison <[EMAIL PROTECTED]>
Reply-To: Jeremy Allison <[EMAIL PROTECTED]>
To: Cochran, Wayne Owen <[EMAIL PROTECTED]>
Cc: samba@lists.samba.org, Jeremy Allison <[EMAIL PROTECTED]>
Subject: Re: [Samba] high cpu load
Date: Thu, 23 Oct 2008 16:36:55 -0700

On Thu, Oct 23, 2008 at 04:22:52PM -0700, Cochran, Wayne Owen wrote:

> By client I assume you mean the user is explicitly asking for all
> this data to be transferred. This is very unlikely since this is happening
> frequently throughout the day -- sometimes 5 or 6 clients simultanously --
> so it must be something thats happening automatically.

No I don't mean the user is requesting this, I mean the client
redirector on the Windows box.

> Of course none of this explains why the RTF file is being stat'ed thousands
> of times! 

Turn up the debug level on an affected smbd using 

smbcontrol  debug 10

and then see if the client is actually requesting
this data transfer. smbd doesn't stat files unless
it's a client request so this may be a client issue,
not a server one.

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

2008-10-24 Thread Cochran, Wayne Owen
Interesting thought -- this seems to happen when the user logs in.
I tend to think the client machines are configured to automatically
cache all the crud in 'My Documents' onto the local machine
(which is a really lame idea). But I am still mystified why one file
would have to be stat'ed THOUSANDS of times. Anyway, I'll look
into it some more today and I'll see if there is some dopey anti-viral
software installed.

Wayne 

-Original Message-
From: Martin Zielinski [mailto:[EMAIL PROTECTED]
Sent: Thu 10/23/2008 11:44 PM
To: Cochran, Wayne Owen
Cc: samba@lists.samba.org
Subject: Re: [Samba] high cpu load
 
Hello,

just my 2cents.  What about the possibility, that an anti-vir tool scans 
all the files over and over?

~ Martin

Wayne Cochran schrieb:
> I think I have narrowed down the problem why smbd processes are soaking
> up so much CPU on our file server. Here are some selected samples from
> strace output as I attached to the offending smbd process:
> 
[...]
> read(5, "\0\0\0H", 4)   = 4
> read(5, "\377SMB2\0\0\0\0\30\7\310\0\0\0\0\0\0\0\0\0\0\0\0\4\0\230"..., 
> 72) = 72
> stat64(".windows_settings/Application Data/SolidWorks 
> 2008/Scheduler_2/swbo1.mdb", {st_mode=S_IFREG|0744, st_size=974848, 
> ...}) = 0
> fcntl64(13, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=25416, 
> len=1}, 0xbfa355d4) = 0
> fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=25416, 
> len=1}, 0xbfa355f4) = 0
> write(5, "\0\0\0d\377SMB2\0\0\0\0\210A\310\0\0\0\0\0\0\0\0\0\0\0"..., 
> 104) = 104
> gettimeofday({1224788202, 767660}, NULL) = 0
> select(30, [5 21 29], [], NULL, {60, 0}) = 1 (in [5], left {60, 0})
> read(5, "\0\0\0)", 4)   = 4
[...]
> 
> Is this always being read every friggin' time they log in!?!?!
> 
> Any ideas on what is going on here!?!?
> 
> --w
> Wayne O. Cochran
> Clinical Assistant Professor, Computer Science
> Washington State University Vancouver
> [EMAIL PROTECTED]
> http://ezekiel.vancouver.wsu.edu/~wayne
> 
> 
> 
> 


-- 
Martin Zielinski[EMAIL PROTECTED]   
Softwareentwicklung T +49 (0)521 94226 76   

SEH Computertechnik GmbHwww.seh.de


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

2008-10-23 Thread Martin Zielinski

Hello,

just my 2cents.  What about the possibility, that an anti-vir tool scans 
all the files over and over?


~ Martin

Wayne Cochran schrieb:

I think I have narrowed down the problem why smbd processes are soaking
up so much CPU on our file server. Here are some selected samples from
strace output as I attached to the offending smbd process:


[...]

read(5, "\0\0\0H", 4)   = 4
read(5, "\377SMB2\0\0\0\0\30\7\310\0\0\0\0\0\0\0\0\0\0\0\0\4\0\230"..., 
72) = 72
stat64(".windows_settings/Application Data/SolidWorks 
2008/Scheduler_2/swbo1.mdb", {st_mode=S_IFREG|0744, st_size=974848, 
...}) = 0
fcntl64(13, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=25416, 
len=1}, 0xbfa355d4) = 0
fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=25416, 
len=1}, 0xbfa355f4) = 0
write(5, "\0\0\0d\377SMB2\0\0\0\0\210A\310\0\0\0\0\0\0\0\0\0\0\0"..., 
104) = 104

gettimeofday({1224788202, 767660}, NULL) = 0
select(30, [5 21 29], [], NULL, {60, 0}) = 1 (in [5], left {60, 0})
read(5, "\0\0\0)", 4)   = 4

[...]


Is this always being read every friggin' time they log in!?!?!

Any ideas on what is going on here!?!?

--w
Wayne O. Cochran
Clinical Assistant Professor, Computer Science
Washington State University Vancouver
[EMAIL PROTECTED]
http://ezekiel.vancouver.wsu.edu/~wayne







--
Martin Zielinski[EMAIL PROTECTED]   
Softwareentwicklung T +49 (0)521 94226 76   

SEH Computertechnik GmbHwww.seh.de

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

2008-10-23 Thread Jeremy Allison
On Thu, Oct 23, 2008 at 04:22:52PM -0700, Cochran, Wayne Owen wrote:

> By client I assume you mean the user is explicitly asking for all
> this data to be transferred. This is very unlikely since this is happening
> frequently throughout the day -- sometimes 5 or 6 clients simultanously --
> so it must be something thats happening automatically.

No I don't mean the user is requesting this, I mean the client
redirector on the Windows box.

> Of course none of this explains why the RTF file is being stat'ed thousands
> of times! 

Turn up the debug level on an affected smbd using 

smbcontrol  debug 10

and then see if the client is actually requesting
this data transfer. smbd doesn't stat files unless
it's a client request so this may be a client issue,
not a server one.

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

2008-10-23 Thread Cochran, Wayne Owen



-Original Message-
From: Jeremy Allison [mailto:[EMAIL PROTECTED]
Sent: Thu 10/23/2008 4:17 PM
To: Cochran, Wayne Owen
Cc: samba@lists.samba.org
Subject: Re: [Samba] high cpu load
 
On Thu, Oct 23, 2008 at 02:27:27PM -0700, Wayne Cochran wrote:
> I think I have narrowed down the problem why smbd processes are soaking
> up so much CPU on our file server. Here are some selected samples from
> strace output as I attached to the offending smbd process:
>
> Culprit #1
>
> I took three sample snapshots, each lasted for several seconds, and I  
> took them
> minutes apart from each other.  I noticed many lines involved stat'ing  
> the
> a single file in the 'My Documents' subdirectory:
>
> stat64("My Documents/The Picture of Dorian Grey.rtf", {st_mode=S_IFREG| 
> 0744, st_size=0, ...}) = 0
> utimes("My Documents/The Picture of Dorian Grey.rtf", {1224548572, 0}) = 
> 0
>
> To see the frequency of these I grep'ed and use wc -l to get a line  
> count:
>
> # grep 'stat64("My Documents/The Picture of Dorian Grey.rtf"' /tmp/ 
> qqq.txt | wc -l
> 462
> # grep 'stat64("My Documents/The Picture of Dorian Grey.rtf"' /tmp/ 
> rrr.txt | wc -l
> 1065
> s# grep 'stat64("My Documents/The Picture of Dorian Grey.rtf"' /tmp/ 
> ppp.txt | wc -l
> 429
>
> Thousands of times this file is being stat'ed!?!?

What is the client doing at this point ? It's very possible
that this is what the client is requesting.


By client I assume you mean the user is explicitly asking for all
this data to be transferred. This is very unlikely since this is happening
frequently throughout the day -- sometimes 5 or 6 clients simultanously --
so it must be something thats happening automatically.

Of course none of this explains why the RTF file is being stat'ed thousands
of times! 

--w

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

2008-10-23 Thread Jeremy Allison
On Thu, Oct 23, 2008 at 02:27:27PM -0700, Wayne Cochran wrote:
> I think I have narrowed down the problem why smbd processes are soaking
> up so much CPU on our file server. Here are some selected samples from
> strace output as I attached to the offending smbd process:
>
> Culprit #1
>
> I took three sample snapshots, each lasted for several seconds, and I  
> took them
> minutes apart from each other.  I noticed many lines involved stat'ing  
> the
> a single file in the 'My Documents' subdirectory:
>
> stat64("My Documents/The Picture of Dorian Grey.rtf", {st_mode=S_IFREG| 
> 0744, st_size=0, ...}) = 0
> utimes("My Documents/The Picture of Dorian Grey.rtf", {1224548572, 0}) = 
> 0
>
> To see the frequency of these I grep'ed and use wc -l to get a line  
> count:
>
> # grep 'stat64("My Documents/The Picture of Dorian Grey.rtf"' /tmp/ 
> qqq.txt | wc -l
> 462
> # grep 'stat64("My Documents/The Picture of Dorian Grey.rtf"' /tmp/ 
> rrr.txt | wc -l
> 1065
> s# grep 'stat64("My Documents/The Picture of Dorian Grey.rtf"' /tmp/ 
> ppp.txt | wc -l
> 429
>
> Thousands of times this file is being stat'ed!?!?

What is the client doing at this point ? It's very possible
that this is what the client is requesting.

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

2008-10-23 Thread John Drescher
> Why is "My Documents" being stat'ed and read so much!?!?!
>
> Lets see what's in this directory:
>
> # pwd
> /home/yongffa/My Documents
>
>
> Almost a gigabyte of stuff?
>
> # ls -l
> total 29380
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-06-11 15:05 네이트온 받은 파일
> -rwxr--r-- 1 yongffa Domain Users  3259699 2008-08-14 17:16
> ALZip_eng_632.exe
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-01-29 11:38 ansys
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-09-29 21:45 conver3k
> -rwxr--r-- 1 yongffa Domain Users   109977 2008-09-29 21:45 conver3k.zip
> -rwxr--r-- 1 yongffa Domain Users 1658 2008-03-27 16:39 Default.rdp
> -rwxr--r-- 1 yongffa Domain Users   78 2008-10-21 10:47 desktop.ini
> drwxr-xr-x 3 yongffa Domain Users 4096 2008-04-15 20:06
> fesafe.version.5.3
> -rwxr--r-- 1 yongffa Domain Users   824519 2008-09-29 21:35
> free_converter_setup.exe
> -rwxr--r-- 1 yongffa Domain Users32768 2008-06-25 12:31
> helium.vancouver.wsu.edu-0001.pst
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-10-14 18:26 MATLAB
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-10-21 10:48 My Music
> drwxr-xr-x 3 yongffa Domain Users 4096 2008-10-21 10:48 My Pictures
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-06-25 12:46 My Videos
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-04-25 17:54
> Our.Finest.Hour.2008.DVDRip.x264.AC3.iNT-DG
> -rwxr--r-- 1 yongffa Domain Users32768 2008-08-04 16:29 outlook.pst
> -rwxr--r-- 1 yongffa Domain Users 25739264 2008-06-28 06:01 Personal
> Folders(1).pst
> [EMAIL PROTECTED]:/home/yongffa/My Documents# du -sk .
> 971504  .
>
>
> # ls -lR | more
> total 29380
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-06-11 15:05 네이트온 받은 파일
> -rwxr--r-- 1 yongffa Domain Users  3259699 2008-08-14 17:16
> ALZip_eng_632.exe
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-01-29 11:38 ansys
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-09-29 21:45 conver3k
> -rwxr--r-- 1 yongffa Domain Users   109977 2008-09-29 21:45 conver3k.zip
> -rwxr--r-- 1 yongffa Domain Users 1658 2008-03-27 16:39 Default.rdp
> -rwxr--r-- 1 yongffa Domain Users   78 2008-10-21 10:47 desktop.ini
> drwxr-xr-x 3 yongffa Domain Users 4096 2008-04-15 20:06
> fesafe.version.5.3
> -rwxr--r-- 1 yongffa Domain Users   824519 2008-09-29 21:35
> free_converter_setup.exe
> -rwxr--r-- 1 yongffa Domain Users32768 2008-06-25 12:31
> helium.vancouver.wsu.edu-0001.pst
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-10-14 18:26 MATLAB
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-10-21 10:48 My Music
> drwxr-xr-x 3 yongffa Domain Users 4096 2008-10-21 10:48 My Pictures
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-06-25 12:46 My Videos
> drwxr-xr-x 2 yongffa Domain Users 4096 2008-04-25 17:54
> Our.Finest.Hour.2008.DVDRip.x264.AC3.iNT-DG
> -rwxr--r-- 1 yongffa Domain Users32768 2008-08-04 16:29 outlook.pst
> -rwxr--r-- 1 yongffa Domain Users 25739264 2008-06-28 06:01 Personal
> Folders(1).pst
>
> ./네이트온 받은 파일:
> total 848532
> -rwxr--r-- 1 yongffa Domain Users   5035651 2008-01-31 15:05
> loding206mpa-relaxation-ellipse-crack-1mm-06mm-Al2024-0114.inp
> -rwxr--r-- 1 yongffa Domain Users 862866940 2008-01-31 14:08
> relaxation-ellipse-Al2024-comp-bogang-bojo.odb
> -rwxr--r-- 1 yongffa Domain Users125952 2008-01-31 16:25
> SsCx-ellipse-1mm-06mm-al2024-jan23.xls
>
> ./ansys:
> total 4
> -rwxr--r-- 1 yongffa Domain Users 818 2008-01-29 11:38 STATUS.lis
> 
>
> Is this always being read every friggin' time they log in!?!?!
>
For roaming profiles yes. Unless you set these folders to not sync
(registry or policy settings) the entire 1GB will be transferred when
you logon and logoff.

John
-- 
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 load

2008-10-23 Thread Wayne Cochran

I think I have narrowed down the problem why smbd processes are soaking
up so much CPU on our file server. Here are some selected samples from
strace output as I attached to the offending smbd process:

Culprit #1

I took three sample snapshots, each lasted for several seconds, and I  
took them
minutes apart from each other.  I noticed many lines involved stat'ing  
the

a single file in the 'My Documents' subdirectory:

stat64("My Documents/The Picture of Dorian Grey.rtf", {st_mode=S_IFREG| 
0744, st_size=0, ...}) = 0
utimes("My Documents/The Picture of Dorian Grey.rtf", {1224548572, 0})  
= 0


To see the frequency of these I grep'ed and use wc -l to get a line  
count:


# grep 'stat64("My Documents/The Picture of Dorian Grey.rtf"' /tmp/ 
qqq.txt | wc -l

462
# grep 'stat64("My Documents/The Picture of Dorian Grey.rtf"' /tmp/ 
rrr.txt | wc -l

1065
s# grep 'stat64("My Documents/The Picture of Dorian Grey.rtf"' /tmp/ 
ppp.txt | wc -l

429

Thousands of times this file is being stat'ed!?!?

Culprit #2 : some small samples from strace:

read(5, "\0\0\0H", 4)   = 4
read(5,  
"\377SMB2\0\0\0\0\30\7\310\0\0\0\0\0\0\0\0\0\0\0\0\4\0\230"..., 72) = 72
stat64(".windows_settings/Application Data/SolidWorks 2008/Scheduler_2/ 
swbo1.mdb", {st_mode=S_IFREG|0744, st_size=974848, ...}) = 0
fcntl64(13, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=25416,  
len=1}, 0xbfa355d4) = 0
fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=25416,  
len=1}, 0xbfa355f4) = 0
write(5, "\0\0\0d\377SMB2\0\0\0\0\210A\310\0\0\0\0\0\0\0\0\0\0\0"...,  
104) = 104

gettimeofday({1224788202, 767660}, NULL) = 0
select(30, [5 21 29], [], NULL, {60, 0}) = 1 (in [5], left {60, 0})
read(5, "\0\0\0)", 4)   = 4

tat64("My Documents", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(13, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=17928,  
len=1}, 0xbfa355d4) = 0
fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=17928,  
len=1}, 0xbfa355f4) = 0
write(5, "\0\0\0d\377SMB2\0\0\0\0\210A\310\0\0\0\0\0\0\0\0\0\0\0"...,  
104) = 104

gettimeofday({1224788207, 113052}, NULL) = 0
select(30, [5 21 29], [], NULL, {60, 0}) = 1 (in [5], left {60, 0})
read(5, "\0\0\0f", 4)   = 4
read(5, "\377SMB2\0\0\0\0\30\7\310\0\0\0\0\0\0\0\0\0\0\0\0\4\0L"...,  
102) = 102

stat64("My Documents", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(13, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=17928,  
len=1}, 0xbfa355d4) = 0
fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=17928,  
len=1}, 0xbfa355f4) = 0
write(5, "\0\0\0t\377SMB2\0\0\0\0\210A\310\0\0\0\0\0\0\0\0\0\0\0"...,  
120) = 120

gettimeofday({1224788207, 117652}, NULL) = 0
select(30, [5 21 29], [], NULL, {60, 0}) = 1 (in [5], left {60, 0})
read(5, "\0\0\0p", 4)   = 4
read(5, "\377SMB\242\0\0\0\0\30\7\310\0\0\0\0\0\0\0\0\0\0\0\0\4"...,  
112) = 112

stat64("My Documents", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
gettimeofday({1224788207, 120639}, NULL) = 0
fcntl64(13, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=17928,  
len=1}, 0xbfa35ba4) = 0
fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=17928,  
len=1}, 0xbfa35b34) = 0

stat64("My Documents", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
gettimeofday({1224788207, 122416}, NULL) = 0

Why is "My Documents" being stat'ed and read so much!?!?!

Lets see what's in this directory:

# pwd
/home/yongffa/My Documents


Almost a gigabyte of stuff?

# ls -l
total 29380
drwxr-xr-x 2 yongffa Domain Users 4096 2008-06-11 15:05 네이트 
온 받은 파일
-rwxr--r-- 1 yongffa Domain Users  3259699 2008-08-14 17:16  
ALZip_eng_632.exe

drwxr-xr-x 2 yongffa Domain Users 4096 2008-01-29 11:38 ansys
drwxr-xr-x 2 yongffa Domain Users 4096 2008-09-29 21:45 conver3k
-rwxr--r-- 1 yongffa Domain Users   109977 2008-09-29 21:45 conver3k.zip
-rwxr--r-- 1 yongffa Domain Users 1658 2008-03-27 16:39 Default.rdp
-rwxr--r-- 1 yongffa Domain Users   78 2008-10-21 10:47 desktop.ini
drwxr-xr-x 3 yongffa Domain Users 4096 2008-04-15 20:06  
fesafe.version.5.3
-rwxr--r-- 1 yongffa Domain Users   824519 2008-09-29 21:35  
free_converter_setup.exe
-rwxr--r-- 1 yongffa Domain Users32768 2008-06-25 12:31  
helium.vancouver.wsu.edu-0001.pst

drwxr-xr-x 2 yongffa Domain Users 4096 2008-10-14 18:26 MATLAB
drwxr-xr-x 2 yongffa Domain Users 4096 2008-10-21 10:48 My Music
drwxr-xr-x 3 yongffa Domain Users 4096 2008-10-21 10:48 My Pictures
drwxr-xr-x 2 yongffa Domain Users 4096 2008-06-25 12:46 My Videos
drwxr-xr-x 2 yongffa Domain Users 4096 2008-04-25 17:54  
Our.Finest.Hour.2008.DVDRip.x264.AC3.iNT-DG

-rwxr--r-- 1 yongffa Domain Users32768 2008-08-04 16:29 outlook.pst
-rwxr--r-- 1 yongffa Domain Users 25739264 2008-06-28 06:01 Personal  
Folders(1).pst

[EMAIL PROTECTED]:/home/yongffa/My Documents# du -sk .
971504  .


# ls -lR | more
total 29380
drwxr-xr-x 2 yongffa Domain Users 4096 2008-06-11 15:05 네이트 
온 받은

Re: [Samba] high cpu load with 3.0.20b (not using ldap)

2005-10-21 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sebastian Held wrote:
| Am Donnerstag, 20. Oktober 2005 16:49 schrieben Sie:
|> Looks like and issue in the nscd client request.  The getpwnam() lookup
|> is happening because a client is trying to connect to
|> \\server\colorlaser5quota and you have a [homes] section.
|>
|> Does this help you out?
|
| Thanks for your very fast response! For now I've shut down
| nscd, lets have  look if that helps...
| I'm wondering why samba searches for a home dir, but
| client requests a printer service? Is this intended?
| May be I add the printer section again and disable it.

It's by design.  The order of searching for a matching
share is

(a) explicitly defined shares
(b) if [homes] is defined, a matching username
(c) if [printers] is defined, a matching printer name




cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"There's an anonymous coward in all of us."   --anonymous
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDWOcqIR7qMdg1EfYRArUGAKCK/6WFvUBZonHwkFGzkZadfFWenACg8TqW
/u7JbJbPZUdNiFqD34j2LPI=
=5+qX
-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 load with 3.0.20b (not using ldap)

2005-10-20 Thread Sebastian Held
Am Donnerstag, 20. Oktober 2005 16:49 schrieben Sie:
> Looks like and issue in the nscd client request.  The getpwnam() lookup
> is happening because a client is trying to connect to
> \\server\colorlaser5quota and you have a [homes] section.
>
> Does this help you out?

Thanks for your very fast response! For now I've shut down nscd, lets have 
look if that helps...
I'm wondering why samba searches for a home dir, but client requests a printer 
service? Is this intended?
May be I add the printer section again and disable it.

Thanks again,
S. Held
-- 
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 load with 3.0.20b (not using ldap)

2005-10-20 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sebastian Held wrote:
> Hi,
> 
> I've a problem, with a cpu load (>66% while running a separate 
> virusscanner with another 30%) of one of my smbd processes.
> It only happens occasionally (approx. 2 times in the last 4 weeks).
> The backtrace is attached. It seems to me, that smbd is
> looking for colorlaser5quota. This printer isn't attached anymore to
> the server and neither cups nor samba configuration
> files include a section for this printer.   Is this error due
> to a bug in libc.so.6 not returning from __nis_hash() ? Or
> because this machine is a NIS-server?
> 
...
> 
> (gdb) bt
> #0  0x403172a2 in __nis_hash () from /lib/tls/libc.so.6
> #1  0x403187e6 in __nscd_cache_search () from /lib/tls/libc.so.6
> #2  0x40317374 in nscd_getpw_r () from /lib/tls/libc.so.6
> #3  0x40317662 in __nscd_getpwnam_r () from /lib/tls/libc.so.6
> #4  0x402b92bd in getpwnam_r@@GLIBC_2.1.2 () from /lib/tls/libc.so.6
> #5  0x402b8c81 in getpwnam () from /lib/tls/libc.so.6
> #6  0x081f038c in sys_getpwnam (name=0x798716af "") at system.c:883
> #7  0x081f4658 in getpwnam_alloc (name=0xbfffe500 "COLORLASER5QUOTA") at 
> util_pw.c:103

Looks like and issue in the nscd client request.  The getpwnam() lookup
is happening because a client is trying to connect to
\\server\colorlaser5quota and you have a [homes] section.

Does this help you out?







cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"There's an anonymous coward in all of us."   --anonymous
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDV66EIR7qMdg1EfYRAqg1AJ9JnnpwSTqJ6gjXbcbSNYZczx972ACfaD+x
9Dxq5ropYf6P3bbqJbgV3Zk=
=67Gk
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba