Thanks Ilya for your inputs.

> On 2 May 2023, at 21:49, Ilya Maximets <[email protected]> wrote:
> 
> On 5/2/23 19:22, Ilya Maximets wrote:
>> On 5/2/23 19:04, Vladislav Odintsov via discuss wrote:
>>> I ran perf record -F99 -p $(ovsdb-server) -- sleep 30 on ovsdb-server 
>>> process during CPU spike. perf report result:
>>> 
>> 
>> Could you run it for a couple of minutes during that 5-6 minute window?

Sure, here it is (this report was collected during ~3 minutes while 
ovsdb-server was under 100% CPU load):

# To display the perf.data header info, please use --header/--header-only 
options.
#
#
# Total Lost Samples: 0
#
# Samples: 12K of event 'cpu-clock'
# Event count (approx.): 130030301730
#
# Overhead  Command       Shared Object                Symbol
# ........  ............  ...........................  
......................................
#
    21.20%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] uuid_compare_3way
    10.49%  ovsdb-server  libc-2.17.so                 [.] malloc_consolidate
    10.04%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] ovsdb_clause_evaluate
     9.40%  ovsdb-server  libc-2.17.so                 [.] _int_malloc
     6.42%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_destroy__
     4.36%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
ovsdb_atom_compare_3way
     3.29%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_serialize_string
     3.23%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_condition_match_any_clause
     3.05%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_serialize
     2.60%  ovsdb-server  [kernel.kallsyms]            [k] clear_page_c_e
     1.87%  ovsdb-server  libc-2.17.so                 [.] __memcpy_ssse3_back
     1.80%  ovsdb-server  libc-2.17.so                 [.] free
     1.67%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
json_serialize_object_member
     1.60%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_atom_is_default
     1.47%  ovsdb-server  libc-2.17.so                 [.] vfprintf
     1.17%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] resize
     1.12%  ovsdb-server  libc-2.17.so                 [.] _int_free
     1.10%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_atom_compare_3way@plt
     1.05%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] shash_find__
     0.99%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_string
     0.87%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_monitor_changes_update
     0.79%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_datum_destroy
     0.71%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_datum_clone
     0.54%  ovsdb-server  libc-2.17.so                 [.] _IO_default_xsputn
     0.53%  ovsdb-server  libc-2.17.so                 [.] malloc
     0.35%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] hash_bytes
     0.33%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_monitor_compose_update
     0.30%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
ovsdb_datum_is_default
     0.28%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_monitor_change_set_destroy
     0.27%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] shash_add_nocopy__
     0.22%  ovsdb-server  [kernel.kallsyms]            [k] 
copy_user_enhanced_fast_string
     0.21%  ovsdb-server  ld-2.17.so                   [.] __tls_get_addr
     0.20%  ovsdb-server  libc-2.17.so                 [.] __memcpy_sse2
     0.20%  ovsdb-server  libc-2.17.so                 [.] __strlen_sse2_pminub
     0.19%  ovsdb-server  [kernel.kallsyms]            [k] 
system_call_after_swapgs
     0.19%  ovsdb-server  libc-2.17.so                 [.] 
_IO_str_init_static_internal
     0.19%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] xmalloc
     0.19%  ovsdb-server  libc-2.17.so                 [.] __strchrnul
     0.19%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_monitor_compose_row_update2
     0.18%  ovsdb-server  [kernel.kallsyms]            [k] audit_filter_syscall
     0.17%  ovsdb-server  libc-2.17.so                 [.] _itoa_word
     0.15%  ovsdb-server  [kernel.kallsyms]            [k] 
audit_filter_rules.isra.8
     0.13%  ovsdb-server  [kernel.kallsyms]            [k] __do_softirq
     0.13%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] hmap_swap
     0.12%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] xmalloc__
     0.11%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ds_put_uninit
     0.11%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_monitor_get_initial
     0.10%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_atom_to_json__
     0.09%  ovsdb-server  libc-2.17.so                 [.] __strcmp_sse42
     0.09%  ovsdb-server  [vdso]                       [.] __vdso_clock_gettime
     0.09%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ds_put_format_valist
     0.08%  ovsdb-server  [kernel.kallsyms]            [k] __d_lookup_rcu
     0.07%  ovsdb-server  libc-2.17.so                 [.] __strncmp_sse42
     0.07%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
ovsdb_datum_compare_3way
     0.07%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] shash_replace
     0.07%  ovsdb-server  libpthread-2.17.so           [.] __write_nocancel
     0.06%  ovsdb-server  [kernel.kallsyms]            [k] 
_raw_spin_unlock_irqrestore
     0.06%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_datum_from_json
     0.06%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] xmemdup0
     0.06%  ovsdb-server  libpthread-2.17.so           [.] __libc_accept
     0.05%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
json_string_create_nocopy
     0.05%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_datum_equals
     0.05%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] xvasprintf
     0.05%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_condition_from_json
     0.05%  ovsdb-server  libpthread-2.17.so           [.] __read_nocancel
     0.05%  ovsdb-server  [kernel.kallsyms]            [k] finish_task_switch
     0.05%  ovsdb-server  [kernel.kallsyms]            [k] 
get_page_from_freelist
     0.05%  ovsdb-server  [kernel.kallsyms]            [k] sock_poll
     0.05%  ovsdb-server  libc-2.17.so                 [.] __vsnprintf_chk
     0.05%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_atom_hash
     0.04%  ovsdb-server  [kernel.kallsyms]            [k] fget_light
     0.04%  ovsdb-server  [kernel.kallsyms]            [k] tcp_sendmsg
     0.04%  ovsdb-server  libc-2.17.so                 [.] _IO_no_init
     0.04%  ovsdb-server  libc-2.17.so                 [.] _IO_old_init
     0.04%  ovsdb-server  libc-2.17.so                 [.] __libc_calloc
     0.04%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_object_create
     0.03%  ovsdb-server  [kernel.kallsyms]            [k] kmem_cache_free
     0.03%  ovsdb-server  libc-2.17.so                 [.] _IO_setb
     0.03%  ovsdb-server  libc-2.17.so                 [.] __GI___getrusage
     0.03%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ds_reserve
     0.03%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_array_create
     0.03%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] stream_run
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] run_timer_softirq
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] strncpy_from_user
     0.02%  ovsdb-server  libc-2.17.so                 [.] __xstat64
     0.02%  ovsdb-server  libc-2.17.so                 [.] read_int
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ds_put_buffer
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] free@plt
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_object_put
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_atom_clone
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] shash_delete
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] shash_steal
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] uuid_compare_3way@plt
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] xasprintf
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] xstrdup
     0.02%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] ovsdb_datum_clone@plt
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] __alloc_fd
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] __virt_addr_valid
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] _atomic_dec_and_lock
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] 
_raw_spin_lock_irqsave
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] 
cap_file_free_security
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] clear_huge_page
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] do_sync_write
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] get_empty_filp
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] 
get_pageblock_flags_group
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] ima_file_free
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] kmem_cache_alloc
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] strlen
     0.02%  ovsdb-server  [kernel.kallsyms]            [k] sysret_audit
     0.02%  ovsdb-server  libc-2.17.so                 [.] _IO_padn
     0.02%  ovsdb-server  libc-2.17.so                 [.] __clock_gettime
     0.02%  ovsdb-server  libc-2.17.so                 [.] __snprintf_chk
     0.02%  ovsdb-server  libcrypto.so.1.0.2k          [.] BIO_write
     0.02%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c8695
     0.02%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c869a
     0.02%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c87f3
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] __tls_get_addr@plt
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ds_put_buffer@plt
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ds_put_uninit@plt
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] free_poll_nodes
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] hexit_value
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] hexits_value
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] hmap_init
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_destroy__@plt
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] memcpy@plt
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
ovsdb_datum_compare_3way@plt
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_datum_to_json
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_datum_to_json__
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] poll_fd_wait_at
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] shash_destroy
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
stream_ssl_set_ca_cert_file__
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] strlen@plt
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] time_msec
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] time_poll
     0.02%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] time_timespec__
     0.02%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] determine_changes
     0.02%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_jsonrpc_server_set_remotes
     0.02%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] ovsdb_row_destroy
     0.02%  ovsdb-server  libssl.so.1.0.2k             [.] SSL_write
     0.02%  ovsdb-server  ovsdb-server                 [.] reconfigure_remotes
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] SYSC_accept4
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] SYSC_newstat
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] __audit_inode
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] __check_object_size
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] __fput
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] __getnstimeofday64
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] __local_bh_enable_ip
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] 
__pv_queued_spin_lock_slowpath
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] __split_huge_page
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] _cond_resched
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] _raw_qspin_lock
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] audit_inode.part.23
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] audit_put_chunk
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] audit_tree_lookup
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] audit_tree_match
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] cap_file_permission
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] 
cap_inode_alloc_security
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] cap_socket_recvmsg
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] 
check_for_new_grace_period.isra.26
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] clear_inode
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] d_set_d_op
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] dentry_lru_del
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] do_sys_poll
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] file_free_rcu
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] free_hot_cold_page
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] fsnotify
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] 
fsnotify_grab_connector
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] generic_getxattr
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] generic_permission
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] get_next_ino
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] get_unused_fd_flags
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] inet_recvmsg
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] inode_has_buffers
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] ioread8
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] kmem_cache_alloc_node
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] ktime_get_ts64
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] local_bh_enable
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] map_id_down
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] map_id_up
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] 
mem_cgroup_uncharge_page
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] mlx5e_sq_xmit_wqe
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] mlx5e_tx_check_stop
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] path_lookupat
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] pipe_poll
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] putname
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] rw_verify_area
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] 
security_file_permission
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] 
set_normalized_timespec
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] skb_release_data
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] sock_alloc
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] sock_alloc_file
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] static_key_enabled
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] sys_newstat
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] sys_write
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] 
tcp_established_options
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] tcp_init_tso_segs
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] tcp_md5_do_lookup
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] tcp_poll
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] tcp_send_mss
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] unroll_tree_refs
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] vfs_fstatat
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] vfs_read
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] vfs_write
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] xattr_resolve_name
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] xfs_attr_get
     0.01%  ovsdb-server  [kernel.kallsyms]            [k] xfs_vn_getattr
     0.01%  ovsdb-server  libc-2.17.so                 [.] @plt
     0.01%  ovsdb-server  libc-2.17.so                 [.] __GI___qsort_r
     0.01%  ovsdb-server  libc-2.17.so                 [.] __memcmp_sse4_1
     0.01%  ovsdb-server  libc-2.17.so                 [.] __poll_nocancel
     0.01%  ovsdb-server  libc-2.17.so                 [.] __strchr_sse42
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] ASN1_mbstring_copy
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] BIO_clear_flags
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] gcm_gmult_avx
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c8379
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c838c
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c8483
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c84a5
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c84e1
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c8507
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c856e
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c860a
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c861c
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c8631
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c8680
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c86a9
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c86b3
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c8745
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c8756
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c8797
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c87a2
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c87b4
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c87c9
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000c8806
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000d8ae4
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000d8d33
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000d8d80
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000d9315
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000d931b
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000d9396
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000d9407
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000d956d
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000d9643
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000d965b
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000d9667
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x00000000000d96c7
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x0000000000128d50
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x0000000000128d60
     0.01%  ovsdb-server  libcrypto.so.1.0.2k          [.] 0x0000000000129fd3
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] byteq_headroom
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] byteq_used
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] clock_gettime@plt
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ds_init
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ds_put_format
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] fatal_signal_init
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] get_mtime
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] get_subprogram_name
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] hmap_destroy
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] hmap_destroy@plt
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] hmap_expand_at
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_hash
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
json_integer_create@plt
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_parser_feed
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_string@plt
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_string_create
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] jsonrpc_get_backlog
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] jsonrpc_run
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] jsonrpc_session_recv
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] jsonrpc_session_wait
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
ovsdb_cs_may_send_transaction
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_datum_hash
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_error_clone
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] poll_block
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] poll_loop
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
poll_timer_wait_until_at
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] pssl_accept
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] pssl_wait
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] reconnect_set_backoff
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] shash_clear
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] shash_delete@plt
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
shash_destroy_free_data
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] shash_replace@plt
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] stream_recv@plt
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] stream_replay_write
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
stream_ssl_set_key_and_cert
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] time_now
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] timespec_to_msec
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] timespec_to_msec@plt
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] vlog_is_enabled
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] xcalloc__
     0.01%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] xstrdup@plt
     0.01%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] ovsdb_condition_empty
     0.01%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] ovsdb_index_search
     0.01%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_monitor_add_json_row
     0.01%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_monitor_needs_flush
     0.01%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] ovsdb_relay_wait
     0.01%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] ovsdb_row_clone
     0.01%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] ovsdb_row_from_json
     0.01%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_snapshot_in_progress
     0.01%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_txn_propose_commit
     0.01%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_util_clear_column
     0.01%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
ovsdb_util_read_bool_column
     0.01%  ovsdb-server  libpthread-2.17.so           [.] __errno_location
     0.01%  ovsdb-server  libssl.so.1.0.2k             [.] ssl3_read_bytes
     0.01%  ovsdb-server  libssl.so.1.0.2k             [.] ssl3_read_n
     0.01%  ovsdb-server  libssl.so.1.0.2k             [.] ssl3_write_bytes
     0.01%  ovsdb-server  libssl.so.1.0.2k             [.] ssl3_write_pending
     0.01%  ovsdb-server  libssl.so.1.0.2k             [.] tls1_enc
     0.01%  ovsdb-server  libssl.so.1.0.2k             [.] 0x00000000000286ae
     0.01%  ovsdb-server  ovsdb-server                 [.] main
     0.01%  ovsdb-server  ovsdb-server                 [.] 
update_database_status

>> Also, is it a single 5-6 minute poll interval or a several shorter ones
>> (from the log)?

I see from monitoring that during these 5-6 minutes ovsdb-server utilizes 100% 
of one core. With top command it is also constantly shown as 100%.

Worth to add that I see next log warnings in ovsdb-server relay (long poll 
interval for 84 seconds):

2023-05-03T10:21:53.928Z|11522|timeval|WARN|Unreasonably long 84348ms poll 
interval (84270ms user, 14ms system)
2023-05-03T10:21:53.931Z|11523|timeval|WARN|context switches: 0 voluntary, 229 
involuntary
2023-05-03T10:21:53.933Z|11524|coverage|INFO|Skipping details of duplicate 
event coverage for hash=580d57f8
2023-05-03T10:21:53.935Z|11525|poll_loop|INFO|wakeup due to [POLLIN] on fd 21 
(0.0.0.0:6642<->) at lib/stream-ssl.c:978 (99% CPU usage)
2023-05-03T10:21:54.094Z|11526|stream_ssl|WARN|SSL_write: system error (Broken 
pipe)
2023-05-03T10:21:54.096Z|11527|jsonrpc|WARN|ssl:x.x.x.x:46894: send error: 
Broken pipe
2023-05-03T10:21:54.120Z|11528|stream_ssl|WARN|SSL_accept: unexpected SSL 
connection close
2023-05-03T10:21:54.120Z|11529|jsonrpc|WARN|ssl:x.x.x.x:46950: receive error: 
Protocol error
2023-05-03T10:21:54.122Z|11530|poll_loop|INFO|wakeup due to [POLLIN] on fd 21 
(0.0.0.0:6642<->) at lib/stream-ssl.c:978 (99% CPU usage)

