You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
Hi ,
I did a loop interaction test for my test APP with sdk v1.3.0, it ask 3 questions in one minute, an error occured after running about 5 hours:
I have a popen operation to invoke shell command in my test APP, and the function is works well in the old sdk, but after I upgrade the sdk to 1.3.0, I get an error which is "Too many open files", then I checked the max open file setting on the operating system:
#ulimit -a
-f: file size (blocks) unlimited
-t: cpu time (seconds) unlimited
-d: data seg size (kb) unlimited
-s: stack size (kb) 8192
-c: core file size (blocks) 0
-m: resident set size (kb) unlimited
-l: locked memory (kb) 64
-p: processes 3230 -n: file descriptors 1024
-v: address space (kb) unlimited
-w: locks unlimited
-e: scheduling priority 0
-r: real-time priority 0
the max limitation is 1024, then check the opened file in the current process:
Thank you for pointing this out. We will definitely investigate this and see what may be causing this. Can I ask what your test script was doing? As in, were they just simple questions or doing other things as well such as alarms or music? From what I understand you have a test that asks 3 questions a minute for 5 hours, correct?
Hi @sanjayrd ,
Yes, here is just a simple question which is "Alexa, what time is it", and loop the question for 5 hours, interval is 20 seconds. Didn't do any other things.
the count of opened files will be continually increased during my test in sdk 1.3.0, it didn't increase in old sdk.
I just tried reproducing the issue over a span of ~30 minutes with multiple "what time is it?" questions and didn't see the number of open file descriptors owned by the application increase over this period. For context, I was running on MacOS and I was running the default SampleApp that comes with the SDK. Perhaps it is something more environment specific? What environment are you running on? Also just to verify, your test script isn't opening files and leaving them, is it?
Hi ,
I did a loop interaction test for my test APP with sdk v1.3.0, it ask 3 questions in one minute, an error occured after running about 5 hours:
I have a popen operation to invoke shell command in my test APP, and the function is works well in the old sdk, but after I upgrade the sdk to 1.3.0, I get an error which is "Too many open files", then I checked the max open file setting on the operating system:
the max limitation is 1024, then check the opened file in the current process:
There have 1026 opened files. But in sdk 1.1.0, it's 55
is it a new issue in sdk 1.3.0? because I have a same source code for both sdk 1.1.0 and sdk 1.3.0
Please advise.
thanks.
The text was updated successfully, but these errors were encountered: