Operating system name and version: CentOS 7
Version of smsd: The config file says 3.1.5
Smsd installed from: SMSD was already installed on the server and i need to find out why it stops working sometimes.
Name and model of a modem / phone: UR5i v2Libratum UMTS
Interface: Ethernet

I am very new to this topic so if there is something missing i will try my best to provide it.

Problem:
The smsd service goes into "defunct" state daily. We created a cronjob to stop and start the service at 12AM, but the service crashes at around 8AM and no messages are sent until the restart at 12AM.
There is also a server in china that uses the same modem, and also stops working sometimes.
We are also using docker for our virtualization.

smsd_trouble.log:
2020-01-27 16:15:56,3, GSM1: Modem did not accept the init string
2020-01-27 16:15:56,2, GSM1: Failed to initialize modem GSM1. Stopping.
2020-01-27 16:15:56,2, GSM1: Modem handler 0 terminated. PID: 117325, was started 20-01-27 16:15:54.
2020-01-27 16:15:58,5, smsd: Outgoing file checker has started. PID: 120403.
2020-01-27 16:15:58,5, smsd: Everything ok now.
2020-01-28 12:01:01,5, smsd: Outgoing file checker has started. PID: 41602.
2020-01-28 12:01:01,5, smsd: Everything ok now.
2020-01-29 12:01:01,5, smsd: Outgoing file checker has started. PID: 31958.
2020-01-29 12:01:01,5, smsd: Everything ok now.
2020-01-29 16:35:10,5, smsd: Outgoing file checker has started. PID: 24506.
2020-01-29 16:35:10,5, smsd: Everything ok now.
2020-01-29 16:35:34,7, GSM1: -> AT+CREG?
2020-01-29 16:35:34,7, GSM1: Command is sent, waiting for the answer
2020-01-29 16:35:35,7, GSM1: <- +CREG: 0,1 OK
2020-01-29 16:35:35,6, GSM1: Modem is registered to the network
2020-01-29 16:35:35,7, GSM1: -> AT+CMGS=110
2020-01-29 16:35:35,7, GSM1: Command is sent, waiting for the answer
2020-01-29 16:35:36,7, GSM1: <- >
2020-01-29 16:35:36,7, GSM1: -> 0011000C919461304487220000FF6D53A9B525D5C65AD4295406C3819E4BD0BC2CB7A7C7E5C8908E87BEE574E39D3CB58F41CF25A8051AA6E9F2341E84246241D0B79C0E32BEE5F7B09C9C769F41D3B2DC9E1E97752079DDED4EBBCF20D49C1E96D341F43CBC0C4ACF41E13AFD9D02
2020-01-29 16:35:36,7, GSM1: Command is sent, waiting for the answer
2020-01-29 16:36:47,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2020-01-29 16:36:47,7, GSM1: <-
2020-01-29 16:36:47,3, GSM1: The modem answer was not OK:
2020-01-29 16:36:47,5, GSM1: Waiting 10 sec. before retrying
2020-01-29 16:36:57,6, GSM1: Checking if modem is ready
2020-01-29 16:36:59,5, GSM1: Everything ok now.
2020-01-30 12:01:01,5, smsd: Outgoing file checker has started. PID: 103951.
2020-01-30 12:01:01,5, smsd: Everything ok now.
2020-01-31 12:01:01,5, smsd: Outgoing file checker has started. PID: 14806.
2020-01-31 12:01:01,5, smsd: Everything ok now.
2020-02-01 12:01:01,5, smsd: Outgoing file checker has started. PID: 59377.
2020-02-01 12:01:01,5, smsd: Everything ok now.
2020-02-02 12:01:01,5, smsd: Outgoing file checker has started. PID: 130250.
2020-02-02 12:01:01,5, smsd: Everything ok now.
2020-02-03 12:01:01,5, smsd: Outgoing file checker has started. PID: 85338.
2020-02-03 12:01:01,5, smsd: Everything ok now.
2020-02-04 12:01:01,5, smsd: Outgoing file checker has started. PID: 41582.
2020-02-04 12:01:01,5, smsd: Everything ok now.
2020-02-05 12:01:01,5, smsd: Outgoing file checker has started. PID: 37557.
2020-02-05 12:01:01,5, smsd: Everything ok now.
2020-02-06 12:01:01,5, smsd: Outgoing file checker has started. PID: 83480.
2020-02-06 12:01:01,5, smsd: Everything ok now.



Thanks in advance