Skip to content

Instantly share code, notes, and snippets.

View ngtuna's full-sized avatar

Tuna ngtuna

View GitHub Profile
2018-03-08 00:02:46.902 INFO 13 --- [pool-2-thread-1] com.sapa.admin.schedule.BankingSchedule : START checkingBankingTransaction
2018-03-08 00:02:46.964 INFO 13 --- [pool-2-thread-1] com.sapa.admin.schedule.BankingSchedule : END checkingBankingTransaction
2018-03-08 00:07:46.902 INFO 13 --- [pool-2-thread-1] com.sapa.admin.schedule.BankingSchedule : START checkingBankingTransaction
2018-03-08 00:07:46.904 INFO 13 --- [pool-2-thread-1] com.sapa.admin.schedule.BankingSchedule : END checkingBankingTransaction
2018-03-08 00:12:46.902 INFO 13 --- [pool-2-thread-1] com.sapa.admin.schedule.BankingSchedule : START checkingBankingTransaction
2018-03-08 00:12:46.953 INFO 13 --- [pool-2-thread-1] com.sapa.admin.schedule.BankingSchedule : END checkingBankingTransaction
2018-03-08 00:17:46.902 INFO 13 --- [pool-2-thread-1] com.sapa.admin.schedule.BankingSchedule : START checkingBankingTransaction
2018-03-08 00:17:46.953 INFO 13 --- [pool-2-thread-1] com.sapa.admin.schedule.BankingSchedule : END che
2018-03-27 16:45:35.674 INFO 13 --- [pool-2-thread-1] com.sapa.core.schedule.ZappSchedule : START Zapp passing data
2018-03-27 16:46:05.676 WARN 13 --- [pool-2-thread-1] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: null
2018-03-27 16:46:05.677 ERROR 13 --- [pool-2-thread-1] o.h.engine.jdbc.spi.SqlExceptionHelper : [pool-2-thread-1] Timeout: Pool empty. Unable to fetch a connection in 30 seconds, none available[size:100; busy:100; idle:0; lastwait:30000].
2018-03-27 16:46:05.680 ERROR 13 --- [pool-2-thread-1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task.
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection
at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:431) ~[spring-orm-4.3.11.RELEASE.jar!/:4.3.11.RELEASE]
at org.springframework.transa
$ kubectl -n sapa logs -f sapa-backend-9897bdd86-r5xg6
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.7.RELEASE)
kubectl get events
LASTSEEN FIRSTSEEN COUNT NAME KIND SUBOBJECT TYPE REASON SOURCE MESSAGE
25m 25m 1 192.168.11.11 Node Normal NodeNotReady {controllermanager } Node 192.168.11.11 status is now: NodeNotReady
25m 25m 1 192.168.11.11 Node Normal NodeHasSufficientDisk {kubelet 192.168.11.11} Node 192.168.11.11 status is now: NodeHasSufficientDisk
25m 25m 1 192.168.11.11 Node Normal NodeReady {kubelet 192.168.11.11} Node 192.168.11.11 status is now: NodeReady
22m 2d 3 192.168.11.13 Node Normal NodeNotReady {controllermanager } Node 192.1
kubectl logs -f servicemix-3547043142-hm745
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.ListHttpHandler. Path: /http/list
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.ViewLog. Path: /http/view/log
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.UploadEtc. Path: /http/upload/etc
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.StopServicemix. Path: /http/system/stop
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.ViewFile. Path: /http/view
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.UploadDeploy. Path: /http/upload/deploy
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.ViewEtc. Path: /http/view/etc
struct ValidatorState {
address owner;
bool isCandidate;
uint256 cap;
mapping(address => uint256) voters;
}
struct WithdrawState {
mapping(uint256 => uint256) caps;
uint256[] blockNumbers;
[2021-12-23T08:18:03Z DEBUG server::tx_pool] last_executed_block_number: 261
[2021-12-23T08:18:03Z INFO server::state_keeper] Got StateKeeperRequest::GetAccountState
[2021-12-23T08:18:03Z INFO server::state_keeper] Got StateKeeperRequest::GetAccountState
[2021-12-23T08:18:03Z INFO server::tx_pool::pool_state] Re-adding BlockOperation to state: [Deposit(DepositOperation { account_id: 3, deposit_id: 9, token_id: 4, amount: 3000000000000000000, tx_hash: 0x339043b3a4d87d4ec28ef8a5b50c899ce363de4d3f97809cd07c75079b8b6bf0, created_at: 2021-12-22T08:32:18 }), Deposit(DepositOperation { account_id: 2, deposit_id: 10, token_id: 4, amount: 4000000000000000000, tx_hash: 0xb9d3749838b609876b108769eff08adcbaad678799be386604f50c6128bb7ccc, created_at: 2021-12-22T08:35:39 })]
[2021-12-23T08:18:03Z INFO server::tx_pool::pool_state] Re-adding hidden txs to pool. Hidden Txs: []
[2021-12-23T08:18:03Z DEBUG server::tx_pool] max_blocks_in_batch: 5 | amm_tx_submit_limit: 5 | last_executed_block_number: 261 | last_hidden_tx_blo
[2022-01-07T01:55:56Z WARN server::state_keeper] Failed to get account state for account id 1793. Error: "Account #1793 not exist"
[2022-01-07T02:08:48Z WARN server::state_keeper] Failed to get account state for account id 1794. Error: "Account #1794 not exist"
[2022-01-07T02:09:09Z WARN server::state_keeper] Failed to get account state for account id 1794. Error: "Account #1794 not exist"
[2022-01-07T02:09:52Z WARN server::state_keeper] Failed to get account state for account id 1794. Error: "Account #1794 not exist"
[2022-01-07T02:09:52Z WARN server::state_keeper] Failed to get account state for account id 1794. Error: "Account #1794 not exist"
[2022-01-07T02:15:40Z WARN server::state_keeper] Failed to get account state for account id 1795. Error: "Account #1795 not exist"
[2022-01-07T02:16:22Z WARN server::state_keeper] Failed to get account state for account id 1796. Error: "Account #1796 not exist"
[2022-01-07T02:16:22Z WARN server::state_keeper] Failed to get account state for account id 1796. E
func main() {
tracer.Start(
tracer.WithEnv(os.Getenv("DD_ENV")),
tracer.WithService(os.Getenv("DD_SERVICE")),
tracer.WithServiceVersion(os.Getenv("DD_VERSION")),
)
defer tracer.Stop()
if err := profiler.Start(
profiler.WithProfileTypes(
2022/02/05 18:48:34 Datadog Tracer v1.36.0 DEBUG: appsec: not been not enabled during the compilation: please add the go build tag `appsec` to your build options to enable it
2022/02/05 18:48:34 Datadog Tracer v1.36.0 INFO: DATADOG TRACER CONFIGURATION {"date":"2022-02-05T18:48:34Z","os_name":"Linux (Unknown Distribution)","os_version":"unknown","version":"v1.36.0","lang":"Go","lang_version":"go1.16.13","env":"partners","service":"dmm-aggregator-backend-bsc-api","agent_url":"http://10.0.0.10:8126/v0.4/traces","agent_error":"","debug":true,"analytics_enabled":false,"sample_rate":"1.000000","sampling_rules":null,"sampling_rules_error":"","service_mappings":null,"tags":{"runtime-id":"bb00336f-a6c4-4b11-bb3e-fbdda4dd5fad"},"runtime_metrics_enabled":false,"health_metrics_enabled":false,"profiler_code_hotspots_enabled":false,"profiler_endpoints_enabled":false,"dd_version":"api-speedup-usd-bff78f6","architecture":"amd64","global_service":"dmm-aggregator-backend-bsc-api","lambda_mode":"false","appsec":false,"agent_fe