Community discussions

MikroTik App
 
wiresnarg
just joined
Topic Author
Posts: 4
Joined: Sun Feb 14, 2021 12:37 am

v7.1beta4 [bug] export hangs / slow

Sun Feb 14, 2021 12:23 pm

Hi,

I thought I'd break out the bug reports from the v71beta4 release announcement [1] to a separate topic.
Please leave a comment if this topic is a duplicate and accept my apologies.

Several users have reported in [1] that export hangs or is slow. I can confirm this behaviour.
At the same time, I noticed that a verbose export does not suffer from this performance issue.

Since the default export is compact [2] I assume that the filtering for non-default configurations may be the culprit.

The flag terse has no performance impact.

I also noticed that
/system/backup/save dont-encrypt=yes name=foo
is even faster than any export.

Can anyone reproduce my experience?

Kind regards

[1] viewtopic.php?p=843702
[2] https://wiki.mikrotik.com/wiki/Manual:C ... act_Export
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12650
Joined: Thu Mar 03, 2016 10:23 pm

Re: v7.1beta4 [bug] export hangs / slow  [SOLVED]

Sun Feb 14, 2021 12:53 pm

I also noticed that
/system/backup/save dont-encrypt=yes name=foo
is even faster than any export.

ROS v6 is like this as well and it's easy to explain: backup file is a mere a collection of binary configuration, I guess a combination of memory dumps (or may be not) and pre-existing binary configuration files and backup process simply collects them and packs them into single file. Export OTOH has to covert it to ASCII format and reorder stanzas so that they can be imported line-by-line to a empty-config device.
What is new in v7 is that exporter seemingly chokes on comparison of running config versus default config (verbose and terse don't do it) in certain sections. I'm pretty sure MT devs are aware of the problem given how simply it's replicated but solving it is probably not at the top of To-Do list.
 
tmcnulty1982
just joined
Posts: 23
Joined: Sat Feb 13, 2016 11:29 pm

Re: v7.1beta4 [bug] export hangs / slow

Sun Mar 07, 2021 3:52 pm

There is definitely a problem with "export" on 7.1beta4.

I see the following in the output of "export terse hide-sensitive": "#error exporting /routing/filter/rule"

Sure enough, running "export" inside "/routing/filter/rule" hangs for a long time (multiple minutes). Adding "verbose" to that makes it return immediately, but I don't really want a verbose export.

This is on a WAP ac with the default configuration. There is nothing (that I can see, at least) in /routing/filter/rule to export.

I hope this helps.
 
infabo
Forum Guru
Forum Guru
Posts: 1355
Joined: Thu Nov 12, 2020 12:07 pm

Re: v7.1beta4 [bug] export hangs / slow

Sun Mar 07, 2021 5:40 pm

This bug seems to be fixed in 7.1 beta5.
 
arm920t
Frequent Visitor
Frequent Visitor
Posts: 64
Joined: Sat Aug 03, 2019 8:02 am

Re: v7.1beta4 [bug] export hangs / slow

Mon Mar 08, 2021 5:37 am

This bug seems to be fixed in 7.1 beta5.
How do you know that?
 
infabo
Forum Guru
Forum Guru
Posts: 1355
Joined: Thu Nov 12, 2020 12:07 pm

Re: v7.1beta4 [bug] export hangs / slow

Mon Mar 08, 2021 3:14 pm

Received it after reporting another issue.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3334
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: v7.1beta4 [bug] export hangs / slow

Mon Mar 08, 2021 10:32 pm

You can use
/export verbose
Works, but may give you to much :)
 
Cablenut9
Long time Member
Long time Member
Posts: 542
Joined: Fri Jan 08, 2021 5:30 am

Re: v7.1beta4 [bug] export hangs / slow

Mon Mar 08, 2021 11:41 pm

This bug seems to be fixed in 7.1 beta5.
We need beta5 now!

Who is online

Users browsing this forum: No registered users and 6 guests