Huge 27 GB freeswitch log file.

1,608 views
Skip to first unread message

juan.s...@uc.edu.py

unread,
Apr 11, 2019, 2:45:22 PM4/11/19
to BigBlueButton-dev
Thanks for letting me in the dev group. I think my problem should go here. I am fairly new to BBB and have a new installation at my university. We've been testing since november and we are glad with the results. What is worrying me now is that the freeswitch installation that BBB uses, created a huge logfile called freeswitch.log.2 in /opt/freeswitch/log. Its size is 27 GB, and another one of 1 GB. I cant open it, it saturates the server when opening (the 27 GB one). It is safe to delete it?. It seems it is a simple log file that I can delete it. I just need confirmation, 
I wasn't able to find anything regarding the size of the log file. Shouldn't the server delete it automatically?. Thanks!.

satyakam goswami

unread,
Apr 11, 2019, 2:48:49 PM4/11/19
to bigblueb...@googlegroups.com
Yes it should be ok to delete these files, check on web how to implement log rotate

-Satya

On Fri 12 Apr, 2019, 00:15 , <juan.s...@uc.edu.py> wrote:
Thanks for letting me in the dev group. I think my problem should go here. I am fairly new to BBB and have a new installation at my university. We've been testing since november and we are glad with the results. What is worrying me now is that the freeswitch installation that BBB uses, created a huge logfile called freeswitch.log.2 in /opt/freeswitch/log. Its size is 27 GB, and another one of 1 GB. I cant open it, it saturates the server when opening (the 27 GB one). It is safe to delete it?. It seems it is a simple log file that I can delete it. I just need confirmation, 
I wasn't able to find anything regarding the size of the log file. Shouldn't the server delete it automatically?. Thanks!.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.

Fred Dixon

unread,
Apr 11, 2019, 4:01:38 PM4/11/19
to BigBlueButton-dev
Hi Juan,

Thanks for pointing this out. Opened an issue to update parameters for FreeSWITCH logs



Regards,... Fred
--
BigBlueButton Developer
@bigbluebutton

HostBBB.com

unread,
Apr 11, 2019, 4:05:44 PM4/11/19
to BigBlueButton-dev
You need to check your firewall settings.   if you have a file this big mostly port 5060 is open to the world and your getting bombarded with sip attacks.

if you run /opt/freeswitch/bin/fs_cli you will see the traffic and all the failed attempts

regards,
Stephen

Fred Dixon

unread,
Apr 12, 2019, 5:28:10 AM4/12/19
to BigBlueButton-dev
Hi Juan,

To restrict access to only the needed ports on your BigBlueButton server (and thereby block external access to port 5060), see


Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.

Omer Faruk KAYA

unread,
Aug 7, 2020, 8:30:06 AM8/7/20
to BigBlueButton-dev
Hi to all,

I closed 5060, 22 and other ports. But my log files are getting bigger everyday. It took 1 GB per 2 days. So after 20 days it reaches to 35-40 GB and fulls disk.

What can I do to solve big log files problem?

Sincerely

11 Nisan 2019 Perşembe 21:45:22 UTC+3 tarihinde juan.s...@uc.edu.py yazdı:

Fred Dixon

unread,
Aug 7, 2020, 8:35:15 AM8/7/20
to BigBlueButton-dev
Hi Omer,

When your BigBlueButton server is idle -- that has no users, can you do 

  tail -f /opt/share/freeswitch/log/freeswitch.log

and look at the traffic you are receiving.  Is it all connection attempts from external sources?  (If so, you may not have the firewall rules set.)


Try applying the ufw firewall rules as shown in the above link.



Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.


--
BigBlueButton Developer

Like BigBlueButton?  Tweet us at @bigbluebutton
Reply all
Reply to author
Forward
0 new messages