- Регистрация
- 29.01.2015
- Сообщения
- 205
- Благодарностей
- 59
- Баллы
- 28
Hi guys. Would need your help/ thoughts in a problem I am facing in Zenno 5, in which regards the well-know error "Active tab of instance is not found..."
Template description:
I have a template which basically loads a profile, loads a private proxy, access a website and does 3 actions (loops):
Action 1 is being done 3 times (3 loops)
Action 2 is being done 12 times (12 loops)
Action 3 is being done 10 times (10 loops)
At the end of the template, it saves the profile.
It takes 15-20 minutes to finish the entire template (depending on how fast is the private proxy).
Doesn't run with huge tables...but I do have 4 tables from which it takes the profile names and some other stuff. However, each table has no more than 100 entries.
Machine Specs:
The entire template has about 500-600 Kb and it is running on a machine with the following specs: i5-2500 Sandy Bridge 3.3 Ghz with 12 Gb of RAM memory, SSD etc.
How I was using this template:
Used to run this template with 2 threads and the FF instance was eating up 1.5-2 Gb of ram. The CPU was loaded to 30-40%. When I tried to increase the number of threads to 3 or 4 I received the a/m error...active tab of instance is not found...
How I am using the template now:
So...now, I inserted the 'Restart Instance' block before each loop. The template is saving the profile, restarts the instance, loads the profile again and goes on with its actions. So..3 instance restarts...one before each loop...plus an instance restart at the beginning of the template (I know that it's pointless...but just to be sure) and another instance restart of the end of the template (pointless, again).
Problem:
Well...now the problem is that even when running the new template (with instance restart before each loop) with 2 threads, I receive the 'Active tab of instance is not found'...not to mention when I increase the number of threads to 3 or 4.
The odd thing is that, before adding 'restart instance' before each loop I was able to run it with 2 threads, without having any problem.
Another odd thing is that FF instance is not eating up more than 400-500 Mb (as mentioned above it used to eat up more than 1500 Mb)
Questions:
1. Isn't 'restart instance' supposed to help when it comes to multi-threading a template with a lot of loops? Asking this because, since I added 'Restart Instance' to the template, I receive the 'active instance tab not found' error even when running the template on 2 threads, as I used to do with the old template that didn't have the 'Restart Instance' feature.
2. Do you have any thoughts on how I could fix this problem?
Thanks a lot for your opinions!
PS: My problem appears regardless what version of zenno 5 I am using. Tried zenno 5.8.0.2 and 5.7.53...same error.
Template description:
I have a template which basically loads a profile, loads a private proxy, access a website and does 3 actions (loops):
Action 1 is being done 3 times (3 loops)
Action 2 is being done 12 times (12 loops)
Action 3 is being done 10 times (10 loops)
At the end of the template, it saves the profile.
It takes 15-20 minutes to finish the entire template (depending on how fast is the private proxy).
Doesn't run with huge tables...but I do have 4 tables from which it takes the profile names and some other stuff. However, each table has no more than 100 entries.
Machine Specs:
The entire template has about 500-600 Kb and it is running on a machine with the following specs: i5-2500 Sandy Bridge 3.3 Ghz with 12 Gb of RAM memory, SSD etc.
How I was using this template:
Used to run this template with 2 threads and the FF instance was eating up 1.5-2 Gb of ram. The CPU was loaded to 30-40%. When I tried to increase the number of threads to 3 or 4 I received the a/m error...active tab of instance is not found...
How I am using the template now:
So...now, I inserted the 'Restart Instance' block before each loop. The template is saving the profile, restarts the instance, loads the profile again and goes on with its actions. So..3 instance restarts...one before each loop...plus an instance restart at the beginning of the template (I know that it's pointless...but just to be sure) and another instance restart of the end of the template (pointless, again).
Problem:
Well...now the problem is that even when running the new template (with instance restart before each loop) with 2 threads, I receive the 'Active tab of instance is not found'...not to mention when I increase the number of threads to 3 or 4.
The odd thing is that, before adding 'restart instance' before each loop I was able to run it with 2 threads, without having any problem.
Another odd thing is that FF instance is not eating up more than 400-500 Mb (as mentioned above it used to eat up more than 1500 Mb)
Questions:
1. Isn't 'restart instance' supposed to help when it comes to multi-threading a template with a lot of loops? Asking this because, since I added 'Restart Instance' to the template, I receive the 'active instance tab not found' error even when running the template on 2 threads, as I used to do with the old template that didn't have the 'Restart Instance' feature.
2. Do you have any thoughts on how I could fix this problem?
Thanks a lot for your opinions!
PS: My problem appears regardless what version of zenno 5 I am using. Tried zenno 5.8.0.2 and 5.7.53...same error.
Последнее редактирование: