Librenms.log file is massive

I am having an issue where the librenms.log files are growing like crazy. When I tail the log, there is an entry:
[2019-04-17 07:41:36] production.ERROR: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away (SQL: INSERT IGNORE INTO sensors (poller_type,sensor_class,device_id,sensor_oid,sensor_index,sensor_type,sensor_descr,sensor_divisor,sensor_multiplier,sensor_limit,sensor_limit_low,sensor_current,entPhysicalIndex,entPhysicalIndex_measured) VALUES (snmp,temperature,12,.,2106,cisco-entity-sensor, - Te2/0/
35 Module ,100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Then the zeros repeat basically forever

-rw-rw-r-- 1 librenms librenms 47444716313 Apr 18 07:46 librenms.log

[email protected]:/opt/librenms/logs$ ./
-bash: ./ No such file or directory
[email protected]:/opt/librenms/logs$ cd …
[email protected]:/opt/librenms$ ./
Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
[email protected]:/opt/librenms$ ./validate.php

Component Version
LibreNMS 1.50-47-gd5ea3d4
DB Schema 2019_02_10_220000_add_dates_to_fdb (132)
MySQL 10.0.38-MariaDB-0ubuntu0.16.04.1
RRDTool 1.5.5


[OK] Composer Version: 1.8.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[email protected]:/opt/librenms$

Your mysql server is having troubles. From the output you posted:

MySQL server has gone away