Problem Note 57264: The error "Failed to grow the connection pool" occurs when you start a SASĀ® 9.4 web server using PostgreSQL in an AIX operating environment
Under AIX, the following error is generated when you start a SAS web server by using the PostgreSQL database management system:
Failed to grow connection pool
The following steps should resolve this error. The problem might resolve after just the first two steps. If the problem does not resolve at that point, perform the third step.
-
Check the setting for the maximum user process. The problem can occur when the maximum user process on the machine is set too low. To check the setting, submit the following command:
lsattr -E -l sys0 | grep maxuproc
The setting should be no lower than 2048.
-
Change the maximum number of connections to 384 in the postgresql.conf file. This file is located in the data directory of the PostgreSQL installation.
-
Change the maxPoolSize="100" setting in the server.xml file to maxPoolSize="30" for all the SAS web servers, as shown in the example below for SASServer1
<Resource auth="Container" driverClassName="org.postgresql.Driver" factory="com.sas.vfabrictcsvr.atomikos.BeanFactory"
maxPoolSize="30" minPoolSize="10" name="sas/jdbc/Administration" password="${pw.sas.jdbc.Administration}" testQuery="select 1"
type="com.atomikos.jdbc.nonxa.AtomikosNonXADataSourceBean" uniqueResourceName="sas/jdbc/Administration"
url="jdbc:postgresql://ctnr6405.unx.sas.com:49432/Administration" user="adminowner"/>
Note: The server.xml file resides in SAS-configuration-directory/Lev1/Web/WebAppserver/SASServerX_X/conf/. In this path, SASServerX_X represents all of the servers in your installation (for example, SASServer1_1,SASServer2_1,SASServer7_1, and so on).
After you make this change, restart the servers.
Operating System and Release Information
| SAS System | SAS Web Infrastructure Platform Data Server | 64-bit Enabled AIX | 9.4 | | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2015-12-21 14:35:42 |
| Date Created: | 2015-12-16 08:23:53 |