[CentOS] Sluggish server with big array [SOLVED]

Sun Jan 20 21:59:43 UTC 2013
Guy Boisvert <boisvert.guy at videotron.ca>

Le 2013-01-15 10:35, Paul Heinlein a écrit :
> On Tue, 15 Jan 2013, Guy Boisvert wrote:
>
>>     I have a couple of samba shares from the 11 TB array (all of them 
>> are on the 11TB array).  The strange behavior is that if i "ls -al 
>> /home/data", i have to wait 7-8 seconds to see the output. If i do a 
>> simple ls, output is instantaneous.  I see about the same delay when 
>> i access the samba shares from the server (related ?).  I don't know 
>> where to start with this!
>
> This sounds like it might be an issue with cacheing user info.
>
> Do you have a remote authentication server, e.g., LDAP? Are you 
> running nscd or sssd? Does re-starting the cacheing daemon help?
>


Hi Paul,

     You were right: I turned off SMB, NMB & Winbind and ls -al on the 
large array become fast as usual.  Digging a little deeper, i found that 
some of the sub-directories in /home/data had been restored from another 
server and that they showed in unknown group "10432" in ls -al .  So i 
just did:

[root at radium home]# chgrp -R "domain users"  /home/data

     So in conclusion, it seems that my "ls -al" on the filesystem 
containing unknown GID translated into queries to Active Directory and 
for whatever reason, resulted in a delay of several seconds (like 10-15 
seconds).

Thanks Paul again.


Guy Boisvert
IngTegration inc.
http://www.ingtegration.com