//
× We are currently experience some connectivity issues related to apps.readynas.com.Check for Updates.
× We are experiencing an outage of our ReadyCloud service and are working to resolve the issue..
× ReadyNAS Board Restructure - Complete - Please Read and Comment
× Nighthawk Pro Gaming is Streaming Live on Twitch! Live Q&A with the NPG Team and our Sponsors! (watch now…)

This topic has been closed to new posts due to inactivity. We hope you'll join the conversation by posting to an open topic or starting a new one.

NETGEAR ® COMMUNITY
  • Downloads
  • MyNETGEAR
  • Community
  • Support
  • Netgear
  • United States
    • 中国 (汉语)
    • Deutschland (Deutsch)
    • España (Español)
    • France (Français)
    • Italia (Italiano)
    • 日本 (日本語)
    • Netherlands (Dutch)
    • Sweden (Svenska)
    • United States (English)
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
  • English
  • /
  • NETGEAR Forum
  • /
  • Business Solutions
  • /
  • ReadyNAS Network Storage
  • /
  • Using your ReadyNAS in Business & Home
  • /
  • Re: Slow login
Log In
Join Now
  • Community Home
  • Community Browser:
  • NETGEAR Website
  • Support
  • Downloads
  • MyNETGEAR
Log In
  • English
  • /
  • NETGEAR Forum
  • /
  • Business Solutions
  • /
  • ReadyNAS Network Storage
  • /
  • Using your ReadyNAS in Business & Home
  • /
  • Re: Slow login
  • Join Now
  • |
  • Log In
  • |
  • Help

Start a New Discussion

Discussion stats
  • 11 replies
  • ‎2018-06-02 05:28 AM
  • 848 views
  • 0 kudos
  • 3 in conversation
    • StephenB
    • joe_schmo
    • Danthelf
Announcements

Networking Deals Guide for Business and SoHo

Enabling Next-Gen AV over IP Networks - Analyst Day 2019

Cost effective network deployment for small business #Webinar 11/6

New Managed M4300 Fiber and PoE Switches #Webinar

Let us help with AV-over-IP proavdesign@NETGEAR.com

Evolution of PoE #NowAtNETGEAR

Insight 5.7 Features #Webinar

NETGEAR Business Produces and Services @ IFA2019 Berlin

Insight 5.7 Update Now Available

Ethernet Splitter Vs. Ethernet Switch

New Small Remote Managed PoE Switches GC108P & GC108PP

NETGEAR Insight Pro Network Management System enables higher profitability for Resellers

Top Contributors
User Count
StephenB
Guru StephenB Guru
20
Sandshark
Sandshark Master
2
JMehring
JMehring Guide
2
peet1
peet1 Guide
2
DhrDemesmaeker
DhrDemesmaeker Guide
1
See All
Latest ReadyNAS Community News:
Reply
Topic Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Printer Friendly Page
  • All forum topics
  • Previous Topic
  • Next Topic
joe_schmo
joe_schmo Tutor
Tutor
  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2018-06-02 05:28 AM
‎2018-06-02 05:28 AM

Slow login

I have an RN316, a 428, and an Ultra4.

 

On the 428 and the Ultra4, when I SSH in via Putty, I put i nmy username and then immediately, the password prompt appears.

 

With the RN316, it takes up to 30 seconds for it to appear. 

Does anyone know what could cause the system to be slow like this?

Model: RN31600|ReadyNAS 300 Series 6- Bay
Message 1 of 12
Labels:
  • Adding Disks
  • Booting
  • File Sharing
  • Insight Management App
  • Installation & Upgrade
  • Other Discussions
  • ReadyNAS OS 6 on Legacy models
  • Streaming Video & Audio
  • Using with Mac OSX
0 Kudos
Reply
StephenB
Guru StephenB Guru
Guru
  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2018-06-02 12:15 PM
‎2018-06-02 12:15 PM

Re: Slow login

Do you have disk spindown enabled on the RN316?

Message 2 of 12
0 Kudos
Reply
joe_schmo
joe_schmo Tutor
Tutor
  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2018-06-02 05:54 PM
‎2018-06-02 05:54 PM

Re: Slow login

Nope... although that would have been awesome if it were the case Smiley Happy

Message 3 of 12
0 Kudos
Reply
Highlighted
StephenB
Guru StephenB Guru
Guru
  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2018-06-03 03:21 AM
‎2018-06-03 03:21 AM

Re: Slow login

Once you do get in, perhaps run top and see if something is hogging the CPU.  Maybe also check the disk health, and the fullness of the OS partition.

Message 4 of 12
0 Kudos
Reply
joe_schmo
joe_schmo Tutor
Tutor
  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2018-07-17 02:39 PM
‎2018-07-17 02:39 PM

Re: Slow login

root@NAS:~# btrfs fi us /data | grep unall
    Device unallocated:            4.39TiB

