I’m coming across the File size limit exceeded (core dumped) error when trying to store a significant amount data to a mounted usb drive through my legato application. The process which writes the data to the drive is spawned from my application by popen(), though I have the same error if I try to run it with a system() command.
When the process is ran from the command line, it executes as expected with no error.
I found this thread which describes the same issue, but the suggestions don’t seem to help. I even tried to emulate what he was doing by wget’ing a 200MB file from the internet (rather than my own process) and can replicate the same error.
My linux and legato image are based off R13.1 and are lightly customised to meet our requirements.
I’m using a WP7607 modem.
What i’ve tried:
I’ve tried increasing maxFileBytes and maxFileSystemBytes in the adef, but I notice no change to the limits when running system(“ulimit -a”); with or without those values set. Nor does it solve the issue.
I’ve tried mounting my usb drive in /tmp/ and in /home/root/ but neither makes a difference.
At this point it seems like my only other option is to create a native application that has some form of IPC with my legato application to start and stop the process to write the data to the drive, but I’d rather not go this way if at all possible.
I’m sure i’ve probably missed something with my adef , so would appreciate any ideas.