http , Too many open files Error

burak guder

Member
Today we got the following error on the player screen and APIs. It was fixed when I restarted the service. What can I do to prevent this from happening again?

Code:
{"exception":"java.nio.file.FileSystemException","path":"/usr/local/FlashphonerWebCallServer/client2/examples/demo/streaming/embed_player/player.html","error":"Internal Server Error","message":"/usr/local/FlashphonerWebCallServer/client2/examples/demo/streaming/embed_player/player.html: Too many open files","timestamp":1633681237366,"status":500}
 

Max

Administrator
Staff member
Good day.
By default, open files limit is set to 10000. You should increase this value by settin LimitNOFILE[/ICODE parameter in service description file [ICODE]/etc/systemd/system/webcallserver.service, for example, to 1000000
Code:
[Service]
User=flashphoner
Group=flashphoner
LimitNOFILE=100000
...
Please read also here.
 
Top