>> 
>> And you seem to miss some debug symbols for libovsdb.

Thanks. Now I’ve installed openvswitch-debuginfo package.

>> 
>> One potentially quick fix for your setup would be to disable conditional
>> monitoring, i.e. set ovn-monitor-all=true.  You can see the condition
>> comparison functions are high in the perf output.  It doesn't scale well.

I’ve looked the docs about ovn-monitor-all and it seems that it is what I need, 
because it says:

   …  Typically, set it to true for environments that all workloads need to be 
reachable from each other.

In my case these servers handle centralized NAT service and need logical 
connection with most hosts.

> 
> FWIW, conditional monitoring inefficiencies are not all related to
> the database server.  There are significant inefficiencies in a way
> ovn-controller creates condition clauses:
>  https://bugzilla.redhat.com/show_bug.cgi?id=2139194
> Since you're removing a port in your setup, that likely triggers
> condition change requests from all controllers for which this port
> is local.  Assuming you have N ports total in the cluster and
> M ports per node, conditions will contain M * 2 clauses and the
> server will have to perform N * M * 2 comparisons per controller
> on a condition change request.

Gonna switch ovn-controllers which connected to one ovsdb relay to 
ovn-monitor-all=true and compare load after this change with other relays, 
whose same clients left intact.

I’ll return with results...

