Hi All,

I dont see error if i run the same script on Linux.
But it still firing 100 requests in 6 seconds insted of 1 second.

Any pointers on this?

Thanks,
PP


On 12/30/08, zentara <zent...@highstream.net> wrote:
>
> On Tue, 30 Dec 2008 14:47:08 +0530, perl...@gmail.com ("perl pra")
> wrote:
>
> >Hi All,
> >
> >I am trying out a jmeter like tool with perl.The following are the tasks
> >that my perl script needs to do.
> >
> >1) Fire  specified number of http requests in one second.
> >2) log the response times of the request.
> >3) the Thread should be freed once it completes the task.
> >
> >The following are the issues i am facing.
> >
> >1) I am getting the following errors
> >
> >*    Free to wrong pool xxx not yyy at
> >C:/Perl/lib/**constant.pm*<http://constant.pm/>
> >* line -1."  and Free to wrong pool xxx not yyy at
> >C:/Perl/lib/XSLoader.pm  line -1."  *randomly.
> >2) I have  said the perl script to fire 100 simaltaneous request in one
> >second ,but it is firing 100 requests in 6 seconds.
> >
> >3) help me in freeing the thread as soon as it completes the task.
> >
> >
> >*my environment* :
> >
> >*OS:* WinXp ,(SP2)
> >*PERL: *perl  v5.8.8 built for MSWin32-x86-multi-thread,Binary build 822
> >[280952] provided by ActiveState http://www.ActiveState.com
> >
> >
> >Please go through the following code and help me in resolving the issues:
>
> Hi,
>
> I ran your code "as is", and experienced no problem on Linux. Of course
> all the entries were marked 'FAIL'.
>
> I changed your domain to 'http://google.com' and the same thing. Of
> course, you are posting not getting in your LWP code.
>
> The threads works fine and there was no "free to wrong pool" errors.
>
> So I suspect a Window's problem. Have you tried running this on a
> linux box?  You might want to upgrade to the latest perl 5.10 and see
> if it's fixed.  I suggest CamelBox http://code.google.com/p/camelbox/
>
> You might want to ask this at http://perlmonks.org where there are
> more people who run windows and can test it.
>
> Goodluck,
> zentara
>
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>

Reply via email to