You are not logged in.

#1 2015-01-17 08:09:19

fitzyj
Member
Registered: 2015-01-07
Posts: 12

[SOLVED] System freezing when using rsync

Hello,

I have a new build of Arch with the GDE and overall it is working very well.

There are some 'glitches', some more disruptive than others.

When using rsync over a powerline connection (I only mention the powerline connection, as, when using rsync directly via my router I have no issues) between two identical NICs/Servers both running FreeNAS, the PC I have arch installed upon/is running rsync freezes intermittently throughout the process of rsync.

The freezes are apparent by lost keyboard and mouse reply, and all screens freezing.

I have attempted to use top and gnome-system-monitor to find out the reason, but, they both list rsync as the top cpu process when the freezes happen, and, no other running process seems to 'move' in the list of processes at the same time.

This happens when I have any other applications/logins running - be it Firefox, Thunderbird, other consoles, etc.

I am using Guake as a terminal (Mainly because I cannot get gnome-terminal to work - it is installed and appears, but, selecting the icon leads to nothing appearing) - perhaps this is the cause - I would not know how else to troubleshoot other than attempting to use top and system-monitor.

Many thanks everyone.

Last edited by fitzyj (2015-01-26 13:21:09)

Offline

#2 2015-01-17 09:17:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] System freezing when using rsync

How's I/O? You can use iotop to check if top/htop output is not enough.
Have you tried running rsync with 'nice' and 'ionice' settings?

Offline

#3 2015-01-17 11:33:56

fitzyj
Member
Registered: 2015-01-07
Posts: 12

Re: [SOLVED] System freezing when using rsync

Thanks and thanks!

I'm finding it really hard to find details on applying 'nice' and 'ionice' parameters - please do you have a link/any advice?

I have googled, for example,  "rsync nice settings" - and guess what.... hmm

I looked through the MAN page - but could not find anything...

iotop was great!  It showed that it was indeed rsync maxing out - thank you for that great tool smile

Last edited by fitzyj (2015-01-17 11:34:57)

Offline

#4 2015-01-17 11:40:47

fitzyj
Member
Registered: 2015-01-07
Posts: 12

Re: [SOLVED] System freezing when using rsync

Also - and, I have tried and tried, can anyone recommend a terminal (I have tried tilde and guake so far after not being able to use gnome-terminal) that I can 'stack' side by side so that quickly I can have monitor 2 with 4 terminals all running different tools?

Any suggestions at all would be great - I did read the Arch wiki which is where I found Guake and Tilde, however, I cannot figure out how to get either of them to simply tile next to each other....

If I just had the tools, I could get on resolving the issues.. Hee hee.

Thank you again everyone.

Offline

#5 2015-01-17 16:47:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] System freezing when using rsync

http://penguinpackets.com/~kelly/kblog/blog/01243440150 was one of first links in google search for 'rsync nice' but YMMV.

As for terminal emulators, I recommend tmux or a tiling wm :-)
urxvt is nice and you can even have tabs.

What DE / WM are you running? What is GDE? Gnome Desktop Environment?

Offline

#6 2015-01-17 17:38:34

fitzyj
Member
Registered: 2015-01-07
Posts: 12

Re: [SOLVED] System freezing when using rsync

Thank you karol - you have been so helpful.  It is really appreciated and has helped me make great progress today.

That link for rsync is perfect! (I shall post back with my results)

Yes - Gnome Desktop Environment, I am a bit embarrassed, I'm not sure why, but, from what I read, I think that I am meant to be wink

I guess that I am very used to it, and, I really like being able to press the 'windows' button and type the beginning of a GUI that I want to run, followed quicky by enter, and I am there...

For me it is all about speed, so, any Window Managers that are quick without a ludicrous amount of guesswork as to how to get going with them would be good.  Do you have suggestions for tiling WMs in relation to terminal emulators therefore?

I have tried the 'obvious' WMs: LXDE, XFCE, Openbox, KDE and have found Gnome to be the easiest/quickest to use, but, that is only so far - I am SO open to suggestions as I love to try something that, without recommendation, I might have missed, especially when in a forum of 'like minded' people!

I have not heard of tmux or urxvt for example, so, shall imediately be trying them out - ALL of your kind suggestions today have been a marvelous help, and, will probably become a part of my daily routine - now there is an example of how to influence people heh karol!

Thank you once again smile

Last edited by fitzyj (2015-01-17 17:39:01)

Offline

#7 2015-01-17 17:43:27

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,020

Re: [SOLVED] System freezing when using rsync

Try Terminator if you want to use GNOME.

You could run something like "dstat -cdnmgs --top-io --top-bio --top-cpu --top-mem" to see what is happening.

If you want a tiling WM, awesome is perhaps the nicest one for new users of tiling WMs.

Last edited by lucke (2015-01-17 17:46:42)

Offline

#8 2015-01-17 18:01:41

fitzyj
Member
Registered: 2015-01-07
Posts: 12

Re: [SOLVED] System freezing when using rsync

Thanks lucke - that is really helpful - I shall try these later smile

Honestly, with the 'freezing' problems earlier, I almost 'moved away' from Arch - however, this forum has re-inspired my confidence in Arch and made me see what a foolish mistake I almost made!

Thank you forum for saving my sanity!!!  smile

Offline

#9 2015-01-17 18:03:49

fitzyj
Member
Registered: 2015-01-07
Posts: 12

Re: [SOLVED] System freezing when using rsync

Terminator rocks....

As for dstat - terrific!!!

Thanks

Last edited by fitzyj (2015-01-17 18:05:05)

Offline

#10 2015-01-17 19:40:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] System freezing when using rsync

fitzyj wrote:

I guess that I am very used to it, and, I really like being able to press the 'windows' button and type the beginning of a GUI that I want to run, followed quicky by enter, and I am there...

That sounds like an application launcher. If you want a light WM and a light launcher, try dwm and dmenu, both have pages in Arch wiki.
dwm has a few shortcuts e.g. for launching a terminal emulator, so all you need to do to get two of them is press Mod+Shift+Enter twice.

Offline

#11 2015-01-17 19:53:34

fitzyj
Member
Registered: 2015-01-07
Posts: 12

Re: [SOLVED] System freezing when using rsync

karol rocks....  smile

Your suggestions are so helpful - will try tonight and post my results.

edit: dwm sure is slim!!!  I do like a challenge...

Last edited by fitzyj (2015-01-17 19:59:52)

Offline

#12 2015-01-17 21:41:35

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: [SOLVED] System freezing when using rsync

WM's:
Don't forget i3-wm.
- Excellent multi-monitor support (!)
- Excellent upstream documentation
- Comparably easy to use
- Basic mouse support (!)
- Configurable, to some extent

Terminal for i3-wm: urxvt (Alt+Enter, no need for shift wink!).
And yes, dmenu.


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#13 2015-01-26 13:18:57

fitzyj
Member
Registered: 2015-01-07
Posts: 12

Re: [SOLVED] System freezing when using rsync

Thanks so much everyone for all the help.

The desktop managers will take me some time to check out!

rsync via ionice works - however, I am still trying to 'fine tune' this as I am still getting system freezes.

Thanks once again.

Offline

Board footer

Powered by FluxBB