Tags:
create new tag
, view all tags

Question

Including an http address using (for example, %INCLUDE{"http:/127.0.0.1/"}%) makes a topic very slow (20-30 secs) to be rendered. However previewing the topic does not suffer this penalty and renders correctly. I have searched around and found other (similar) reports as bugs: IncludeUrlIsSuperSlow, IncludeHTMLTakesLongTime. I even applied the patch mentioned in ProxiedIncludesBrokenImplementationBug, but the problem remains.

Another, may be unrelated, symptom is that every time an "http:" include is rendered within a topic the folowing entry in the web server error log:

Socket.pm: Argument "127.0.0.1" isn't numeric in subroutine entry at /usr/lib/perl5/5.6.1/i386-linux/Socket.pm line 442.

Preview also shows a similar entry in the log, but does not take any appreciable time to render:

preview: Argument "127.0.0.1" isn't numeric in subroutine entry at /usr/lib/perl5/5.6.1/i386-linux/Socket.pm line 442.

KeepAliveTimesOutWithIncludes mentins problems with the mixture of HTTP 1.0 and 1.1, but that doews not explain the difference between prexiew and view, rigth?

(Sorry for submitting this as a bug in IncludeHttpIsVerySlow without checking first in Support for advice :P )

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin

Server OS: Mandrake Linux 8.2, kernel 2.4.19-35mdk
Web server: Apache-AdvancedExtranetServer/1.3.23 (Mandrake Linux/4.1mdk)
Perl version: v5.6.1 built for i386-linux
Client OS: Mandrake Linux 8.2, kernel 2.4.19-35mdk
Web Browser: Mandrake Linux 8.2, kernel 2.4.19-35mdk, mozilla

-- RodrigoChandia - 21 Nov 2003

It just ocurred to me that I have mod_perl active for view only. This may be the cause for the difference... but why?

-- RodrigoChandia - 21 Nov 2003

Yes, I have just tested it: mod_perl makes my INCLUDE's very slow. What could be the reason?

-- RodrigoChandia - 21 Nov 2003

Answer

Topic revision: r2 - 2004-02-01 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.