> 
>> 
>> Best regards, Ilya Maximets.
>> 
>>> Samples: 2K of event 'cpu-clock', Event count (approx.): 29989898690
>>> Overhead  Command       Shared Object                Symbol
>>>   58.71%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] uuid_compare_3way
>>>    7.61%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000011058
>>>    6.60%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
>>> ovsdb_atom_compare_3way
>>>    5.93%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
>>> ovsdb_condition_match_any_clause
>>>    2.26%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000011070
>>>    2.19%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
>>> uuid_compare_3way@plt
>>>    2.16%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000010ffd
>>>    1.68%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000010fe8
>>>    1.65%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x00000000000110ec
>>>    1.38%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000011084
>>>    1.31%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x000000000001100e
>>>    1.25%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000011063
>>>    1.08%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
>>> ovsdb_datum_compare_3way
>>>    1.04%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000010fe0
>>>    0.67%  ovsdb-server  libc-2.17.so                 [.] _int_malloc
>>>    0.54%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x000000000001105a
>>>    0.51%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
>>> ovsdb_monitor_get_update
>>>    0.47%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_datum_hash
>>>    0.30%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_destroy__
>>>    0.24%  ovsdb-server  libc-2.17.so                 [.] malloc_consolidate
>>>    0.24%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_atom_hash
>>>    0.20%  ovsdb-server  [kernel.kallsyms]            [k] __do_softirq
>>>    0.17%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] json_string
>>>    0.13%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_datum_destroy
>>>    0.13%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000010fe5
>>>    0.10%  ovsdb-server  libc-2.17.so                 [.] __memset_sse2
>>>    0.10%  ovsdb-server  libc-2.17.so                 [.] 
>>> __strlen_sse2_pminub
>>>    0.10%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000010fea
>>>    0.10%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000011020
>>>    0.10%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000011067
>>>    0.07%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
>>> ovsdb_datum_compare_3way@plt
>>>    0.07%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_datum_equals
>>>    0.07%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000010ff1
>>>    0.07%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000011025
>>>    0.07%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x000000000001108b
>>>    0.03%  ovsdb-server  [kernel.kallsyms]            [k] __netif_schedule
>>>    0.03%  ovsdb-server  libc-2.17.so                 [.] __strncmp_sse42
>>>    0.03%  ovsdb-server  libc-2.17.so                 [.] _int_free
>>>    0.03%  ovsdb-server  libc-2.17.so                 [.] free
>>>    0.03%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] ovsdb_datum_clone
>>>    0.03%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 
>>> ovsdb_datum_from_json
>>>    0.03%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] shash_find
>>>    0.03%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 0x000000000018f7e2
>>>    0.03%  ovsdb-server  libopenvswitch-3.1.so.0.0.0  [.] 0x000000000018f7e8
>>>    0.03%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 
>>> ovsdb_condition_from_json
>>>    0.03%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000010fe1
>>>    0.03%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x0000000000010fff
>>>    0.03%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x000000000001105e
>>>    0.03%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x00000000000110c3
>>>    0.03%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x00000000000110f2
>>>    0.03%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x000000000001c007
>>>    0.03%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x000000000001c030
>>>    0.03%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x000000000001c05b
>>>    0.03%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x000000000001c45f
>>>    0.03%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x000000000001c535
>>>    0.03%  ovsdb-server  libovsdb-3.1.so.0.0.0        [.] 0x000000000001c644
>>> 
>>>> On 2 May 2023, at 19:45, Ilya Maximets via discuss 
>>>> <[email protected]> wrote:
>>>> 
>>>> On 5/2/23 16:45, Vladislav Odintsov wrote:
>>>>> Hi Ilya,
>>>>> 
>>>>> let me jump into this thread.
>>>>> 
>>>>> Right now I’m debugging the behaviour of ovn (22.09.x) and ovsdb-server 
>>>>> 3.1.0 where one ovsdb update3 request makes ovsdb-server, which acts as a 
>>>>> relay for OVN Southbound DB with only 5-6 clients connected to it 
>>>>> (ovn-controllers, acting as a central chassis for external access with 
>>>>> enabled ha_group for edge LRs), utilize 100% CPU during 5-6 minutes.
>>>>> During this time ovsdb relay failes to answer ovsdb inactivity probes and 
>>>>> then clients and even upstream ovsdb-servers disconnect this ovsdb relay 
>>>>> because of ping probe timeout of 60s. All the probe intervals configured 
>>>>> to 60 seconds value (ovsdb-server SB cluster <-> ovsdb SB relay <-> 
>>>>> ovn-controller). Earlier I’ve posted a long-read with some problems 
>>>>> listed [1].
>>>>> 
>>>>> IIUC, this update is generated by ovn-northd after one LS with only one 
>>>>> LSP type router and attached LB is removed.
>>>>> You can see the request json here: [2]
>>>>> Such updates appear not only if LS/LB is removed but also in some other 
>>>>> operations, this is just an example.
>>>>> So it seems like ovn-northd re-creates a big dp group and such update for 
>>>>> some reason is difficult to handle for ovsdb relay (actually 
>>>>> ovn-controllers  also utilize 100% cpu).
>>>>> 
>>>>> Have you seen such behaviour? Maybe you’ve got any suggestion about the 
>>>>> reason and a possible fix for such huge load from one update3?
>>>> 
>>>> Such big updates are typically triggered by the fact that
>>>> northd doesn't modify datapath groups.  It re-creates them
>>>> instead.  I'm actually working on a patch for this since
>>>> last week and hope to post it before the soft freeze for 23.06.
>>>> 
>>>> In your case, however, it seems like you have a new datapath
>>>> group created for a load balancer.  And it looks like you have
>>>> about 1000 switches in the setup, which is a lot, but...
>>>> 
>>>> Looking at the dump [2], it's big for a human, but it's only
>>>> about 100 KB in size.  Database shouldn't have a lot of trouble
>>>> processing that, especially in 3.1.  So, I'm not sure what
>>>> exactly is going on in your case.  If you can profile the relay
>>>> server and see what it is doing all that time, that would be
>>>> helpful.
>>>> 
>>>> Best regards, Ilya Maximets.
>>>> 
>>>>> 
>>>>> Thanks.
>>>>> 
>>>>> 1: https://mail.openvswitch.org/pipermail/ovs-dev/2023-April/403699.html
>>>>> 2: https://gist.github.com/odivlad/bba4443e589a268a0f389c2972511df3
>>>>> 
>>>>> 
>>>>>> On 2 May 2023, at 14:49, Ilya Maximets via discuss 
>>>>>> <[email protected]> wrote:
>>>>>> 
>>>>>> Form my side, the first option would be increasing the inactivity
>>>>>> probe on the ovn-controller side and see if that resolves the issue.
>>>>>> Deployments typically have 60+ seconds set, just in case.
>>>>>> 
>>>>>> Also, if you're not already using latest versions of OVS/OVN, upgrade
>>>>>> may resolve the issue as well.  For example, OVS 2.17 provides a big
>>>>>> performance improvement over previous versions and 3.0 and 3.1 give
>>>>>> even more on top.  And with new OVN releases, the southbound database
>>>>>> size usually goes down significantly reducing the load on the OVSDB
>>>>>> server.  I'd suggest to use releases after OVN 22.09 for large scale
>>>>>> deployments.
>>>>>> 
>>>>>> However, if your setup have only one switch with 250 ports and you
>>>>>> have an issue, that should not really be related to scale and you
>>>>>> need to investigate further on what exactly is happening.
>>>>>> 
>>>>>> Best regards, Ilya Maximets.
>>>>>> 
>>>>>> On 5/2/23 08:58, Felix Hüttner via discuss wrote:
>>>>>>> Hi Gavin,
>>>>>>> 
>>>>>>> we saw similar issues after reaching a certain number of hypervisors. 
>>>>>>> This happened because our ovsdb processes ran at 100% cpu utilization 
>>>>>>> (and they are not multithreaded).
>>>>>>> 
>>>>>>> Our solutions where:
>>>>>>> 
>>>>>>> 1. If you use ssl on your north-/southbound db. Disable it and add a 
>>>>>>> tls terminating reverse proxy (like traefik) in front
>>>>>>> 2. Increase the inactivity probe significantly (you might need to 
>>>>>>> change it on the ovn-controller and ovsdb side, not sure anymore)
>>>>>>> 3. Introduce ovsdb relays and connect the ovn-controllers there.
>>>>>>> 
>>>>>>> --
>>>>>>> 
>>>>>>> Felix Huettner
>>>>>>> 
>>>>>>>  
>>>>>>> 
>>>>>>> *From:* discuss <[email protected]> *On Behalf Of 
>>>>>>> *Gavin McKee via discuss
>>>>>>> *Sent:* Monday, May 1, 2023 9:20 PM
>>>>>>> *To:* ovs-discuss <[email protected]>
>>>>>>> *Subject:* [ovs-discuss] CPU pinned at 100% , ovn-controller to 
>>>>>>> ovnsb_db unstable
>>>>>>> 
>>>>>>> Hi ,
>>>>>>> 
>>>>>>> I'm having a pretty bad issue with OVN controller on the hypervisors 
>>>>>>> being unable to connect to the OVS SB DB ,
>>>>>>> 
>>>>>>>  
>>>>>>> 
>>>>>>> 2023-05-01T19:13:33.969Z|00541|reconnect|ERR|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: no response to inactivity probe after 5 
>>>>>>> seconds, disconnecting
>>>>>>> 2023-05-01T19:13:33.969Z|00542|reconnect|INFO|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: connection dropped
>>>>>>> 2023-05-01T19:13:43.043Z|00543|reconnect|INFO|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: connected
>>>>>>> 2023-05-01T19:13:56.115Z|00544|reconnect|ERR|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: no response to inactivity probe after 5 
>>>>>>> seconds, disconnecting
>>>>>>> 2023-05-01T19:13:56.115Z|00545|reconnect|INFO|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: connection dropped
>>>>>>> 2023-05-01T19:14:36.177Z|00546|reconnect|INFO|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: connected
>>>>>>> 2023-05-01T19:14:44.996Z|00547|jsonrpc|WARN|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: receive error: Connection reset by peer
>>>>>>> 2023-05-01T19:14:44.996Z|00548|reconnect|WARN|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: connection dropped (Connection reset by peer)
>>>>>>> 2023-05-01T19:15:44.131Z|00549|reconnect|INFO|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: connected
>>>>>>> 2023-05-01T19:15:54.137Z|00550|reconnect|ERR|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: no response to inactivity probe after 5 
>>>>>>> seconds, disconnecting
>>>>>>> 2023-05-01T19:15:54.137Z|00551|reconnect|INFO|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: connection dropped
>>>>>>> 2023-05-01T19:16:02.184Z|00552|reconnect|INFO|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: connected
>>>>>>> 2023-05-01T19:16:14.488Z|00553|reconnect|ERR|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: no response to inactivity probe after 5 
>>>>>>> seconds, disconnecting
>>>>>>> 2023-05-01T19:16:14.488Z|00554|reconnect|INFO|tcp:10.193.1.2:6642 
>>>>>>> <http://10.193.1.2:6642/>: connection dropped
>>>>>>> 
>>>>>>>  
>>>>>>> 
>>>>>>> This happened after pushing a configuration to north db for around 250 
>>>>>>> logical switch ports.
>>>>>>> 
>>>>>>> Once I turn on the VM's everything goes bad very quickly,
>>>>>>> 
>>>>>>>  
>>>>>>> 
>>>>>>>  
>>>>>>> 
>>>>>>> 2023-05-01T04:27:09.294Z|01947|poll_loop|INFO|wakeup due to [POLLOUT] 
>>>>>>> on fd 66 (10.193.200.6:6642 
>>>>>>> <http://10.193.200.6:6642/><->10.193.0.102:48794 
>>>>>>> <http://10.193.0.102:48794/>) at ../lib/stream-fd.c:153 (100% CPU usage)
>>>>>>> 
>>>>>>>  
>>>>>>> 
>>>>>>> Can anyone provide any guidance how to run down an issue like this ?
>>>>>> 
>>>>>> _______________________________________________
>>>>>> discuss mailing list
>>>>>> [email protected]
>>>>>> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> Regards,
>>>>> Vladislav Odintsov
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> discuss mailing list
>>>> [email protected]
>>>> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>>> 
>>> 
>>> Regards,
>>> Vladislav Odintsov
>>> 
>>> 
>>> _______________________________________________
>>> discuss mailing list
>>> [email protected]
>>> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>> 
> 


Regards,
Vladislav Odintsov

_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to