-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
epoll_wait() spinning on EPOLLOUT event which hogs CPU 100% #251
Comments
fixed. |
@Leviathan1995 pink submodule not updated?233 |
chejinge
pushed a commit
to chejinge/pika
that referenced
this issue
Nov 7, 2023
add_hash_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn>
AlexStocks
added a commit
that referenced
this issue
Dec 1, 2023
* add dependences * fix: add_ci (#229) add_ci Co-authored-by: wuxianrong <wuxianrong@360.cn> * formate code style && fix centos build bug * fix centos build bug * format code style * format * rename classname * format code * use cache define * upgrade rediscache version to v0.1.3 * change file name * using DEFER * fix github ci failure * add_string_cache【暂时不修改格式及代码风格,会在最后一个PR统一做修改】 (#237) add_string_cache * add_slave_cache (#243) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache string (#247) fix_cache_string * add_bitmap_cache (#255) * add_bitmap_cache Co-authored-by: chejinge <chejinge@360.cn> * add string cache cmd (#252) add_string_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * add list cache cmd (#250) add_list_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache set command (#256) * set_cache Co-authored-by: chejinge <chejinge@360.cn> * add hash cache cmd (#251) add_hash_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache zset command (#257) * cache zset command Co-authored-by: chejinge <chejinge@360.cn> * Update pika_zset.h * add Pika Cache Status (#259) Add Pika-Cache-Status Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index * git revert * 【fix】cache Asynchronous transmission (#265) fix cache Asynchronous transmission Co-authored-by: wuxianrong <wuxianrong@360.cn> * add defer (#269) add_defer Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index (#260) * cache index Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: wuxianrong <wuxianrong@360.cn> * Support for multiple databases (#275) * delete_pika_cache_manager * Support for multiple databases --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * smart pointer and lock granularity && set don't update cache (#277) Co-authored-by: chejinge <chejinge@360.cn> * fix_lock (#278) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_command_bug (#282) * fix_command_bug Co-authored-by: chejinge <chejinge@360.cn> * Fix del mget (#291) fix_del_command&&HMSET HMGET --------- Co-authored-by: chejinge <chejinge@360.cn> * bugfix:ttl&&exits command (#300) * fix_ttl_exits --------- Co-authored-by: chejinge <chejinge@360.cn> * fix: hash/list/set/zset test (#285) * fix hash/list test * fix set/zset test --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix bitpos strlen msetnx * fix bitpos strlen msetnx * Update pika_kv.cc * Update pika_command.cc * fix: hash/zset test cache (#302) * fix hash/list test Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix Master-slave test * code format (#316) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache code style * fix:cache code style * fix * Supports multi-DB asynchronous data transfer (#317) * code format * support dbs --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix conflict and change name * fix conflict and change name * fix conflict and change name * Update pika_admin.cc * Update pika_admin.cc * Initialization variable (#321) add_comment Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_flushdb * fix: Cache flushdb (#322) fix_flushdb Co-authored-by: wuxianrong <wuxianrong@360.cn> * Fix cache mget (#323) * fix_mget * fix_lock_and_multi_caches * fix_mem_leak * fix_mem_leak * fix * add cacheclean command * fix coreedump * Fix:mem leak (#329) fix:hdel Co-authored-by: chejinge <chejinge@360.cn> * Update pika_admin.cc * Update pika.conf * Update pika.conf * fix_license * remove nullpter --------- Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: Mixficsol <838844609@qq.com> Co-authored-by: wuxianrong <wuxianrong@360.cn> Co-authored-by: Xin.Zh <dragoncharlie@foxmail.com> Co-authored-by: alexstocks <alexstocks@foxmail.com>
AlexStocks
added a commit
that referenced
this issue
Dec 1, 2023
* add dependences * fix: add_ci (#229) add_ci Co-authored-by: wuxianrong <wuxianrong@360.cn> * formate code style && fix centos build bug * fix centos build bug * format code style * format * rename classname * format code * use cache define * upgrade rediscache version to v0.1.3 * change file name * using DEFER * fix github ci failure * add_string_cache【暂时不修改格式及代码风格,会在最后一个PR统一做修改】 (#237) add_string_cache * add_slave_cache (#243) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache string (#247) fix_cache_string * add_bitmap_cache (#255) * add_bitmap_cache Co-authored-by: chejinge <chejinge@360.cn> * add string cache cmd (#252) add_string_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * add list cache cmd (#250) add_list_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache set command (#256) * set_cache Co-authored-by: chejinge <chejinge@360.cn> * add hash cache cmd (#251) add_hash_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache zset command (#257) * cache zset command Co-authored-by: chejinge <chejinge@360.cn> * Update pika_zset.h * add Pika Cache Status (#259) Add Pika-Cache-Status Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index * git revert * 【fix】cache Asynchronous transmission (#265) fix cache Asynchronous transmission Co-authored-by: wuxianrong <wuxianrong@360.cn> * add defer (#269) add_defer Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index (#260) * cache index Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: wuxianrong <wuxianrong@360.cn> * Support for multiple databases (#275) * delete_pika_cache_manager * Support for multiple databases --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * smart pointer and lock granularity && set don't update cache (#277) Co-authored-by: chejinge <chejinge@360.cn> * fix_lock (#278) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_command_bug (#282) * fix_command_bug Co-authored-by: chejinge <chejinge@360.cn> * Fix del mget (#291) fix_del_command&&HMSET HMGET --------- Co-authored-by: chejinge <chejinge@360.cn> * bugfix:ttl&&exits command (#300) * fix_ttl_exits --------- Co-authored-by: chejinge <chejinge@360.cn> * fix: hash/list/set/zset test (#285) * fix hash/list test * fix set/zset test --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix bitpos strlen msetnx * fix bitpos strlen msetnx * Update pika_kv.cc * Update pika_command.cc * fix: hash/zset test cache (#302) * fix hash/list test Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix Master-slave test * code format (#316) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache code style * fix:cache code style * fix * Supports multi-DB asynchronous data transfer (#317) * code format * support dbs --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix conflict and change name * fix conflict and change name * fix conflict and change name * Update pika_admin.cc * Update pika_admin.cc * Initialization variable (#321) add_comment Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_flushdb * fix: Cache flushdb (#322) fix_flushdb Co-authored-by: wuxianrong <wuxianrong@360.cn> * Fix cache mget (#323) * fix_mget * fix_lock_and_multi_caches * fix_mem_leak * fix_mem_leak * fix * add cacheclean command * fix coreedump * Fix:mem leak (#329) fix:hdel Co-authored-by: chejinge <chejinge@360.cn> * Update pika_admin.cc * Update pika.conf * Update pika.conf * fix_license * remove nullpter --------- Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: Mixficsol <838844609@qq.com> Co-authored-by: wuxianrong <wuxianrong@360.cn> Co-authored-by: Xin.Zh <dragoncharlie@foxmail.com> Co-authored-by: alexstocks <alexstocks@foxmail.com>
bigdaronlee163
pushed a commit
to bigdaronlee163/pika
that referenced
this issue
Jun 8, 2024
* add dependences * fix: add_ci (OpenAtomFoundation#229) add_ci Co-authored-by: wuxianrong <wuxianrong@360.cn> * formate code style && fix centos build bug * fix centos build bug * format code style * format * rename classname * format code * use cache define * upgrade rediscache version to v0.1.3 * change file name * using DEFER * fix github ci failure * add_string_cache【暂时不修改格式及代码风格,会在最后一个PR统一做修改】 (OpenAtomFoundation#237) add_string_cache * add_slave_cache (OpenAtomFoundation#243) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache string (OpenAtomFoundation#247) fix_cache_string * add_bitmap_cache (OpenAtomFoundation#255) * add_bitmap_cache Co-authored-by: chejinge <chejinge@360.cn> * add string cache cmd (OpenAtomFoundation#252) add_string_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * add list cache cmd (OpenAtomFoundation#250) add_list_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache set command (OpenAtomFoundation#256) * set_cache Co-authored-by: chejinge <chejinge@360.cn> * add hash cache cmd (OpenAtomFoundation#251) add_hash_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache zset command (OpenAtomFoundation#257) * cache zset command Co-authored-by: chejinge <chejinge@360.cn> * Update pika_zset.h * add Pika Cache Status (OpenAtomFoundation#259) Add Pika-Cache-Status Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index * git revert * 【fix】cache Asynchronous transmission (OpenAtomFoundation#265) fix cache Asynchronous transmission Co-authored-by: wuxianrong <wuxianrong@360.cn> * add defer (OpenAtomFoundation#269) add_defer Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index (OpenAtomFoundation#260) * cache index Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: wuxianrong <wuxianrong@360.cn> * Support for multiple databases (OpenAtomFoundation#275) * delete_pika_cache_manager * Support for multiple databases --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * smart pointer and lock granularity && set don't update cache (OpenAtomFoundation#277) Co-authored-by: chejinge <chejinge@360.cn> * fix_lock (OpenAtomFoundation#278) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_command_bug (OpenAtomFoundation#282) * fix_command_bug Co-authored-by: chejinge <chejinge@360.cn> * Fix del mget (OpenAtomFoundation#291) fix_del_command&&HMSET HMGET --------- Co-authored-by: chejinge <chejinge@360.cn> * bugfix:ttl&&exits command (OpenAtomFoundation#300) * fix_ttl_exits --------- Co-authored-by: chejinge <chejinge@360.cn> * fix: hash/list/set/zset test (OpenAtomFoundation#285) * fix hash/list test * fix set/zset test --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix bitpos strlen msetnx * fix bitpos strlen msetnx * Update pika_kv.cc * Update pika_command.cc * fix: hash/zset test cache (OpenAtomFoundation#302) * fix hash/list test Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix Master-slave test * code format (OpenAtomFoundation#316) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache code style * fix:cache code style * fix * Supports multi-DB asynchronous data transfer (OpenAtomFoundation#317) * code format * support dbs --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix conflict and change name * fix conflict and change name * fix conflict and change name * Update pika_admin.cc * Update pika_admin.cc * Initialization variable (OpenAtomFoundation#321) add_comment Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_flushdb * fix: Cache flushdb (OpenAtomFoundation#322) fix_flushdb Co-authored-by: wuxianrong <wuxianrong@360.cn> * Fix cache mget (OpenAtomFoundation#323) * fix_mget * fix_lock_and_multi_caches * fix_mem_leak * fix_mem_leak * fix * add cacheclean command * fix coreedump * Fix:mem leak (OpenAtomFoundation#329) fix:hdel Co-authored-by: chejinge <chejinge@360.cn> * Update pika_admin.cc * Update pika.conf * Update pika.conf * fix_license * remove nullpter --------- Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: Mixficsol <838844609@qq.com> Co-authored-by: wuxianrong <wuxianrong@360.cn> Co-authored-by: Xin.Zh <dragoncharlie@foxmail.com> Co-authored-by: alexstocks <alexstocks@foxmail.com>
cheniujh
pushed a commit
to cheniujh/pika
that referenced
this issue
Sep 24, 2024
* add dependences * fix: add_ci (OpenAtomFoundation#229) add_ci Co-authored-by: wuxianrong <wuxianrong@360.cn> * formate code style && fix centos build bug * fix centos build bug * format code style * format * rename classname * format code * use cache define * upgrade rediscache version to v0.1.3 * change file name * using DEFER * fix github ci failure * add_string_cache【暂时不修改格式及代码风格,会在最后一个PR统一做修改】 (OpenAtomFoundation#237) add_string_cache * add_slave_cache (OpenAtomFoundation#243) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache string (OpenAtomFoundation#247) fix_cache_string * add_bitmap_cache (OpenAtomFoundation#255) * add_bitmap_cache Co-authored-by: chejinge <chejinge@360.cn> * add string cache cmd (OpenAtomFoundation#252) add_string_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * add list cache cmd (OpenAtomFoundation#250) add_list_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache set command (OpenAtomFoundation#256) * set_cache Co-authored-by: chejinge <chejinge@360.cn> * add hash cache cmd (OpenAtomFoundation#251) add_hash_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache zset command (OpenAtomFoundation#257) * cache zset command Co-authored-by: chejinge <chejinge@360.cn> * Update pika_zset.h * add Pika Cache Status (OpenAtomFoundation#259) Add Pika-Cache-Status Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index * git revert * 【fix】cache Asynchronous transmission (OpenAtomFoundation#265) fix cache Asynchronous transmission Co-authored-by: wuxianrong <wuxianrong@360.cn> * add defer (OpenAtomFoundation#269) add_defer Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index (OpenAtomFoundation#260) * cache index Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: wuxianrong <wuxianrong@360.cn> * Support for multiple databases (OpenAtomFoundation#275) * delete_pika_cache_manager * Support for multiple databases --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * smart pointer and lock granularity && set don't update cache (OpenAtomFoundation#277) Co-authored-by: chejinge <chejinge@360.cn> * fix_lock (OpenAtomFoundation#278) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_command_bug (OpenAtomFoundation#282) * fix_command_bug Co-authored-by: chejinge <chejinge@360.cn> * Fix del mget (OpenAtomFoundation#291) fix_del_command&&HMSET HMGET --------- Co-authored-by: chejinge <chejinge@360.cn> * bugfix:ttl&&exits command (OpenAtomFoundation#300) * fix_ttl_exits --------- Co-authored-by: chejinge <chejinge@360.cn> * fix: hash/list/set/zset test (OpenAtomFoundation#285) * fix hash/list test * fix set/zset test --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix bitpos strlen msetnx * fix bitpos strlen msetnx * Update pika_kv.cc * Update pika_command.cc * fix: hash/zset test cache (OpenAtomFoundation#302) * fix hash/list test Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix Master-slave test * code format (OpenAtomFoundation#316) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache code style * fix:cache code style * fix * Supports multi-DB asynchronous data transfer (OpenAtomFoundation#317) * code format * support dbs --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix conflict and change name * fix conflict and change name * fix conflict and change name * Update pika_admin.cc * Update pika_admin.cc * Initialization variable (OpenAtomFoundation#321) add_comment Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_flushdb * fix: Cache flushdb (OpenAtomFoundation#322) fix_flushdb Co-authored-by: wuxianrong <wuxianrong@360.cn> * Fix cache mget (OpenAtomFoundation#323) * fix_mget * fix_lock_and_multi_caches * fix_mem_leak * fix_mem_leak * fix * add cacheclean command * fix coreedump * Fix:mem leak (OpenAtomFoundation#329) fix:hdel Co-authored-by: chejinge <chejinge@360.cn> * Update pika_admin.cc * Update pika.conf * Update pika.conf * fix_license * remove nullpter --------- Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: Mixficsol <838844609@qq.com> Co-authored-by: wuxianrong <wuxianrong@360.cn> Co-authored-by: Xin.Zh <dragoncharlie@foxmail.com> Co-authored-by: alexstocks <alexstocks@foxmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
after reverting Qihoo360/pink@839a3ba this problem disappeared.
by straceing the 100% thread, we discovered that after write() returns EAGAIN, it's possible for the WorkerThread spinning on EPOLLOUT event while it can write() successfully but the event listener is not removed.
The text was updated successfully, but these errors were encountered: