NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
PeterMargolis
Jan 05, 2021Aspirant
ReadyNAS RN626X 6.10.2 Random hanging
Hello, I have been having problems with the RN626X firmware 6.10.2. We are using it to run Egnyte storage sync app for over 2 years with little issues. For the past month now, the unit has been...
- Jan 05, 2021
It is a good suggesting to try and monitor the NAS a bit, before the crash happens. It does kinda require that you know when it is about to go down though. Another option could be to fetch top every minute or so and direct that output into a file. That way, you can go back and look at the file post crash. It would also be useful to grab something like dmesg in the process. Along the lines of:
while true; do top -b -n 1 >> /data/share/top.txt; dmesg -T | tail -n50 >> /data/share/dmesg.txt; sleep 60; done
Replace share with an actual share name of yours, where you want these logs stored. Also be aware that if your Putty session dies, then the loop dies too (i.e. logging stops) so it would be advisable to use nohup in front on the command to allow it to run continuously. There are many ways to make such a command into a more elaborate script, etc. It is all a Linux Bash shell so the world is your oyster here. Personally, I would make it into a bash script file and run that as it is more easy to edit and add to, that way.
I can also help take a look a current log-set for you, if you like. Might find something in there. Just download the cluster logs (System > Logs > Download Logs) and download the log zip file. Hereafter, upload that zip to a Google Drive, Dropbox or similar and PM me the link to download them. Don't post them publicly here.
Cheers
Sandshark
Jan 05, 2021Sensei - Experienced User
Do you have the option to leave an SSH session open running top to see the status of the processes when the lock-up occurs? There may also be kernal log entries in the log .zip that give some clues.
PeterMargolis
Jan 05, 2021Aspirant
Thank you for the suggestion Sandshark. I will leave the top running. Where and how do I look at the log .zip file(s)?
PM
- rn_enthusiastJan 05, 2021Virtuoso
It is a good suggesting to try and monitor the NAS a bit, before the crash happens. It does kinda require that you know when it is about to go down though. Another option could be to fetch top every minute or so and direct that output into a file. That way, you can go back and look at the file post crash. It would also be useful to grab something like dmesg in the process. Along the lines of:
while true; do top -b -n 1 >> /data/share/top.txt; dmesg -T | tail -n50 >> /data/share/dmesg.txt; sleep 60; done
Replace share with an actual share name of yours, where you want these logs stored. Also be aware that if your Putty session dies, then the loop dies too (i.e. logging stops) so it would be advisable to use nohup in front on the command to allow it to run continuously. There are many ways to make such a command into a more elaborate script, etc. It is all a Linux Bash shell so the world is your oyster here. Personally, I would make it into a bash script file and run that as it is more easy to edit and add to, that way.
I can also help take a look a current log-set for you, if you like. Might find something in there. Just download the cluster logs (System > Logs > Download Logs) and download the log zip file. Hereafter, upload that zip to a Google Drive, Dropbox or similar and PM me the link to download them. Don't post them publicly here.
Cheers
- SandsharkJan 05, 2021Sensei - Experienced User
Of course, if the entire NAS crashes, then top is also going to stop. But my experience on similar apparent lock-ups is that only readynasd and/or some other critical process(es) have either stopped or are using nearly 100% of CPU time and top is still there giving you a display, so long as you already had it running (since you may be locked out of a new SSH connection). rn_enthusiast 's suggestion would be the next step if the SSH session closes or top also stops without showing a last displayed process list.
- PeterMargolisJan 05, 2021Aspirant
Thank you both Sandshark and rn_enthusiast for your suggestions. I will know more in 2 or 3 days if the previous pattern of hanging holds and I will report back.
PM
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!