Im testing dtnsend and cant seem to send a file with 100 MB. Is it impossible to send it?
Currently, I'm using an Alix3d3 with 256MB RAM and ibrdtn deamon says it can't allocate memory (BinaryStreamClient) for sending a file with 100 MB... where is this memory allocated in the code?
On Sat, Apr 8, 2017 at 1:18 AM, Leonel Gaspar Soares < leonelgasparsoares@gmail.com> wrote:
Im testing dtnsend and cant seem to send a file with 100 MB. Is it impossible to send it?
Hi Leonel,
256MB of RAM may not be enough, can you check, what free -m says? You can search for the exact error code in the source code, either using grep on your machine, or -- more convenient -- at github.
Best, Stephan
Am Mittwoch, den 12.04.2017, 02:00 +0100 schrieb Leonel Gaspar Soares:
Currently, I'm using an Alix3d3 with 256MB RAM and ibrdtn deamon says it can't allocate memory (BinaryStreamClient) for sending a file with 100 MB... where is this memory allocated in the code?
On Sat, Apr 8, 2017 at 1:18 AM, Leonel Gaspar Soares <leonelgasparsoa res@gmail.com> wrote:
Im testing dtnsend and cant seem to send a file with 100 MB. Is it impossible to send it?
-- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to <ibr-dtn-request@ibr.cs.tu-b s.de> !! or look at https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.
Thanks Professor. The error message in daemon is:
Wed Apr 12 14:49:24 2017 ERROR BinaryStreamClient: output stream went bad [Cannot allocate memory]; 134217728 of 134482789 bytes copied
Could this problem be solved with fragmentation? How can payload size of fragment be defined in the configuration file in OpenWrt? limit_payload=500K does not seam to work...
On Wed, Apr 12, 2017 at 8:25 AM, Stephan Rottmann rottmann@ibr.cs.tu-bs.de wrote:
Hi Leonel,
256MB of RAM may not be enough, can you check, what free -m says? You can search for the exact error code in the source code, either using grep on your machine, or -- more convenient -- at github.
Best, Stephan
Am Mittwoch, den 12.04.2017, 02:00 +0100 schrieb Leonel Gaspar Soares:
Currently, I'm using an Alix3d3 with 256MB RAM and ibrdtn deamon says it can't allocate memory (BinaryStreamClient) for sending a file with 100 MB... where is this memory allocated in the code?
On Sat, Apr 8, 2017 at 1:18 AM, Leonel Gaspar Soares <leonelgasparsoa res@gmail.com> wrote:
Im testing dtnsend and cant seem to send a file with 100 MB. Is it impossible to send it?
-- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to <ibr-dtn-request@ibr.cs.tu-b s.de> !! or look at https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.
-- Stephan Rottmann Institut für Betriebssysteme und Rechnerverbund Tel.: +49-531-391-3154 Mühlenpfordtstraße 23 Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig
In order to get rid of bundles stored in memory you can define the blob_path in the configuration. It should point to a writable folder on a harddrive with twice as much space as the largest bundle you like to send (maybe even some more).
Kind regards, Johannes Morgenroth
Am 12.04.2017 um 14:55 schrieb Leonel Gaspar Soares:
Thanks Professor. The error message in daemon is:
Wed Apr 12 14:49:24 2017 ERROR BinaryStreamClient: output stream went bad [Cannot allocate memory]; 134217728 of 134482789 bytes copied
Could this problem be solved with fragmentation? How can payload size of fragment be defined in the configuration file in OpenWrt? limit_payload=500K does not seam to work...
Thanks Doctor Morgenroth, I will try that alternative. Could you please explain how can the payload size of fragmentation be configured in OpenWrt?
On Mon, Apr 17, 2017 at 9:46 PM, Johannes Morgenroth jm@m-network.de wrote:
In order to get rid of bundles stored in memory you can define the blob_path in the configuration. It should point to a writable folder on a harddrive with twice as much space as the largest bundle you like to send (maybe even some more).
Kind regards, Johannes Morgenroth
Am 12.04.2017 um 14:55 schrieb Leonel Gaspar Soares:
Thanks Professor. The error message in daemon is:
Wed Apr 12 14:49:24 2017 ERROR BinaryStreamClient: output stream went bad [Cannot allocate memory]; 134217728 of 134482789 bytes copied
Could this problem be solved with fragmentation? How can payload size of fragment be defined in the configuration file in OpenWrt? limit_payload=500K does not seam to work...
-- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to ibr-dtn-request@ibr.cs.tu-bs.de !! or look at https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.
In order to activate fragmentation you need to set two options in /etc/config/ibrdtn.
config 'daemon' 'main' option fragmentation yes option blocksize 1M
Am 18.04.2017 um 21:16 schrieb Leonel Gaspar Soares:
Thanks Doctor Morgenroth, I will try that alternative. Could you please explain how can the payload size of fragmentation be configured in OpenWrt?
On Mon, Apr 17, 2017 at 9:46 PM, Johannes Morgenroth <jm@m-network.de mailto:jm@m-network.de> wrote:
In order to get rid of bundles stored in memory you can define the blob_path in the configuration. It should point to a writable folder on a harddrive with twice as much space as the largest bundle you like to send (maybe even some more). Kind regards, Johannes Morgenroth
Thanks Dr. Morgenroth. Are the repositories of IBR-DNT in Debian_8.0 folder totaly compatible with Debian 8.7?
On Sat, Apr 22, 2017 at 9:10 AM, Johannes Morgenroth < morgenroth@ibr.cs.tu-bs.de> wrote:
In order to activate fragmentation you need to set two options in /etc/config/ibrdtn.
config 'daemon' 'main' option fragmentation yes option blocksize 1M
Am 18.04.2017 um 21:16 schrieb Leonel Gaspar Soares:
Thanks Doctor Morgenroth, I will try that alternative. Could you please explain how can the payload size of fragmentation be configured in
OpenWrt?
On Mon, Apr 17, 2017 at 9:46 PM, Johannes Morgenroth <jm@m-network.de mailto:jm@m-network.de> wrote:
In order to get rid of bundles stored in memory you can define the blob_path in the configuration. It should point to a writable folder
on
a harddrive with twice as much space as the largest bundle you like
to
send (maybe even some more). Kind regards, Johannes Morgenroth
-- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to ibr-dtn-request@ibr.cs.tu-bs.de !! or look at https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.
participants (4)
-
Johannes Morgenroth
-
Johannes Morgenroth
-
Leonel Gaspar Soares
-
Stephan Rottmann