Tags:
create new tag
view all tags

Question

I have a TWiki running under windows 2003 using NatSkin and everything is honkydory, except when searching a number of topics Perl bombs and I have to abort it on the server, this produces an incomplete list of topic files and an error. It looks like windows has a limited command line length. Any ideas?

See error.log in attachments.

Environment

TWiki version: TWiki-4.0.5, Tue, 24 Oct 2006, build 11822, Plugin API version 1.1
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Win2003 [Version 5.2.3790]
Web server: Apache/1.3.23 (Win32)
Perl version: 5.8.4
Client OS: XP Pro
Web Browser: IE 6.0.2900
Categories: Search

-- BreckAuten - 13 Dec 2006

Answer

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.

Try this: In method searchInWebContent of lib/TWiki/Store/RcsFile.pm, line 346, reduce $maxTopicsInSet from 512 to 128.

-- PeterThoeny - 13 Dec 2006

Thanks, that shud work as long as I don't go directory depth crazy. I will let you know. TWiki has really grown on me! Good Job! I am still new, I hope I can add to the cause in the future. Later.

-- BreckAuten - 23 Dec 2006

I filed an enhancement request, Bugs:Item3349, to make this configurable.

-- PeterThoeny - 24 Dec 2006

Cool

-- BreckAuten - 24 Dec 2006

I re-read my 23 Dec 2006 post, and got chuckle, I don't know how Peter took it, but what I meant, was TWiki and me have a future and thankyou all for doing a GoodJob on a very cool framework, called TWiki.

-- BreckAuten - 25 Dec 2006

Put in change but I made it 20. When I am searching my TWiki web, grep still zombies and but my other webs seem ok. So here is an error.log entry after I kill the zombie perl.

c:/gnuwin32/bin/grep "-i" "-l" "-H" "-E" "--" "Back to TWikiFAQ" "d:/apache/twiki/data/TWiki/ATasteOfTWiki.txt" "d:/apache/twiki/data/TWiki/ATasteOfTWikiTemplate.txt" "d:/apache/twiki/data/TWiki/AccessKeys.txt" "d:/apache/twiki/data/TWiki/AdminDocumentationCategory.txt" "d:/apache/twiki/data/TWiki/AdminSkillsAssumptions.txt" "d:/apache/twiki/data/TWiki/AdminToolsCategory.txt" "d:/apache/twiki/data/TWiki/AnApplicationWithWikiForm.txt" "d:/apache/twiki/data/TWiki/AppendixEncodeURLsWithUTF8.txt" "d:/apache/twiki/data/TWiki/BehaviourContrib.txt" "d:/apache/twiki/data/TWiki/BookView.txt" "d:/apache/twiki/data/TWiki/BreadCrumbsPlugin.txt" "d:/apache/twiki/data/TWiki/BulkRegistration.txt" "d:/apache/twiki/data/TWiki/BulkResetPassword.txt" "d:/apache/twiki/data/TWiki/BumpyWord.txt" "d:/apache/twiki/data/TWiki/CategoryCategory.txt" "d:/apache/twiki/data/TWiki/ChangeEmailAddress.txt" "d:/apache/twiki/data/TWiki/ChangePassword.txt" "d:/apache/twiki/data/TWiki/ClassMethod.txt" "d:/apache/twiki/data/TWiki/ClassicSkin.txt" "d:/apache/twiki/data/TWiki/ClassicSkinLogin.txt" failed: c:/gnuwin32/bin/grep "-i" "-l" "-H" "-E" "--" "Back to TWikiFAQ" "d:/apache/twiki/data/TWiki/CommentPlugin.txt" "d:/apache/twiki/data/TWiki/CommentPluginTemplate.txt" "d:/apache/twiki/data/TWiki/DeleteOrRenameATopic.txt" "d:/apache/twiki/data/TWiki/DeleteOrRenameAnAttachment.txt" "d:/apache/twiki/data/TWiki/DeveloperDocumentationCategory.txt" "d:/apache/twiki/data/TWiki/DontNotify.txt" "d:/apache/twiki/data/TWiki/DragonSkin.txt" "d:/apache/twiki/data/TWiki/DragonSkinCustomize.txt" "d:/apache/twiki/data/TWiki/DragonSkinInstall.txt" "d:/apache/twiki/data/TWiki/DragonSkinSiteMap.txt" "d:/apache/twiki/data/TWiki/EditDoesNotIncreaseTheRevision.txt" "d:/apache/twiki/data/TWiki/EditTablePlugin.txt" "d:/apache/twiki/data/TWiki/EmptyPlugin.txt" "d:/apache/twiki/data/TWiki/ExampleTopicTemplate.txt" "d:/apache/twiki/data/TWiki/FileAttachment.txt" "d:/apache/twiki/data/TWiki/FileAttribute.txt" "d:/apache/twiki/data/TWiki/FilterPlugin.txt" "d:/apache/twiki/data/TWiki/FlexWebListExamples.txt" "d:/apache/twiki/data/TWiki/FlexWebListPlugin.txt" "d:/apache/twiki/data/TWiki/ForceNewRevision.txt" failed: c:/gnuwin32/bin/grep "-i" "-l" "-H" "-E" "--" "Back to TWikiFAQ" "d:/apache/twiki/data/TWiki/FormattedSearch.txt" "d:/apache/twiki/data/TWiki/GluePlugin.txt" "d:/apache/twiki/data/TWiki/GnuGeneralPublicLicense.txt" "d:/apache/twiki/data/TWiki/GoBox.txt" "d:/apache/twiki/data/TWiki/GoodStyle.txt" "d:/apache/twiki/data/TWiki/HiddenAttachment.txt" "d:/apache/twiki/data/TWiki/IfDefinedPlugin.txt" "d:/apache/twiki/data/TWiki/IfStatements.txt" "d:/apache/twiki/data/TWiki/IncludeTopicsAndWebPages.txt" "d:/apache/twiki/data/TWiki/InstalledPlugins.txt" "d:/apache/twiki/data/TWiki/InstantEnhancements.txt" "d:/apache/twiki/data/TWiki/InterWikis.txt" "d:/apache/twiki/data/TWiki/InterwikiPlugin.txt" "d:/apache/twiki/data/TWiki/JSCalendarContrib.txt" "d:/apache/twiki/data/TWiki/LanguageSelector.txt" "d:/apache/twiki/data/TWiki/LoginName.txt" "d:/apache/twiki/data/TWiki/MailerContrib.txt" "d:/apache/twiki/data/TWiki/MainFeatures.txt" "d:/apache/twiki/data/TWiki/MainTWikiWebLinksForAdmins.txt" "d:/apache/twiki/data/TWiki/ManagingTopics.txt" failed: 

-- BreckAuten - 25 Dec 2006

P.S. What does "--" do for grep in this case, read STDIN, maybe that is doing it. I dont bloody know.

I am ready to kill grep, my grep bad. ):

-- BreckAuten - 25 Dec 2006

I just remembered I had a problem with Perl on window a few years back and I think my script was using system() to run some executable N times within the script, I think it zombied on N-i iteration.

Maybe this is same, I see if I can track that down.

Geez Louis.

-- BreckAuten - 25 Dec 2006

Change status to:
Topic attachments
I Attachment History Action Size Date Who Comment
PDFpdf TWikiConfig.pdf r1 manage 201.5 K 2006-12-13 - 07:18 UnknownUser partial config
Unknown file formatlog error.log r1 manage 4.2 K 2006-12-13 - 00:51 UnknownUser An entry in an Apache error.log
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2006-12-25 - BreckAuten
 
  • 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.