Project

General

Profile

Actions

Bug #3409

closed

NFD-Android stops forwarding packets after running for about 15 minutes

Added by Haitao Zhang almost 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Related issues 1 (0 open1 closed)

Related to NFD-android - Feature #4766: Post persistent notification to improve stabilityClosedJu Pan

Actions
Actions #1

Updated by Haitao Zhang almost 9 years ago

  • Subject changed from NFD-Android stops working after running for about 15 minutes to NFD-Android stops forwarding packets after running for about 15 minutes

After adding faces and routes, if minimize it and have it run in the background for about 15 minutes, all the user-created faces will be destroyed and all the user-added routes will be deleted.

Actions #2

Updated by Alex Afanasyev almost 9 years ago

  • Blocked by Task #2435: PIT/FIB/RIB state snapshot and restore from snapshots added
Actions #3

Updated by Alex Afanasyev almost 9 years ago

Is there traffic/activity within these 15 minutes?

Actions #4

Updated by Haitao Zhang almost 9 years ago

Yes, the NDNFit Android application keeps running and "uploading" data every 2 minutes or so.

Actions #5

Updated by Alex Afanasyev almost 9 years ago

  • Category set to gui
  • Target version set to 23
Actions #6

Updated by Alex Afanasyev almost 9 years ago

I did an experiment today with 0.2.0 version and confirm this issue only partially:

  • NFD background process is being kept alive for at least 18 hours straight. At least per NFD-app stats.

  • If you create a TCP face to hub, then it is relatively quickly removed (even faster than 15 mins). My understanding is that it is simply because phone goes to sleep and disconnects from WiFi.

  • If you create a UDP fact to hub, it stays there. I didn't have much traffic though, so it may disappear as the default mode for face creation (currently not overridable) is persistent, not permanent.

Actions #7

Updated by Junxiao Shi over 6 years ago

NFD background process is being kept alive for at least 18 hours straight. At least per NFD-app stats.

I saw background process disappear sometimes. Many Android apps work around this by posting a persistent notification.

Actions #8

Updated by Junxiao Shi about 6 years ago

  • Related to Feature #4766: Post persistent notification to improve stability added
Actions #9

Updated by Davide Pesavento almost 6 years ago

  • Category deleted (gui)
  • Status changed from New to Feedback
  • Target version deleted (23)
  • Start date deleted (01/14/2016)

Since NFD-Android 0.6.5-1, the app posts a persistent notification to improve stability of the forwarding service (#4766). Does this issue still happen with the new version of the app?

Actions #10

Updated by Alex Afanasyev over 5 years ago

  • Blocked by deleted (Task #2435: PIT/FIB/RIB state snapshot and restore from snapshots)
Actions #11

Updated by Davide Pesavento over 5 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF