Re: 100% CPU utilization when running iptables (nft interface) as non-root user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Amish <anon.amish@xxxxxxxxx> wrote:
> Hello,
> 
> I am using pure nftables. (via nft tool)
> 
> But my system also has iptables binaries installed (nft interface)
> 
> If I run iptables -nvL as root, it works fine. i.e. it shows empty tables
> 
> # iptables -nvL
> Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
>  pkts bytes target     prot opt in     out source               destination
> 
> Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
>  pkts bytes target     prot opt in     out source               destination
> 
> Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
>  pkts bytes target     prot opt in     out source               destination
> 
> 
> But if I run it as any non-root user. It outputs nothing but uses 100% CPU
> till I kill it with Ctrl-C
> 
> $ iptables -nvL
> ^C
> iptables -nvL  51.74s user 81.30s system 99% cpu 2:13.92 total

Thanks for reporting, this is related to the recent 'genid' changes.

I'll work on a fix.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux