PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: max DBPROCESS problem
Date: Jan 12 2001 9:15PM

jimmy mcdonald writes:
 > 
 > >       dbsetmaxprocs(100);
 > 
 > 
 > i have installed sybperl 2.13...
 > 
 > i get the following error:
 > 
 > Undefined subroutine &main::dbsetmaxprocs called at ./Foo_schedule.pl line 31.
 > 

It looks like it didn't get added to the @EXPORTS array.

Try Sybase::DBlib::dbsetmaxprocs(...);


 > I'm also interested in information on persistent connections.
 > I want to leave these connections persistent and I think I'm
 > running out because I'm reaching the 25 connections although I 
 > don't really think I should based on the load. So, I'm thinking
 > that my script isn't properly deciding that a connection is usable
 > and makes a new connection.

Yeah - that's also my guess.

However, without seeing the code I don't think there's much that we
can do.

Michael
-- 
Michael Peppler - Data Migrations Inc. - mpeppler@peppler.org
http://www.mbay.net/~mpeppler - mpeppler@mbay.net
International Sybase User Group - http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com