root@NAS:~# btrfs balance status -v /data
Balance on '/data' is running
560 out of about 4334 chunks balanced (19676 considered),  87% left
Dumping filters: flags 0x7, state 0x1, force is off
  DATA (flags 0x2): balancing, usage=78
  METADATA (flags 0x2): balancing, usage=39
  SYSTEM (flags 0x2): balancing, usage=39

root@NAS:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             10M  4.0K   10M   1% /dev
/dev/md0        4.0G  3.1G  779M  81% /
tmpfs           992M     0  992M   0% /dev/shm
tmpfs           992M  5.3M  987M   1% /run
tmpfs           496M   11M  485M   3% /run/lock
tmpfs           992M     0  992M   0% /sys/fs/cgroup
/dev/md127       37T   29T  7.4T  80% /data
/dev/md127       37T   29T  7.4T  80% /home
/dev/md127       37T   29T  7.4T  80% /apps

After 13 days, it's at 87% left on the balance.  Any ideas?

Message 5 of 12
0 Kudos
Reply
StephenB
Guru StephenB Guru
Guru
  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2018-07-18 07:05 AM
‎2018-07-18 07:05 AM

Re: Slow login

Did you start this balance from the web ui, or from ssh?  If the latter, do you recall what parameters you used?

 

Also, your OS partition is very full.  What have you installed on it?

Message 6 of 12
0 Kudos
Reply
Danthelf
Danthelf Guide
Guide
  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2018-07-19 01:17 PM
‎2018-07-19 01:17 PM

Re: Slow login

Do you have the NAS joined to AD or did you ever have it joined to AD? I never really investigated it further but my NAS is doing the same and I seem to recall it started happening after I joined the NAS to AD, despite having now switched back to 'Local Users'.

 

Don't know if I'm just imagining things but at least I think that's when it started.

Message 7 of 12
0 Kudos
Reply
Danthelf
Danthelf Guide
Guide
  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2018-07-19 02:06 PM
‎2018-07-19 02:06 PM

Re: Slow login

For the sake of it I decided to look in to this further, so in order to find out what was going on I did a packet capture while logging in. The reason for the slowness is because the SSH server will attempt to do a reverse DNS lookup the hostname of the client you're connecting from before presenting you with the password prompt, so if your DNS settings are misconfigured it will have to wait for that to timeout before presenting you with the password prompt.

 

The reason why I found this to be related to me joining the NAS to my AD domain is simply because at the time I modified my DNS settings to use:

1) My DC's IP

2) google DNS

 

My DC is currently turned off (this is a home lab) so of course it will not respond to DNS queries. Removing it from the list of DNS servers resolved the issue and logins are now instant.

 

You can also stop the ssh server from attempting lookups by adding "UseDNS no" to your sshd_config

 

# echo "UseDNS no" >> /etc/ssh/sshd_config
# systemctl restart ssh

 

 

 

Message 8 of 12
0 Kudos
Reply
StephenB
Guru StephenB Guru
Guru
  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2018-07-19 05:01 PM
‎2018-07-19 05:01 PM

Re: Slow login

Thx for posting the root cause and solution to your problem Smiley Happy

Message 9 of 12
0 Kudos
Reply
joe_schmo
joe_schmo Tutor
Tutor
  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2018-07-20 02:59 PM
‎2018-07-20 02:59 PM

Re: Slow login

This is interesting... but would that explain the slow balance and the slow rsyncs from it as well?  

Message 10 of 12
0 Kudos
Reply
joe_schmo
joe_schmo Tutor
Tutor
  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2018-07-20 03:00 PM
‎2018-07-20 03:00 PM

Re: Slow login

WebUI... here are the parameters:

 

DATA (flags 0x2): balancing, usage=78
  METADATA (flags 0x2): balancing, usage=39
  SYSTEM (flags 0x2): balancing, usage=39
Message 11 of 12
0 Kudos
Reply
StephenB
Guru StephenB Guru
Guru
  • Mark as New
  • Bookmark
  • Subscribe
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2018-07-21 04:26 AM
‎2018-07-21 04:26 AM

Re: Slow login


@joe_schmo wrote:

would that explain the slow balance and the slow rsyncs from it as well?  

No it doesn't.

 


@joe_schmo wrote:

WebUI... 

When was the last time you ran a balance?

 

What firmware are you running? Netgear made a change a while back to change the usage threshold (not sure exactly when).

 

Overall, the usage threshold is defined here: https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-balance  The higher the threshold percentage, the more chunks are re-written.  

 

Message 12 of 12
0 Kudos
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Need More Help?
  • Contact Support
  • About Us
  • Investor Relations
  • Contact us
  • Careers
  • Sign Up
  • United States
    • 中国 (汉语)
    • Deutschland (Deutsch)
    • España (Español)
    • France (Français)
    • Italia (Italiano)
    • 日本 (日本語)
    • Netherlands (Dutch)
    • Sweden (Svenska)
    • United States (English)

© 1996-2019 NETGEAR®