Impact of Running Only appian_services_stop Without Full Shutdown Sequence

Hi everyone,

We recently encountered performance issues in our development environment and requested a restart. Before the full sequence could be executed, we have ran only:

Code: appian_services_stop
followed by starting it again without stopping the other components:
appian_appserver_stop  
appian_searchserver_stop
appian_services_stop

appian_dataserver_stop

We’d like to understand from the community:

  • What are the potential risks or side effects of restarting only appian_services_stop?

  • Could this lead to instability or partial recovery?

  • Is there any known impact on data integrity, indexing, or service coordination?

Appreciate any insights or experiences you can share.

Thanks,

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    Hi  ,

    AFAIK, restarting only appian_services_stop does have few consequences.

    1. Any active processes, tasks, or timers may lose connection in mid-execution

    2. Since only services restarted, other components like AppServer, DataServer, SearchServer won’t reset to their previous state.
    3. This error may possibly occur : Unable to connect to process execution engine.(Personally, I've faced this).
    4. you could see indexing failures or missing results.
    5. There will be no Data integrity issues, because rollback feature handles retries.

    Its always recommended to restart the whole environment, instead of just restarting the Appian Services, Then a dull backup will be completed, or else you may face lot of instablities, process failures, slowness.


     
    For a instance, I've written code for the batch scripts to start and stop the servers, just change the path and password in the below script and save the script as start.bat/stop.bat 

     
    For starting the Appian Server, code follows: start.bat 
     
    @echo off 

    set APPIAN_HOME=C:\Appian\Appian 

     

    echo Starting Appian Engines... 

    call "%APPIAN_HOME%\services\bin\start.bat" -p "<Your Password>" -s all 

     

    echo Starting Data Server... 

    call "%APPIAN_HOME%\data-server\bin\start.bat" 

     

    echo Starting Search Server... 

    call "%APPIAN_HOME%\search-server\bin\start.bat" 

     

    echo Starting App Server (Tomcat)... 

    call "%APPIAN_HOME%\tomcat\apache-tomcat\bin\start-appserver.bat" 

     

    echo Appian has been started successfully. 

    pause 

     

    For stopping the Appian Server, code follows: stop.bat 
     
     
    @echo off 
    set APPIAN_HOME=C:\Appian\Appian 
     
    echo Stopping Appian Engines... 
    call "%APPIAN_HOME%\services\bin\stop.bat" -p "<Your Password>" -s all 
     
    echo Stopping Data Server... 
    call "%APPIAN_HOME%\data-server\bin\stop.bat" 
     
    echo Stopping Search Server... 

    call "%APPIAN_HOME%\search-server\bin\stop.bat" 

     

    echo Stopping App Server (Tomcat)... 

    call "%APPIAN_HOME%\tomcat\apache-tomcat\bin\stop-appserver.bat" 

     

    echo Appian has been stopped successfully. 

    pause 
     
    Note : Create.bat files and put it in any folder, Run cmd as Administrator and call the files as start.bat or stop.bat. 
     
    I've ran the script in my pc, its working fine for On-premise server 
     
    Check the below screenshots: 
     

     
     
     
     
     
     
     
     
    Hope this helps you!!! 

Reply
  • 0
    Certified Associate Developer

    Hi  ,

    AFAIK, restarting only appian_services_stop does have few consequences.

    1. Any active processes, tasks, or timers may lose connection in mid-execution

    2. Since only services restarted, other components like AppServer, DataServer, SearchServer won’t reset to their previous state.
    3. This error may possibly occur : Unable to connect to process execution engine.(Personally, I've faced this).
    4. you could see indexing failures or missing results.
    5. There will be no Data integrity issues, because rollback feature handles retries.

    Its always recommended to restart the whole environment, instead of just restarting the Appian Services, Then a dull backup will be completed, or else you may face lot of instablities, process failures, slowness.


     
    For a instance, I've written code for the batch scripts to start and stop the servers, just change the path and password in the below script and save the script as start.bat/stop.bat 

     
    For starting the Appian Server, code follows: start.bat 
     
    @echo off 

    set APPIAN_HOME=C:\Appian\Appian 

     

    echo Starting Appian Engines... 

    call "%APPIAN_HOME%\services\bin\start.bat" -p "<Your Password>" -s all 

     

    echo Starting Data Server... 

    call "%APPIAN_HOME%\data-server\bin\start.bat" 

     

    echo Starting Search Server... 

    call "%APPIAN_HOME%\search-server\bin\start.bat" 

     

    echo Starting App Server (Tomcat)... 

    call "%APPIAN_HOME%\tomcat\apache-tomcat\bin\start-appserver.bat" 

     

    echo Appian has been started successfully. 

    pause 

     

    For stopping the Appian Server, code follows: stop.bat 
     
     
    @echo off 
    set APPIAN_HOME=C:\Appian\Appian 
     
    echo Stopping Appian Engines... 
    call "%APPIAN_HOME%\services\bin\stop.bat" -p "<Your Password>" -s all 
     
    echo Stopping Data Server... 
    call "%APPIAN_HOME%\data-server\bin\stop.bat" 
     
    echo Stopping Search Server... 

    call "%APPIAN_HOME%\search-server\bin\stop.bat" 

     

    echo Stopping App Server (Tomcat)... 

    call "%APPIAN_HOME%\tomcat\apache-tomcat\bin\stop-appserver.bat" 

     

    echo Appian has been stopped successfully. 

    pause 
     
    Note : Create.bat files and put it in any folder, Run cmd as Administrator and call the files as start.bat or stop.bat. 
     
    I've ran the script in my pc, its working fine for On-premise server 
     
    Check the below screenshots: 
     

     
     
     
     
     
     
     
     
    Hope this helps you!!! 

Children
No Data