Some actions taking super long to run for no reason

Cheerboatfun
Posts: 71
Joined: Wed Nov 22, 2017 2:38 pm

Some actions taking super long to run for no reason

Post by Cheerboatfun » Wed Jul 04, 2018 5:46 pm

Hi,

I have some follow actions that repeat every hour 6 times a day in the morning (starting at 1am) and in the afternoon I have like actions (starting at 14h00). It used to not overlap (all max 6 repeats a day would be done before the afternoon) because I use to have no user filters. Now I have some but I find it weird the time it takes for some actions to complete. Here my settings:

For a list of 5 accounts : follow 6 followers for each
For a list of 10 accounts : follow 3 followers for each
Pause between 15-30 seconds

Pre Act: like user media 90%
User filter: followers min 100 max 8000; following min 100 max 1500; minmum posted 9 media, ignore if private.

So I understand it takes more time now to filter users so actions went from 1 min to 10 minutes to complete. That understandable. HOWEVER sometimes some actions take Over 1hr to complete without showing any reason why in the log such as the below:

Code: Select all

Finish removing already processed: results :3 removed already processed: 0
account: xxxxxx load previously processed items
Break, processed before
*** Pre Process Setup ***
Initial setup:  with: xxxxxx
Loop items: 3 with: 1 threads
*** Process Items: 3 with: 1 threads ***
Process: 1/3 : 621028154
Loading previous db logs: 1699196e-1e9d-432c-b8bb-d12c52259f33_Follow
Loaded previous db logs: 8013 processed: 3834 within 24hrs: 218
Global limit: 0
Get bot for: xxxxxx
Login: xxxxxx
Login: xxxxxx
login: xxxxxx:xxxxxx UA: Instagram 10.8.0 Android (23/6.0; 515dpi; 1440x2416; huawei/google; Nexus 6P; angler; angler; en_US):  No Proxy 
Attempt Cookie login
Get timeline: xxxxxx
* IGNORE ad: 1815958041456989358_555373314 https://www.instagram.com/p/BkzlDekDtSu
Store items: Scraped: 10 
Used cookies
Processing: 621028154 with user: xxxxxx
Using acc: xxxxxx on: 621028154
Get most recent media of: 621028154
Scrape User feed: 621028154 page: 1
Store items: Scraped: 18 
Preaction: Like before: salmawlsn 1 medias
Got: 1 medias for pre-like
Global limit: 0
Preaction: Like before: https://www.instagram.com/p/BkvJ0YAlABz
Is MediaId: 1814712356464492659_621028154
Like Logic: 1814712356464492659_621028154 with: xxxxxx
Like: 1814712356464492659_621028154 https://www.instagram.com/p/BkvJ0YAlABz with: xxxxxx
* SUCCESS: Like before: (0)1814712356464492659_621028154 https://www.instagram.com/p/BkvJ0YAlABz
Paused: 4 secs
Follow: 621028154 with: xxxxxx
Friendship check: 200: 621028154
Perform follow: 621028154:https://www.instagram.com/salmawlsn
* SUCCESS (1): 621028154 user: xxxxxx
Check for pause: 15,30
Pausing for: 17
Paused for: 17 seconds
Process: 2/3 : 7596408358
Loading previous db logs: 1699196e-1e9d-432c-b8bb-d12c52259f33_Follow
Loaded previous db logs: 8015 processed: 3835 within 24hrs: 219
Global limit: 0
Processing: 7596408358 with user: xxxxxx
Using acc: xxxxxx on: 7596408358
Get most recent media of: 7596408358
Scrape User feed: 7596408358 page: 1
Store items: Scraped: 18 
Preaction: Like before: fredbodytransformation 1 medias
Got: 1 medias for pre-like
Global limit: 0
Preaction: Like before: https://www.instagram.com/p/BkzgVz-Df7H
Is MediaId: 1815937311159746247_7596408358
Like Logic: 1815937311159746247_7596408358 with: xxxxxx
Like: 1815937311159746247_7596408358 https://www.instagram.com/p/BkzgVz-Df7H with: xxxxxx
* SUCCESS: Like before: (0)1815937311159746247_7596408358 https://www.instagram.com/p/BkzgVz-Df7H
Paused: 5 secs
Follow: 7596408358 with: xxxxxx
Friendship check: 200: 7596408358
Perform follow: 7596408358:https://www.instagram.com/fredbodytransformation
* SUCCESS (2): 7596408358 user: xxxxxx
Check for pause: 15,30
Pausing for: 17
Paused for: 17 seconds
Process: 3/3 : 249149471
Loading previous db logs: 1699196e-1e9d-432c-b8bb-d12c52259f33_Follow
Loaded previous db logs: 8017 processed: 3836 within 24hrs: 220
Global limit: 0
Processing: 249149471 with user: xxxxxx
Using acc: xxxxxx on: 249149471
Get most recent media of: 249149471
Scrape User feed: 249149471 page: 1
Store items: Scraped: 18 
Preaction: Like before: tof_phil 1 medias
Got: 1 medias for pre-like
Global limit: 0
Preaction: Like before: https://www.instagram.com/p/BkFS9keDM3X
Is MediaId: 1802930621715893719_249149471
Like Logic: 1802930621715893719_249149471 with: xxxxxx
Like: 1802930621715893719_249149471 https://www.instagram.com/p/BkFS9keDM3X with: xxxxxx
* SUCCESS: Like before: (0)1802930621715893719_249149471 https://www.instagram.com/p/BkFS9keDM3X
Paused: 2 secs
Follow: 249149471 with: xxxxxx
Friendship check: 200: 249149471
Perform follow: 249149471:https://www.instagram.com/tof_phil
* SUCCESS (3): 249149471 user: xxxxxx
Stopping as got enough...
Check for pause: 15,30
Pausing for: 23
Paused for: 23 seconds

