Click here to get back home

Strange errors

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Strange errors Charlie 08-09-2004
Posted by Charlie on August 9, 2004, 7:17 pm
Please log in for more thread options
Hi folks,
I am testing a web page by using some modules from cpan, such as
SSLeay, WWW::Mechanize,etc. On top, I am using threads to simulated
more than multiple users.

During the run-time, if I was to simulate one or tens' of users to
access that web page, all my scripts runs smoothingly without a single
error.

However, when I was to simulate couple of hundreds of users to access
that web page, I am seeing these kind of results coming from:
1. Sometimes it gives messages as that "it can not find a certain form
on a certain page", which not suppose to be.
2. Sometimes there is a "Segmentation fault"

Why I get those messages, is that because of the script I am running,
or the modules being used, or it is a really problem when too many
users are accessing that web page at the same time ?

Any tips, suggestions ?


Thanks for the help



CJ


Posted by Jim Keenan on August 12, 2004, 6:58 am
Please log in for more thread options
cji_work@yahoo.com (Charlie) wrote in message
> Hi folks,
> I am testing a web page by using some modules from cpan, such as
> SSLeay, WWW::Mechanize,etc. On top, I am using threads to simulated
> more than multiple users.
> [snip]
> Why I get those messages, is that because of the script I am running,
> or the modules being used, or it is a really problem when too many
> users are accessing that web page at the same time ?
>

Could be any one of the above. As you state in your first paragraph,
your overall program design is quite complex. Perhaps you should take
it apart, start with the first component, and test each component as
you add to it. The problem may be a Perl problem -- or it may not.

BTW, it's not at all clear what you mean by "testing a web page by
using some modules from cpan".

jimk


Similar ThreadsPosted
strange behavior in File::Basename July 22, 2004, 5:32 pm
XML::Twig::XPath - strange problem November 10, 2005, 9:44 am
Net::SFTP / Net::SSH::W32Perl strange debug messages? August 13, 2006, 11:06 am
How do I trap DBI errors? May 16, 2006, 5:49 am
Sybperl errors on Solaris 2.9 March 2, 2005, 8:52 am
Trying to compile MP3::Info gives errors December 12, 2005, 11:17 am
Net::Google 502 Bad gateway errors May 17, 2006, 2:15 am
Send::Mail nothing happens and no errors January 25, 2007, 10:09 am
Errors when Installing Modules June 23, 2008, 6:09 pm
DBD::mysql test errors on Win32 September 2, 2005, 2:54 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap