I had a large broadcast around 2018-10-23 21:09:51
Today on 24 I noticed something is not ok and checked the status of jasmind process to find out the below,
$ systemctl status jasmind
● jasmind.service - Jasmin SMS Gateway
Loaded: loaded (/lib/systemd/system/jasmind.service; enabled; vendor preset: enabled)
Active: active (running) since J3 2018-10-15 06:54:06 EAT; 1 weeks 2 days ago
Main PID: 958 (jasmind.py)
CGroup: /system.slice/jasmind.service
└─958 /usr/bin/python /usr/bin/jasmind.py --username default --password default
Okt 23 21:21:43 mobile-ProLiant-DL180-Gen9 jasmind[958]: self.mainLoop()
Okt 23 21:21:43 mobile-ProLiant-DL180-Gen9 jasmind[958]: File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1208, in mainLoop
Okt 23 21:21:43 mobile-ProLiant-DL180-Gen9 jasmind[958]: log.msg("Unexpected error in main loop.")
Okt 23 21:21:43 mobile-ProLiant-DL180-Gen9 jasmind[958]: File "/usr/lib/python2.7/dist-packages/twisted/python/threadable.py", line 53, in sync
Okt 23 21:21:43 mobile-ProLiant-DL180-Gen9 jasmind[958]: return function(self, *args, **kwargs)
Okt 23 21:21:43 mobile-ProLiant-DL180-Gen9 jasmind[958]: File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 282, in msg
Okt 23 21:21:43 mobile-ProLiant-DL180-Gen9 jasmind[958]: _publishNew(self._publishPublisher, actualEventDict, textFromEventDict)
Okt 23 21:21:43 mobile-ProLiant-DL180-Gen9 jasmind[958]: File "/usr/lib/python2.7/dist-packages/twisted/logger/_legacy.py", line 128, in publishToNewObserver
Okt 23 21:21:43 mobile-ProLiant-DL180-Gen9 jasmind[958]: eventDict["log_text"] = text
Okt 23 21:21:43 mobile-ProLiant-DL180-Gen9 jasmind[958]: MemoryError
I have restarted and everything is fine, but I want to avoid same in future, any idea?