[SOLVED] rslsync - multiplied process


Recommended Posts

I'm not so techy, but this doesn't look like a correct right ...?

619558068_ScreenShot2018-09-01at21_26_52.jpg.3d2d6d89f58216928ebda749ee193805.jpg

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

 

Link to comment
Share on other sites

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/resilio
sync/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
sync
admin@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

Link to comment
Share on other sites

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/resilio
sync/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
sync
admin@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.

 

Screenshot from 2018-09-12 16-18-33.png

Link to comment
Share on other sites

  • ArtemPronevskiy changed the title to [SOLVED] rslsync - multiplied process

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?

Screen-Shot-2018-09-13-at-21.46.29.gif

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.