pubsubhubbub / wordpress-pubsubhubbub

WebSub/PubSubHubbub for WordPress
https://wordpress.org/plugins/pubsubhubbub/
MIT License
64 stars 11 forks source link

Is timeout handled appropriately? #3

Closed mkismy closed 3 years ago

mkismy commented 7 years ago

This plugin started causing timeout when publishing / editing posts.

Error log:

[19-Jun-2017 09:53:04] WARNING: [pool www] child 19559, script '/var/www/html/wp-admin/post.php' (request: "POST /wp-admin/post.php") executing too slow (11.445579 sec), logging
[19-Jun-2017 09:53:04] NOTICE: child 19559 stopped for tracing
[19-Jun-2017 09:53:04] NOTICE: about to trace 19559
[19-Jun-2017 09:53:04] NOTICE: finished trace of 19559
[19-Jun-2017 09:54:24] WARNING: [pool www] child 19559, script '/var/www/html/wp-admin/post.php' (request: "POST /wp-admin/post.php") execution timed out (91.462553 sec), terminating
[19-Jun-2017 09:54:24] WARNING: [pool www] child 19559 exited on signal 15 (SIGTERM) after 6384.825886 seconds from start

Slow log:

[19-Jun-2017 09:53:04]  [pool www] pid 19559
script_filename = /var/www/html/wp-admin/post.php
[0x00007f6423414010] curl_exec() /var/www/html/wp-content/plugins/pubsubhubbub/includes/pubsubhubbub-publisher.php:84
[0x00007f6423413f30] http_post() /var/www/html/wp-content/plugins/pubsubhubbub/includes/pubsubhubbub-publisher.php:61
[0x00007f6423413e60] publish_update() /var/www/html/wp-content/plugins/pubsubhubbub/includes/functions.php:22
[0x00007f6423413d80] pubsubhubbub_publish_to_hub() /var/www/html/wp-content/plugins/pubsubhubbub/pubsubhubbub.php:64
[0x00007f6423413cd0] publish_post() /var/www/html/wp-includes/class-wp-hook.php:300
[0x00007f6423413be0] apply_filters() /var/www/html/wp-includes/class-wp-hook.php:323
[0x00007f6423413b60] do_action() /var/www/html/wp-includes/plugin.php:453
[0x00007f6423413a30] do_action() /var/www/html/wp-includes/post.php:3993
[0x00007f6423413960] wp_transition_post_status() /var/www/html/wp-includes/post.php:3420
[0x00007f6423413550] wp_insert_post() /var/www/html/wp-includes/post.php:3578
[0x00007f6423413470] wp_update_post() /var/www/html/wp-admin/includes/post.php:378
[0x00007f6423413220] edit_post() /var/www/html/wp-admin/post.php:193

I wonder if the plugin has any timeout option

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.