Skip to content

Instantly share code, notes, and snippets.

@rameerez
Created April 20, 2025 23:53
Show Gist options
  • Save rameerez/58b729508ff0beb770ec0a55a271d9d2 to your computer and use it in GitHub Desktop.
Save rameerez/58b729508ff0beb770ec0a55a271d9d2 to your computer and use it in GitHub Desktop.
Telegram MTProxy stats after 1 year running
pid 5126
start_time 1745121601
current_time 1745192772
uptime 71171
tot_idle_time 71108.817
average_idle_percent 99.913
recent_idle_percent 99.218
active_network_events 0
time_after_epoll 0.000023
epoll_calls 2168530
epoll_intr 0
PID [REDACTED]
>>>>>>connections>>>>>> start
active_connections 65
active_dh_connections 0
outbound_connections 64
ready_outbound_connections 64
active_outbound_connections 64
outbound_connections_created 110801
total_connect_failures 13978
inbound_connections 1
active_inbound_connections 1
inbound_connections_accepted 6
listening_connections 1
unused_connections_closed 0
ready_targets 16
allocated_targets 17
active_targets 17
inactive_targets 0
free_targets 0
max_connections 65536
active_special_connections 0
max_special_connections 65536
max_accept_rate 0
cur_accept_rate_remaining 0.000000
max_connection 77
conn_generation 110805
allocated_connections 65
allocated_outbound_connections 64
allocated_inbound_connections 1
allocated_socket_connections 65
tcp_readv_calls 475270
tcp_readv_intr 0
tcp_readv_bytes 8704309
tcp_writev_calls 191449
tcp_writev_intr 0
tcp_writev_bytes 8814374
free_later_size 0
free_later_total 0
accept_calls_failed 0
accept_nonblock_set_failed 0
accept_connection_limit_failed 0
accept_rate_limit_failed 0
accept_init_accepted_failed 0
<<<<<<connections<<<<<< end
>>>>>>raw_msg>>>>>> start
rwm_total_msgs 329
rwm_total_msg_parts 259
<<<<<<raw_msg<<<<<< end
>>>>>>raw_msg_buffer>>>>>> start
total_used_buffers_size 497664
total_used_buffers 387
allocated_buffer_bytes 4194176
buffer_chunk_alloc_ops 2
allocated_buffer_chunks 2
max_allocated_buffer_chunks 2
max_buffer_chunks 128
max_allocated_buffer_bytes 268435456
<<<<<<raw_msg_buffer<<<<<< end
>>>>>>tl_parse>>>>>> start
rpc_queries_received 0
rpc_answers_error 0
rpc_answers_received 0
rpc_sent_errors 0
rpc_sent_answers 0
rpc_sent_queries 0
tl_in_allocated 0
tl_out_allocated 0
rpc_qps 0.000000
default_rpc_flags 2048
<<<<<<tl_parse<<<<<< end
>>>>>>crypto_aes>>>>>> start
allocated_aes_crypto 64
allocated_aes_crypto_temp 0
aes_pwd_hash [REDACTED]
<<<<<<crypto_aes<<<<<< end
>>>>>>crypto_dh>>>>>> start
tot_dh_rounds 0 0 0
<<<<<<crypto_dh<<<<<< end
>>>>>>jobs>>>>>> start
thread_average_idle_percent 0.000 100.000 100.000 99.913 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
thread_recent_idle_percent 0.000 100.000 100.000 99.218 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
tot_threads 0 16 8 1 0 0 0 0 0 0 0 0 0 0 0 0
thread_load_average_user 0.000 0.000 0.000 0.105 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
thread_load_average_sys 0.000 0.000 0.000 0.084 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
thread_load_average 0.000 0.000 0.000 0.190 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
thread_load_recent_user 0.000 0.000 0.000 0.100 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
thread_load_recent_sys 0.000 0.000 0.000 0.100 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
thread_load_recent 0.000 0.000 0.000 0.200 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
load_average_user 0.105
load_average_sys 0.084
load_average_total 0.190
load_recent_user 0.100
load_recent_sys 0.100
load_recent_total 0.200
max_average_user 0.105
max_average_sys 0.084
max_average_total 0.190
max_recent_user 0.100
max_recent_sys 0.100
max_recent_total 0.200
job_timers_allocated 1
jobs_created 221631
jobs_active 153
jobs_running 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
jobs_allocated_memory 66904
timer_ops 25814677
timer_ops_scheduler 0
<<<<<<jobs<<<<<< end
>>>>>>mp_queue>>>>>> start
mpq_blocks_allocated 0
mpq_blocks_allocated_max 0
mpq_blocks_allocations 332423
mpq_blocks_true_allocations 332423
mpq_blocks_wasted 0
mpq_blocks_prepared 0
mpq_small_blocks_allocated 206
mpq_small_blocks_allocated_max 221
mpq_active 202
mpq_allocated 201
<<<<<<mp_queue<<<<<< end
>>>>>>timers>>>>>> start
event_timer_insert_ops 12949230
event_timer_remove_ops 12865447
event_timer_alarms 12865447
total_timers 19
<<<<<<timers<<<<<< end
>>>>>>rpc_targets>>>>>> start
total_rpc_targets 0
total_connections_in_rpc_targets 0
<<<<<<rpc_targets<<<<<< end
stats_generate_time 0.000097
vmsize_bytes 1273843712
vmrss_bytes 9830400
vmdata_bytes 260825088
config_filename proxy-multi.conf
config_loaded_at 1745121601
config_size 752
config_md5 [REDACTED]
config_auth_clusters 10
workers 4
queries_get 0
qps_get 0.000
tot_forwarded_queries 265447
expired_forwarded_queries 0
dropped_queries 2
tot_forwarded_responses 257397
dropped_responses 357
tot_forwarded_simple_acks 32690
dropped_simple_acks 24
active_rpcs_created 0
active_rpcs 0
rpc_dropped_answers 0
rpc_dropped_running 0
window_clamp 131072
total_ready_targets 64
total_allocated_targets 68
total_declared_targets 68
total_inactive_targets 0
total_connections 333
total_encrypted_connections 325
total_allocated_connections 346
total_allocated_outbound_connections 333
total_allocated_inbound_connections 13
total_allocated_socket_connections 345
total_dh_connections 0
total_dh_rounds 0 0 0
total_special_connections 12
total_max_special_connections 262144
total_accept_connections_failed 0 0 0 0 0
ext_connections 5
ext_connections_created 32525
total_active_network_events 0
total_network_buffers_used_size 1980928
total_network_buffers_allocated_bytes 29359232
total_network_buffers_used 1538
total_network_buffer_chunks_allocated 14
total_network_buffer_chunks_allocated_max 14
mtproto_proxy_errors 0
connections_failed_lru 0
connections_failed_flood 0
http_connections 1
pending_http_queries 0
http_queries 2
http_bad_headers 0
http_qps 0.000028
proxy_mode 2
proxy_tag_set 1
version mtproxy-0.01 compiled at Mar 28 2024 15:09:34 by gcc 11.4.0 64-bit after commit a01fc785a017b6dfe635d112fee932150dbd639b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment