# The script was killed

**URL:** <https://talk.jelurida.com/t/the-script-was-killed/743>\
**Category:** Developers\
**Created:** [13 May 2022 06:42 UTC](https://talk.jelurida.com/t/the-script-was-killed/743 "2022-05-13T06:42:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kfmg](https://talk.jelurida.com/letter_avatar_proxy/v4/letter/k/ebca7d/32.png) [@kfmg](https://talk.jelurida.com/u/kfmg)\
**Post date:** [13 May 2022 06:42 UTC](https://talk.jelurida.com/t/the-script-was-killed/743/1 "2022-05-13T06:42:34Z")

</div>

Hi,  
I have problem with my VPSs. When I click on run.sh, the script runs few minutes. After that there is message "killed" and script stops. Could you help me?

2022-05-12 20:18:12 INFO: Network Listener Connection from 185.31.163.106 accepted  
2022-05-12 20:18:12 FINE: pool-3-thread-8 Disconnecting dead peer 62.173.142.197 last updated 137621871 at 137621893  
2022-05-12 20:18:13 INFO: pool-3-thread-8 Will close connection to 62.173.142.197  
2022-05-12 20:18:14 FINE: Message Handler 3 Handshake complete with 185.31.163.106  
2022-05-12 20:18:27 FINE: Thread-14 SQL statement required 24.625 seconds at height 2322540:  
SELECT full\_hash, type, subtype, has\_prunable\_attachment AS prunable\_attachment, has\_prunable\_message AS prunable\_plain\_message, has\_prunable\_encry  
pted\_message AS prunable\_encrypted\_message FROM MPG.TRANSACTION WHERE (timestamp BETWEEN ? AND ?) AND (has\_prunable\_attachment = TRUE OR has\_prunab  
le\_message = TRUE OR has\_prunable\_encrypted\_message = TRUE)  
nxt.db.TransactionalDb$DbPreparedStatement.executeQuery(TransactionalDb.java:428)  
nxt.blockchain.TransactionHome.findPrunableTransactions(TransactionHome.java:256)  
nxt.blockchain.BlockchainProcessorImpl.restorePrunedData(BlockchainProcessorImpl.java:1268)  
2022-05-12 20:18:34 FINE: pool-2-thread-10 Read from 185.31.163.106 timed out  
2022-05-12 20:18:35 INFO: pool-2-thread-10 Will close connection to 185.31.163.106  
Killed

Thanks.  
Kfmg

---

<div class="post-metadata">

**Author:** ![kfmg](https://talk.jelurida.com/letter_avatar_proxy/v4/letter/k/ebca7d/32.png) [@kfmg](https://talk.jelurida.com/u/kfmg)\
**Post date:** [13 May 2022 09:20 UTC](https://talk.jelurida.com/t/the-script-was-killed/743/2 "2022-05-13T09:20:01Z")

</div>

next logs:

(SELECT transaction.\* FROM transaction WHERE recipient\_id = ? AND sender\_id \<\> ? ORDER BY recipient\_id, block\_timestamp DESC LIMIT ? ) UNION ALL (  
SELECT transaction.\* FROM transaction WHERE sender\_id = ? ORDER BY sender\_id, block\_timestamp DESC LIMIT ? ) ORDER BY block\_timestamp DESC, transa  
ction\_index DESC LIMIT ?  
nxt.db.TransactionalDb$DbPreparedStatement.executeQuery(TransactionalDb.java:428)  
nxt.db.DbIterator.(DbIterator.java:47)  
nxt.blockchain.BlockchainImpl.getTransactions(BlockchainImpl.java:613)  
nxt.blockchain.BlockchainImpl.getTransactions(BlockchainImpl.java:399)  
nxt.http.GetBlockchainTransactions.processRequest(GetBlockchainTransactions.java:79)  
nxt.http.APIServlet$APIRequestHandler.processRequest(APIServlet.java:138)  
nxt.http.APIServlet.process(APIServlet.java:381)  
nxt.http.APIServlet.doPost(APIServlet.java:276

---

<div class="post-metadata">

**Author:** ![petko.petkov](https://talk.jelurida.com/letter_avatar_proxy/v4/letter/p/eb8c5e/32.png) [@petko.petkov](https://talk.jelurida.com/u/petko.petkov)\
**Post date:** [17 May 2022 21:29 UTC](https://talk.jelurida.com/t/the-script-was-killed/743/3 "2022-05-17T21:29:46Z")

</div>

hi,

Log messages like "SQL statement required..." are harmless.

What OS is this and how much free memory the process can use?

Maybe try to call run.sh with parameter `--daemon`
