Restarting the services takes too mush time

Mohamed Roshdy

New Member
After restarting the services and showing the services status as expectd the services work fine immediately depends on the status showen below but admin page taked too long to reload also connecting to the server through android app.
Server status:
webcallserver.service - Flashphoner WebCallServer
Loaded: loaded (/etc/systemd/system/webcallserver.service; enabled; vendor preset: disabled)
Active: active (exited) since Wed 2018-12-12 12:52:54 UTC; 1min 57s ago
Process: 1584 ExecStop=/bin/bash webcallserver stop (code=exited, status=0/SUCCESS)
Process: 1629 ExecStart=/bin/bash webcallserver start (code=exited, status=0/SUCCESS)
Main PID: 1629 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/webcallserver.service
└─1669 java -Dloader.path=/usr/local/FlashphonerWebCallServer-5.1.3680-72ec64fc2bcf579deafa9b7cd900dc6297f6fcad/lib/tbs-commons.jar,/usr/local/FlashphonerWebCallServer-5.1.3680-7...

Dec 12 12:52:54 server systemd[1]: Started Flashphoner WebCallServer.
Dec 12 12:52:54 server systemd[1]: Starting Flashphoner WebCallServer...
Dec 12 12:52:56 server bash[1629]: FlashphonerWebCallServer: starting[ OK ]
 

Max

Administrator
Staff member
Generally server is starting less than 1 minute depending on CPU and RAM.
Make sure you have enough RAM and it is not using swap.

Try to install haveged to speedup process:
https://docs.flashphoner.com/displa...uirementsandprerequisites-Havegedinstallation

If haveged does not help, you can start core-only.
Code:
service webcallserver start core
Core launch takes few seconds. However web dashboard will not be available in such a case.
 
Top