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
--
BreckAuten - 13 Dec 2006
Answer
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