Taryck / idrive

idrive scripts (perl)
17 stars 3 forks source link

inotify - CDP #7

Open poliman opened 1 year ago

poliman commented 1 year ago

We have a problem with Linux scripts because constant data protection if it is monitoring millions of files it handles it with Inotify (exceeding limits, draining memory) usage so with millions of files backing up it is a big problem. We want to back up a great amount of files but I don't want to use constant data protection, only scanning and backuping the files. How can we disable CDP service because even if it is disabled it's still uses Inotify for all of the files

jhavens1566 commented 8 months ago

Also having this issue. Inotify resources are quickly exceeded.

Taryck commented 7 months ago

Hello,

Can you describe more this issue? Where does it occurs? Provide screenshots. As I do not use inotify no CDP I do not know what they are.

Le dim. 17 mars 2024 à 07:48, jhavens1566 @.***> a écrit :

Also having this issue. Inotify resources are quickly exceeded.

— Reply to this email directly, view it on GitHub https://github.com/Taryck/idrive/issues/7#issuecomment-2002334152, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZMXLUUZYZWCHGF4CCICHTYYU4FRAVCNFSM6AAAAAAZRNULP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGMZTIMJVGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

poliman commented 7 months ago

@jhavens1566

I had then reply from iDrive support

As per the update received from our back-end team, We request you to follow the below steps to disable the CDP permanently.

  1. Rename the following scripts: $ mv cdp_client.pl cdp_client_ori.pl $ mv cdp_server.pl cdp_server_ori.pl
  2. Run the following command: $ ps aux | grep IDrive
  3. Kill the following 2 processes:
  4. IDrive:CDP-server
  5. IDrive:CDP-client

** also you can edit some file manually to comment line regarding cdp, I had done it before i had and info from support that those files can be omitted. If you will want to know which lines, I can look it up