Mailing List Archive

ifstrace log filling up with debug output
Hi,

i notice (at least on 21.4R3-S6.5 and 21.2R3-S6.11) that /var/log/ifstraced is filling with output like:

Mar 23 12:23:03 0xfffff801a0c2b1c0 NEXTHOP Chg kernel kernel nop nop Kern ifs glb 0 seqno 28277
rnh idx 352 subnh_idx 0 hw_id 0x0 type ucst (2) pfe 0 af 28 ref 1 flags 0x1 kflags 0x800001 fwd_flags 0x0 af_ifl 0 tid 0 lr_id 0 parent_nh_idx 0 rnh_user flags 0x0 adders 0x0
Mar 23 12:23:03 0xfffff800747a3e80 MARKER Add kernel kernel nop nop Kern ifs glb 0 seqno 28278
Marker seq 5136 alias_seqno 0 flags = 0x2
Mar 23 12:23:03 0xfffff801a07cec00 MARKER Free kernel kernel nop nop Kern ifs glb 0 seqno 28279
Marker seq 5135 alias_seqno 0 flags = 0x6
Mar 23 12:23:08 0xfffff801a0c2b150 NEXTHOP Chg kernel kernel nop nop Kern ifs glb 0 seqno 28280
rnh idx 354 subnh_idx 0 hw_id 0x0 type ucst (2) pfe 0 af 2 ref 2 flags 0x1 kflags 0x800001 fwd_flags 0x0 af_ifl 0 tid 0 lr_id 0 parent_nh_idx 0 rnh_user flags 0x0 adders 0x0

Even on a router with no active interfaces (currently I am testing on a Lab-MX240) and it's producing megabytes of output for no reason and I have no clue why

Any ideas?

Kind regards
Joerg


--
Mit freundlichen Gruessen,

Joerg Staedele

_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp
Re: ifstrace log filling up with debug output [ In reply to ]
Show configuration | display set | match traceoption

Do you have some enabled? That's the most likely reason.


Sent via RFC1925 compliant device

> On Mar 23, 2024, at 11:07?PM, Joerg Staedele via juniper-nsp <juniper-nsp@puck.nether.net> wrote:
>
> ?Hi,
>
> i notice (at least on 21.4R3-S6.5 and 21.2R3-S6.11) that /var/log/ifstraced is filling with output like:
>
> Mar 23 12:23:03 0xfffff801a0c2b1c0 NEXTHOP Chg kernel kernel nop nop Kern ifs glb 0 seqno 28277
> rnh idx 352 subnh_idx 0 hw_id 0x0 type ucst (2) pfe 0 af 28 ref 1 flags 0x1 kflags 0x800001 fwd_flags 0x0 af_ifl 0 tid 0 lr_id 0 parent_nh_idx 0 rnh_user flags 0x0 adders 0x0
> Mar 23 12:23:03 0xfffff800747a3e80 MARKER Add kernel kernel nop nop Kern ifs glb 0 seqno 28278
> Marker seq 5136 alias_seqno 0 flags = 0x2
> Mar 23 12:23:03 0xfffff801a07cec00 MARKER Free kernel kernel nop nop Kern ifs glb 0 seqno 28279
> Marker seq 5135 alias_seqno 0 flags = 0x6
> Mar 23 12:23:08 0xfffff801a0c2b150 NEXTHOP Chg kernel kernel nop nop Kern ifs glb 0 seqno 28280
> rnh idx 354 subnh_idx 0 hw_id 0x0 type ucst (2) pfe 0 af 2 ref 2 flags 0x1 kflags 0x800001 fwd_flags 0x0 af_ifl 0 tid 0 lr_id 0 parent_nh_idx 0 rnh_user flags 0x0 adders 0x0
>
> Even on a router with no active interfaces (currently I am testing on a Lab-MX240) and it's producing megabytes of output for no reason and I have no clue why
>
> Any ideas?
>
> Kind regards
> Joerg
>
>
> --
> Mit freundlichen Gruessen,
>
> Joerg Staedele
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp
Re: ifstrace log filling up with debug output [ In reply to ]
Hi,

No traceoptions ... and meanwhile i've tested even with no configuration and after a zeroize it also does the same. I guess it’s a bug. I will try another version (maybe some 19.x)

Thanks and regards.

--
Mit freundlichen Gruessen,

Joerg Staedele

-----Original Message-----
From: Jared Mauch <jared@puck.nether.net>
Sent: Saturday, March 23, 2024 3:22 PM
To: Joerg Staedele <js@tnib.de>
Cc: juniper-nsp@puck.nether.net
Subject: Re: [j-nsp] ifstrace log filling up with debug output

Show configuration | display set | match traceoption

Do you have some enabled? That's the most likely reason.


Sent via RFC1925 compliant device

> On Mar 23, 2024, at 11:07?PM, Joerg Staedele via juniper-nsp <juniper-nsp@puck.nether.net> wrote:
>
> ?Hi,
>
> i notice (at least on 21.4R3-S6.5 and 21.2R3-S6.11) that /var/log/ifstraced is filling with output like:
>
> Mar 23 12:23:03 0xfffff801a0c2b1c0 NEXTHOP Chg kernel kernel nop nop Kern ifs glb 0 seqno 28277
> rnh idx 352 subnh_idx 0 hw_id 0x0 type ucst (2) pfe 0
> af 28 ref 1 flags 0x1 kflags 0x800001 fwd_flags 0x0 af_ifl 0 tid 0 lr_id 0 parent_nh_idx 0 rnh_user flags 0x0 adders 0x0 Mar 23 12:23:03 0xfffff800747a3e80 MARKER Add kernel kernel nop nop Kern ifs glb 0 seqno 28278
> Marker seq 5136 alias_seqno 0 flags = 0x2 Mar 23 12:23:03
> 0xfffff801a07cec00 MARKER Free kernel kernel nop nop Kern ifs glb 0 seqno 28279
> Marker seq 5135 alias_seqno 0 flags = 0x6 Mar 23 12:23:08
> 0xfffff801a0c2b150 NEXTHOP Chg kernel kernel nop nop Kern ifs glb 0 seqno 28280
> rnh idx 354 subnh_idx 0 hw_id 0x0 type ucst (2) pfe 0
> af 2 ref 2 flags 0x1 kflags 0x800001 fwd_flags 0x0 af_ifl 0 tid 0
> lr_id 0 parent_nh_idx 0 rnh_user flags 0x0 adders 0x0
>
> Even on a router with no active interfaces (currently I am testing on
> a Lab-MX240) and it's producing megabytes of output for no reason and
> I have no clue why
>
> Any ideas?
>
> Kind regards
> Joerg
>
>
> --
> Mit freundlichen Gruessen,
>
> Joerg Staedele
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp
Re: ifstrace log filling up with debug output [ In reply to ]
Hi Joerg,

On 23-Mar-24 15:24, Joerg Staedele via juniper-nsp wrote:
> Hi,
>
> No traceoptions ... and meanwhile i've tested even with no configuration and after a zeroize it also does the same. I guess it’s a bug. I will try another version (maybe some 19.x)


And I believe it will be the same because ifstraced daemon is enabled
by default on SMP systems (for a while already)


How much data do you get in your logs?
_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp