RE: [smartos-discuss] Re: Any possibilities in python OSError?

2016-05-17 Thread Fred Liu


> -Original Message-
> From: Richard Elling [mailto:richard.ell...@richardelling.com]
> Sent: 星期一, 五月 16, 2016 21:45
> To: smartos-discuss@lists.smartos.org
> Subject: Re: [smartos-discuss] Re: Any possibilities in python OSError?
> 
> 
> > On May 16, 2016, at 3:40 AM, Fred Liu <fred.f...@gmail.com> wrote:
> >
> > It could be the slow read from the nfs path -- "/tool/iqs/run".
> > We see nfs v4 client not working in LX brand(I have already opened OS-5265).
> > And nfs v3 client is working but it has obvious lag( about 5-10
> > seconds) at the very first try to mount nfs path.
> > As long as the mount is done, there is no obvious lag in coming
> > nfs-related operations.
> > And further, we find if SmartOS where LX brands are living in serve
> > nfs service, the lag won't appear.
> > It could be something happened in network path.
> 
> this is consistent with name lookup timeout. double check dns, ldap, and all
> other name sources.
> 

I checked /etc/nsswitch.conf and I get following:
hosts:  files nis dns

The nfs server has already put in /etc/hosts file.

The lag on the very first try to mount is still there.


Thanks.

Fred


---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


Re: [smartos-discuss] Re: Any possibilities in python OSError?

2016-05-17 Thread Fred Liu
2016-05-16 21:44 GMT+08:00 Richard Elling :
>
>> On May 16, 2016, at 3:40 AM, Fred Liu  wrote:
>>
>> It could be the slow read from the nfs path -- "/tool/iqs/run".
>> We see nfs v4 client not working in LX brand(I have already opened OS-5265).
>> And nfs v3 client is working but it has obvious lag( about 5-10
>> seconds) at the very first try to mount nfs path.
>> As long as the mount is done, there is no obvious lag in coming
>> nfs-related operations.
>> And further, we find if SmartOS where LX brands are living in serve
>> nfs service, the lag won't appear.
>> It could be something happened in network path.
>
> this is consistent with name lookup timeout. double check dns, ldap, and all 
> other name sources.
>

I check  /etc/nsswitch.conf and I get following:
hosts:  files nis dns

The nfs server has already been put in /etc/hosts file.

The lag on the very first try to mount is still there.


Thanks.

Fred


---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com