Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#14255 closed defect (worksforme)

netifd hangs and consume 100% cpu

Reported by: anonymous Owned by: developers
Priority: highest Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


I add some lines in /etc/config/network to bring up a pptp tunnel.
I run >>/etc/init.d/network reload --I can see the interface got created.

At the same time I am listening to ubus event by running: >>ubus listen

On the creation I can see the following message from ubus:
{ "ubus.object.add": { "id": -788079186, "path": "network.interface.2" } }
{ "network.interface": { "action": "ifup", "interface": "2" } }

I then remove the lines from /etc/config/network and

/etc/init.d/network reload

I can see the interface is gone and I can see the messages from the ubus:

{ "network.interface": { "action": "ifdown", "interface": "2" } }
{ "ubus.object.remove": { "id": -788079186, "path": "network.interface.2" } }

Next I try again to bring up pptp interface by adding some lines in /etc/network to bringup a pptp tunnel
then >> /etc/init.d/network reload

This time I only see :

{ "ubus.object.add": { "id": 680699142, "path": "network.interface.2" } }

As you can see there is no "ifup" at this time. From this moment ubus never receive any notification.
I can see the interface got created but there is no way to remove it.

/etc/init.d/network reload will return with timeout error.

The only way to get out of this state is reboot.

top shows netifd is consuming 99% pf cpu time

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

looks like an old bug that was fixed a while ago, please use latest trunk or 12.09 git

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.