Too many open files
Hi, As many people that actually read the manual know, it is encouraged to use ulimit to increase the number of open files. Still to my surpise, the default setting of 1024, is not enough to edit a project with less than 50 media files. Should we investigate resource leaking at some point, or maybe a more elegant way to actually use the resources? -- Stefan
пн, 1 мая 2023 г., 22:24 Stefan de Konink via Cin < [email protected]>:
Hi,
As many people that actually read the manual know, it is encouraged to use ulimit to increase the number of open files. Still to my surpise, the default setting of 1024, is not enough to edit a project with less than 50 media files.
Was ot reason for previously reported stack smashing bugreport by you?
Should we investigate resource leaking at some point, or maybe a more elegant way to actually use the resources?
Sure! I ran cppcheck on main cinelerra and guicast folders in last year, and will do again. As far as I understand cinelerra keep open edited media plus index files (one or two per media? Total max is configurable in gui with default like 400?) plus plugin config files (xml files in .bcast5 dir) plus may be shared libs too .... You can check /proc/$cin_pid/fd/ subdirectory for all open files ...
-- Stefan -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
On Monday, May 1, 2023 9:55:45 PM CEST, Andrew Randrianasulu wrote:
Was ot reason for previously reported stack smashing bugreport by you?
I cannot parse the above sentence.
You can check /proc/$cin_pid/fd/ subdirectory for all open files ...
A gazillion connections to /dev/nvidia0 ;) -- Stefan
пн, 1 мая 2023 г., 23:35 Stefan de Konink <[email protected]>:
On Monday, May 1, 2023 9:55:45 PM CEST, Andrew Randrianasulu wrote:
Was ot reason for previously reported stack smashing bugreport by you?
I cannot parse the above sentence.
sorry. After raising this limit you can edit yesterday's project without errors, or cin still crashes?
You can check /proc/$cin_pid/fd/ subdirectory for all open files ...
A gazillion connections to /dev/nvidia0 ;)
hmmm ... ask nvidia then? :) I can only guess those can represent some opengl/video decoding accel connections to GPU ....
-- Stefan
On Monday, May 1, 2023 10:38:34 PM CEST, Andrew Randrianasulu wrote:
sorry. After raising this limit you can edit yesterday's project without errors, or cin still crashes?
I had to do the ulimit thing before I edited yesterday. But I forgot to do it today. Hence, that triggered me to write the email.
You can check /proc/$cin_pid/fd/ subdirectory for all open files ...
A gazillion connections to /dev/nvidia0 ;)
hmmm ... ask nvidia then? :) I can only guess those can represent some opengl/video decoding accel connections to GPU ....
I wonder what part actually triggers the opening, if for every decoder instance a connection to /dev/nvidia0 is created, one may ask: why not proxy that too? -- Stefan
participants (2)
-
Andrew Randrianasulu -
Stefan de Konink