SID-01547: PublishWebPlugin causes hang on save of EditTable table
| Status: |
Unanswered |
TWiki version: |
5.1.1 |
Perl version: |
5.10 |
| Category: |
PublishWebPlugin |
Server OS: |
RedHat 6.2, kernel 2.6.32 |
Last update: |
10 years ago |
I have both
PublishWebPlugin and
EditTablePlugin installed. They both appear to be working normally except when a user tries to save an edit to a table using the
EditTablePlugin feature.
Any page which has a table that uses the
EditTablePlugin can be edited and saved normally (i.e editing the page and saving). But if you just edit the table using the little button at the bottom of the table there is a hang. The edit commits, but something somewhere times out and the result is a 504 error.
--
EliYoung - 2012-10-03
Discussion and Answer
The data/debug.txt log contains about 6,000 lines of the following per table save attempt.
| 2012-10-03 - 14:55 | -
PublishWebPlugin: afterSaveHandler(
TestPage )
| 2012-10-03 - 14:55 | -
PublishWebPlugin: publishTopic(
DemoLab,
TestPage )
| 2012-10-03 - 14:55 | -
PublishWebPlugin: commonTagsHandler(
TestPage )
The log indicates the save and the warn log doesn't have any entries related to the attempt.
The apache logs gives some pointers (IP's and site names redacted)
........
[Wed Oct 03 14:53:13 2012] [error] [client x.x.x.x] [Wed Oct 3 14:53:13 2012] viewauth: Deep recursion on subroutine "TWiki::Plugins::PublishWebPlugin::publishTopic" at /var/www/html/twiki/lib/TWiki/Plugins/PublishWebPlugin.pm line 148., referer:
....
[Wed Oct 03 14:54:13 2012] [error] [client x.x.x.x] Script timed out before returning headers: viewauth, referer....
[Wed Oct 03 14:55:13 2012] [warn] [client x.x.x.x] Timeout waiting for output from CGI script /var/www/html/twiki/bin/viewauth, referer....
--
EliYoung - 2012-10-03
I've updated my
EditTablePlugin to the 2012-07-11 version per bug Item6900. but I still get the timeouts and errors.
The errors now start with this in the httpd error log
[Thu Oct 04 08:28:22 2012] [error] [client x.x.x.x] [Thu Oct 4 08:28:22 2012] viewauth: Deep recursion on subroutine "TWiki::Plugins::dispatch" at /var/www/html/twiki/lib/TWiki.pm line 3166., referer:
[Thu Oct 04 08:28:22 2012] [error] [client x.x.x.x] [Thu Oct 4 08:28:22 2012] viewauth: Deep recursion on subroutine "TWiki::Plugin::invoke" at /var/www/html/twiki/lib/TWiki/Plugins.pm line 351., referer:
--
EliYoung - 2012-10-04
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
Peter Thoeny - 2015-12-03
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.