Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Help with Perl process limitations
markwilson
We have added an option to our dropdown menu that certain users can access.
This option runs a perl script that retrieves data from a SQL server database and then creates DCRs based on this data.
The script then generates content pages.
Everything works fine as long as there aren't more than 32 DCRs created.
When there is more than 32 records all the DCRs are created and the process hangs as the 33rd record is processed.
The line that causes the problems is
$command = "d:\\system\\iw-home\\iw-perl\\bin\\iwperl.exe d:\\system\\iw-home\\bin\\iwpt_compile.ipl -pt $templateFile -iw_pt-dcr $dcrPath -iw_include-location y: -ofile $generatedFile";
This runs exactly 32 times, the surrounding loop continues and the owning PERL process hangs when this line is reached.
We have searched everywhere in various configuration files and cannot find any reference to limitations.
We are running TS 5.5.1 on Win2K
Has anybody got any ideas??
I shall never be ashamed of citing a bad author if the line is good.
<b>Seneca (5 BC - 65 AD)</b>
Find more posts tagged with
Comments
laj1
I wish I had the answer, but alas, I do not. But if I was trying to debug this one, I'd
try running it under the debugger, and step through the the 31st and 32dn iteration of the loop. Or
output the value of $command to see if the command line parameters are getting messed up.
I'd also look in all of your TeamSite log files, as they may have something interesting to tell you.
Also check your windows event log, maybe you're running out of some system resource.
Keep us posted.
Len.
Len Jaffe
My Heart Is A Flower
Update your DevNet profile - let us know who you are!
mgal
try putting this line almost at the top of the page
$| = 1;
open(STDERR, ">&STDOUT");
this show the error message in the browser.