Hi all,
I'm beginning to have a pattern of a web UI crash.
I can successfully start recording and stop recording via http calls.
Once recorded I successfully ask the camera to save the buffer via /control/startFilesave
I get the status updating via /control/subscribe end point.
All of this are done without loading the webUI.
To download the saved file, i connect to the webUI and list the files in the play/save tab and download it via the webbrowser.
My recordings are 500 Mo done at almost 6000 FPS approximatly 5 seconds.
I had multiple hangs of the web service / downloads aborted.
Connecting via ssh I get those clues :
Using dmesg :
[ 425.000000] 0 425 2279 174 0 0 0 cam-scgi
[ 426.000000] 0 426 1271 62 0 0 0 mountNetDrive.s
[ 427.000000] 0 427 16385 1355 0 0 0 camApp
[ 431.000000] 0 431 486 25 0 0 0 inotifywait
[ 2842.000000] 33 2842 479 53 0 0 0 cat
[ 0.000000] Out of memory: Kill process 385 (lighttpd) score 889 or sacrifice child
[ 0.000000] Killed process 385 (lighttpd) total-vm:568852kB, anon-rss:561444kB, file-rss:108kB
[ 0.000000] PHY: 0:00 - Link is Down
[ 0.000000] PHY: 0:00 - Link is Up - 1000/Full
[ 0.000000] I2C No Ack
tail -f /var/log/lighttpd/error.log
2025-06-17 07:25:22: (mod_scgi.c.2500) emergency exit: scgi: connection-fd: 9 fcgi-fd: 10
2025-06-17 07:25:22: (mod_scgi.c.2500) emergency exit: scgi: connection-fd: 11 fcgi-fd: 14
2025-06-17 07:27:04: (mod_cgi.c.1062) fork failed: Cannot allocate memory
2025-06-17 07:27:12: (mod_cgi.c.1062) fork failed: Cannot allocate memory
2025-06-17 07:27:12: (mod_cgi.c.1062) fork failed: Cannot allocate memory
2025-06-17 07:27:12: (mod_cgi.c.1062) fork failed: Cannot allocate memory
2025-06-17 07:33:37: (log.c.164) server started
Once crashed I do not get any http responses as expected, but i can execute the http server again/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.confto regain access.
Any advices ?I'm not very confortable with cgi-bin. It's just a server to that does calls to the programs ?Can someone guides me to search the calls in the source code ?
Some informations on the software :Chronos 1.4 with version 0.7.2 FPGA 3.25 PMIC firmware version 11
Thanks a lot for your help
I'm beginning to have a pattern of a web UI crash.
I can successfully start recording and stop recording via http calls.
Once recorded I successfully ask the camera to save the buffer via /control/startFilesave
I get the status updating via /control/subscribe end point.
All of this are done without loading the webUI.
To download the saved file, i connect to the webUI and list the files in the play/save tab and download it via the webbrowser.
My recordings are 500 Mo done at almost 6000 FPS approximatly 5 seconds.
I had multiple hangs of the web service / downloads aborted.
Connecting via ssh I get those clues :
Using dmesg :
[ 425.000000] 0 425 2279 174 0 0 0 cam-scgi
[ 426.000000] 0 426 1271 62 0 0 0 mountNetDrive.s
[ 427.000000] 0 427 16385 1355 0 0 0 camApp
[ 431.000000] 0 431 486 25 0 0 0 inotifywait
[ 2842.000000] 33 2842 479 53 0 0 0 cat
[ 0.000000] Out of memory: Kill process 385 (lighttpd) score 889 or sacrifice child
[ 0.000000] Killed process 385 (lighttpd) total-vm:568852kB, anon-rss:561444kB, file-rss:108kB
[ 0.000000] PHY: 0:00 - Link is Down
[ 0.000000] PHY: 0:00 - Link is Up - 1000/Full
[ 0.000000] I2C No Ack
tail -f /var/log/lighttpd/error.log
2025-06-17 07:25:22: (mod_scgi.c.2500) emergency exit: scgi: connection-fd: 9 fcgi-fd: 10
2025-06-17 07:25:22: (mod_scgi.c.2500) emergency exit: scgi: connection-fd: 11 fcgi-fd: 14
2025-06-17 07:27:04: (mod_cgi.c.1062) fork failed: Cannot allocate memory
2025-06-17 07:27:12: (mod_cgi.c.1062) fork failed: Cannot allocate memory
2025-06-17 07:27:12: (mod_cgi.c.1062) fork failed: Cannot allocate memory
2025-06-17 07:27:12: (mod_cgi.c.1062) fork failed: Cannot allocate memory
2025-06-17 07:33:37: (log.c.164) server started
Once crashed I do not get any http responses as expected, but i can execute the http server again/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.confto regain access.
Any advices ?I'm not very confortable with cgi-bin. It's just a server to that does calls to the programs ?Can someone guides me to search the calls in the source code ?
Some informations on the software :Chronos 1.4 with version 0.7.2 FPGA 3.25 PMIC firmware version 11
Thanks a lot for your help