Tags:
create new tag
view all tags

SID-01547: PublishWebPlugin causes hang on save of EditTable table

Status: Unanswered 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

      Change status to:
ALERT! 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.
SupportForm
Status Unanswered
Title PublishWebPlugin causes hang on save of EditTable table
SupportCategory PublishWebPlugin
TWiki version 5.1.1
Server OS RedHat 6.2, kernel 2.6.32
Web server Apache 2.2.15
Perl version 5.10
Browser & version Firefox, safari, chrome
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.