NetXMS Support Forum

English Support => General Support => Topic started by: colaboy on March 30, 2011, 06:24:28 AM

Title: Limitation on script length?
Post by: colaboy on March 30, 2011, 06:24:28 AM
Hi,

I found my system stop when the script over 488 lines in Event Processing Policy. It happen when I exit the Event Processing Policy and it will show showing like Unable to connect to server. This not happen again when I break a single script into 2 and shorter then 400.

Is there any limitation on script length?

Thanks
Title: Re: Limitation on script length?
Post by: Victor Kirhenshtein on March 30, 2011, 11:14:28 AM
Hi!

Yes, there is the limitation on script size of about 256KB, imposed by communication protocol. I'll fix that.

Best regards,
Victor
Title: Re: Limitation on script length?
Post by: colaboy on March 31, 2011, 07:47:46 AM
Thanks a lot. I really appreciate you work on this.

One more question. Is it safe to amend the script directly by editing the database table event_policy?