Zennoposter freezes after a while

Stroks

Client
Регистрация
09.02.2012
Сообщения
219
Благодарностей
14
Баллы
18
With this template which is pretty big and its size cannot be lowered zennoposter completely freezes after a while (like 30 minutes). The CPU usage then goes up to 100% on one core it uses.

This is not uncommon problem. This happens pretty sometimes when templates are big - when they are over 600k.

Is there workaround for this bug?
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
Too much loops maybe.
I have ~ 1 Mb template where some parts is made by c# so in real if everything would be done with actions then there would be much more than that, and I'm using pretty much loops in it. RAM usage is like 4 Gb in peak CPU usage ~ 25%
With intel i5 CPU
Works fine in ZP - but i have to say that to debug in PM it is not possible because PM kicks me out in 5 min :D

You said you can not lower size, but you can - there is c# that you can use...
 

Stroks

Client
Регистрация
09.02.2012
Сообщения
219
Благодарностей
14
Баллы
18
Is 25% actually 100% on one core?

I actually think this has probably nothing to do with loops. Could be maybe a (dom data) regex I added but it stops after a filling form action, so I just went back to prior less efficient version of the template that i saved before. I didn't test it since it would take too much time but i hope that the old version works.
 
  • Спасибо
Реакции: LightWood

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Big regular expressions for huge data may use a lot of CPU. But there may be several reasons for it. How log your template works until the end/ Do you restarting instances from time to time?
 

Stroks

Client
Регистрация
09.02.2012
Сообщения
219
Благодарностей
14
Баллы
18
I tried to restart instance but this for some reason breaks the template in poster.

It is around 700K is size and takes 1-2 minutes to complete.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113

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