*********
Processed: 3/3
Failed: 0
*********

Started: 04/07/2018 05:51 AM
Finished: 04/07/2018 07:02 AM
ID: e28a4820-2bb6-4bb3-b360-2ca0cd8c2510
Action ran for: 1hr:10min:56s
Repeat every: 1
+1 to dailyrepeats
checking daily repeats: Done Today: 1/6
Run Next: 2018-07-04 8:02 AM
Scheduled to: 2018-07-04 8:02 AM
1hr and 10 minutes to follow 3 accounts???

Can you tell me what the problem could be? my actions are now overlapping during the day and blocking each other (one thread only).

Thanks,

User avatar
martin@rootjazz
Site Admin
Posts: 18464
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Some actions taking super long to run for no reason

Post by martin@rootjazz » Thu Jul 05, 2018 4:07 pm

please submit logs

HELP > LOGS > SUBMIT

then send your logs ID - the first 4 numbers is sufficient (displayed after successful uploading of logs)


As I would need full logs with time stamps for each log line to see where the time is being taken

Cheerboatfun
Posts: 71
Joined: Wed Nov 22, 2017 2:38 pm

Re: Some actions taking super long to run for no reason

Post by Cheerboatfun » Thu Jul 05, 2018 10:39 pm

Log number 4793. The first action ran today took over 2 hours for 3 follows

Cheerboatfun
Posts: 71
Joined: Wed Nov 22, 2017 2:38 pm

Re: Some actions taking super long to run for no reason

Post by Cheerboatfun » Thu Jul 05, 2018 10:44 pm

Sorry 53 min it took

User avatar
martin@rootjazz
Site Admin
Posts: 18464
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Some actions taking super long to run for no reason

Post by martin@rootjazz » Fri Jul 06, 2018 7:55 pm

I checked 10 actions. All processed about 20-30 items and took about 20-30 minutes including searching and filtering.

I couldn't see any problems.

ok found some
Processed: 3/3
Failed: 0
*********

15:02:01: Action ran for: 2hr:1min:34s
but you filtered 695 items. This takes time to perform and the program must force a pause to ensure you don't get blocked.

found another action: With this:
16:50:32: Process: 13/21 : 1793093860274317117_3418691585
16:50:32: Loading previous db logs: 1699196e-1e9d-432c-b8bb-d12c52259f33_Like
19:52:25: Loaded previous db logs: 448876 processed: 197712 within 24hrs: 400
19:52:25: Global limit: 0
3 hours to load the file!. However that file has been loaded previously and took about 3-4 seconds. Which is very strange.


This is with your account:
sar***********lphia


ok so please try this: Update as you are on an old version

https://rootjazz.com/instadub/updatetesting.html

Clean existing logs
HELP > LOGS > DELETE

GOTO the LIKE tab
check your account on any tab > right click > UPDATE API APK KEY (one of the bottom options)
right click again > CLEAR PROCESSED LOGS DUPLICATES


Then try and run your LIKE action again with this account.
Please do not run any other actions, only use a single processing thread, do not do anything else whilst this action is running

Then on completion, submit logs
HELP > LOGS > SUBMIT

then send your logs ID - the first 4 numbers is sufficient (displayed after successful uploading of logs)

Cheerboatfun
Posts: 71
Joined: Wed Nov 22, 2017 2:38 pm

Re: Some actions taking super long to run for no reason

Post by Cheerboatfun » Tue Jul 10, 2018 11:01 pm

Thanks for looking at this Martin.

done. ID: 2815

User avatar
martin@rootjazz
Site Admin
Posts: 18464
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Some actions taking super long to run for no reason

Post by martin@rootjazz » Wed Jul 11, 2018 4:22 pm

Cheerboatfun wrote:
Tue Jul 10, 2018 11:01 pm
Thanks for looking at this Martin.

done. ID: 2815
You didn't actually follow the instructions above :) you performed many actions, and not just the single action. The reason for asking you to do this is so the logs ONLY contain logs of the problem action. That way I can be sure I am only looking at issue specific logs. Currently there are 20-30 actions all running over a period of 1-2 days. So I cannot be sure I am looking at the correct log.

With an issue such as yours (unusual - cannot be replicated here) we need to filter out as much noise as possible.
Plus I checked through 8 actions and couldn't find any having an issue.


So if you don't mind, could you please repeat the steps above as detailed *exactly*

Cheerboatfun
Posts: 71
Joined: Wed Nov 22, 2017 2:38 pm

Re: Some actions taking super long to run for no reason

Post by Cheerboatfun » Wed Jul 11, 2018 11:34 pm

Oh sorry about that, but I don't know if it always happens for a specific account or just a "bad luck" account... I'll do one follow action and one like action so you can see both. Thanks

User avatar
martin@rootjazz
Site Admin
Posts: 18464
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Some actions taking super long to run for no reason

Post by martin@rootjazz » Thu Jul 12, 2018 4:13 pm

Cheerboatfun wrote:
Wed Jul 11, 2018 11:34 pm
Oh sorry about that, but I don't know if it always happens for a specific account or just a "bad luck" account... I'll do one follow action and one like action so you can see both. Thanks
I think you are probably correct, but we need to rule it out. Ideally we want the most simple action possible to generate the issue. So if you can test with one action and see if it happens. If not, then it will show it is a compound issue (a + b + c must occur for the issue to show itself and we can take it from there)

User avatar
martin@rootjazz
Site Admin
Posts: 18464
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Some actions taking super long to run for no reason

Post by martin@rootjazz » Thu Jul 12, 2018 4:15 pm

Also I will go through your logs again, maybe I can still find something out from them

Post Reply