mond Posted September 1, 2018 Report Share Posted September 1, 2018 I'm not so techy, but this doesn't look like a correct right ...? I'm running only one Mac (three directories) to sync on NAS. There is eight identical rslsync processes, that seems like duplications, if so ... how can I stop them? They are sleeping only one is running, but the sizes are same. Like rslsync 19498 is running all the time, 19496 just for a sec, others sleeps. Even there is a one with higher ID 19501. (There are other multiplied processes – 36x synoelasticd, 16x syslog-ng, 13x thumbd, 8x scemd but they are small and related to sinology, right?) Thanks for help. Notes: My RAM is utilizated on 90%, and Web GUI is not responding today. There is like 300 GB files synced on 4 TB NAS, but with 512 MB of RAM, so 380 MB can be enough. Disk utilisation 100%, activities on net almost zero as clear from dropbox screen. At the moment there is like 8 GB waiting to sync from this week. There are two other Macs, that where set to sync on the same NAS, but they stopped to sync more like a year ago. I can't believe nobody noticed https://www.dropbox.com/s/h8tyevkkjw57oxj/NAS_utilization.jpg?dl=0 Quote Link to comment Share on other sites More sharing options...
mond Posted September 9, 2018 Author Report Share Posted September 9, 2018 Hmm ... Is it so obvious or difficult to say whats going on here? Thank you In this post from 2017 , there was only one rslsync process. Also there isn't any process multiplied. Or is it problem of Synology so should I ask there? Quote Link to comment Share on other sites More sharing options...
Helen Posted September 11, 2018 Report Share Posted September 11, 2018 Can you please ssh to your NAS and run command "ps aux | grep sync" and show the output? Quote Link to comment Share on other sites More sharing options...
mond Posted September 11, 2018 Author Report Share Posted September 11, 2018 admin@pixle:/$ ps aux | grep sync root 138 0.0 0.0 0 0 ? S Sep08 0:01 [sync_supers] admin 15142 10.2 76.2 1102320 391652 ? Ssl Sep09 304:41 /usr/local/resiliosync/bin/rslsync --config /usr/local/resiliosync/var/sync.conf admin 20063 0.0 0.1 4656 1000 pts/1 S+ 21:28 0:00 grep --color=auto syncadmin@pixle:/$ Or should I try to log as root? As admin I can't get to home dir, I don't know if its important for you. Could not chdir to home directory /var/services/homes/admin: No such file or directory Thank you for help Quote Link to comment Share on other sites More sharing options...
ArtemPronevskiy Posted September 12, 2018 Report Share Posted September 12, 2018 19 hours ago, mond said: admin@pixle:/$ ps aux | grep sync root 138 0.0 0.0 0 0 ? S Sep08 0:01 [sync_supers] admin 15142 10.2 76.2 1102320 391652 ? Ssl Sep09 304:41 /usr/local/resiliosync/bin/rslsync --config /usr/local/resiliosync/var/sync.conf admin 20063 0.0 0.1 4656 1000 pts/1 S+ 21:28 0:00 grep --color=auto syncadmin@pixle:/$ Or should I try to log as root? As admin I can't get to home dir, I don't know if its important for you. Could not chdir to home directory /var/services/homes/admin: No such file or directory Thank you for help No, you don't need root permissions to view list of processes. Looks like resource monitor shows threads instead of processes. You can use -m parameter for ps command to see all threads which belong to a process: ps auxm Result from my linux PC is attached. As you can see there is one main thread with 2784 id and several child threads and only one rslsync process the shown threads belong to. So this is just the process monitor issue in your case. Quote Link to comment Share on other sites More sharing options...
Helen Posted September 13, 2018 Report Share Posted September 13, 2018 yes, indeed. these are child threads. DSM 6.2 shows these now. Quote Link to comment Share on other sites More sharing options...
mond Posted September 13, 2018 Author Report Share Posted September 13, 2018 Ah ... OK Thank you for explanations Can you direct me somewhere I can read more about threading? I have zero knowledge, so to stop ask elementary questions like "Why only two threads are running for a long time and the rest sleeps ... because i would expect more evenly splits process into threads." Or what status "Ssl" means (sleeping?) / "Dsl" status = running? Quote Link to comment Share on other sites More sharing options...
ArtemPronevskiy Posted September 14, 2018 Report Share Posted September 14, 2018 17 hours ago, mond said: Can you direct me somewhere I can read more about threading? To get started you can read for example this. 17 hours ago, mond said: Or what status "Ssl" means (sleeping?) / "Dsl" status = running? You can learn what every column and parameter (in ps command output) means using ps official man pages which are available via man ps command in linux or online as well. So the mentioned flags mean: S interruptible sleep (waiting for an event to complete) D uninterruptible sleep (usually IO) s is a session leader l is multi-threaded (using CLONE_THREAD, like NPTL pthreads do) To learn more about threads/processes life-cycle you can read this article (to figure out what "sleeping" and other specific terms mean). Quote Link to comment Share on other sites More sharing options...
mond Posted September 25, 2018 Author Report Share Posted September 25, 2018 Thank you for help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.