127.0.0.1 Problem is killing my template non stop..

muchink

Client
Регистрация
28.07.2012
Сообщения
193
Благодарностей
6
Баллы
18
Hi!
I have a template(That I created,not bought) that posts to many sites in loop, just like MediaWiki template sold by the admins.
The problem is that it shows every single time I'm running the template, after it passes about 20-40 sites(there are 200) the error "Active tab of instance is not found. Instance 1773576476:127.0.0.1"
I had this error before in other templates but it stopped after a while
However, here it isn't stopping.. everytime I run the template in PM or ZP, it happens.

Is there a way to fix it? since it just makes the template useless like this.

I have other multisites posters that work perfectly, but here, I just don't know why it happens..


Thanks for the help.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
Dont use loops for these tasks.
make templates which will perform 1 registration (posting) per execution.
Next execution = next site.
 

muchink

Client
Регистрация
28.07.2012
Сообщения
193
Благодарностей
6
Баллы
18
But it's unreal.
it means that if I've got 300 multisites I will need to run the template 300 times?
There are more than 2k mediawiki sites, that means I'll need to run it 2000 times... isn't there a faster solution to this?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
I bet time for running 1 template in 2000 loops and 1 template in 2000 executions is pretty equal.
But in 1st case you will have deals with FF memory leaking, run out system resources and so on.
It's up to you.
 

muchink

Client
Регистрация
28.07.2012
Сообщения
193
Благодарностей
6
Баллы
18
I see, thanks..
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)