Hi,

Thank you for your response.

It appears to *stop* when set to Maxclient 1, and after the max requests
per child.


> -----Original Message-----
> From: Ed Grimm [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, August 13, 2002 2:53 PM
> To: Justin M. Harrison
> Subject: Re: Random behavior
> 
> 
> Set your MaxClients to 1, see if it stops being random.  
> (Works the first time, not the second, third, etc. until 
> MaxRequestsPerChild, then
> repeat.)
> 
> If so, your subroutine is being cleared after the first view.
> 
> Ed
> 
> On Tue, 13 Aug 2002, Justin M. Harrison wrote:
> 
> > Hi,
> > 
> > I am having a problem with embperl randomly claiming that I 
> am calling 
> > an undefined sub routine. If I refresh the page, sometimes 
> it does it 
> > again - Sometimes it doesn't....Its _completely_ random (??)...
> > 
> > [19276]ERR: 24: Error in Perl code: Undefined subroutine 
> > &Embperl::__5::db_connect called at 
> > /home/user/public_html/cgi-bin/e/community.zoweb line 13.
> > 
> > It occurs like this:
> > 
> > [-
> > #use modules
> > use lib '/home/user/web/lib';
> > use web::sql;
> > 
> > #prepare variables
> > my $host = "localhost";
> > my $dbusername = "username";
> > my $dbpassword = "password";
> > my $database = "db";
> > 
> > #prepare database connection
> > $zoweb::dbi = &db_connect($host,$database,$dbusername,$dbpassword);
> > -]
> > 
> > Or:
> > 
> > [!
> > #use modules
> > use lib '/home/user/web/lib';
> > use web::sql;
> > 
> > #prepare variables
> > my $host = "localhost";
> > my $dbusername = "username";
> > my $dbpassword = "password";
> > my $database = "db";
> > !]
> > #prepare database connection
> > [- $zoweb::dbi = 
> &db_connect($host,$database,$dbusername,$dbpassword) 
> > -]
> > 
> > Even after I restart the server.
> > 
> > 
> > Any ideas?
> > 
> > Justin
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to