Try increasing
NUMFDSERVERS which defaults to 1 in the ONCONFIG file.
Art
Art S. Kagel, President and Principal Consultant
ASK Database Management
Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves.
------Original Message------
Informix 11.50.FC6WE, HP-UX 11.31 on PA-RISC
We are running Genero applications on an Apache web server. The Genero and Apache are running on a Linux box, which connects to our database server via the network. Our Informix server is configured with both shared memory and network listeners
NETTYPE ipcshm,5,350,CPU
NETTYPE soctcp,8,200,NET
During periods of high activity, such as the morning after a weekend or holiday, we receive a large number of -27001 errors in the session logs of the Genero applications. Today, we had about 2000 such errors by 10:00 AM. The typical message looks like:
Program stopped at 'myGeneroApplication.4gl', line number 162.
SQL statement error number -27001.
Read error occurred during connection attempt.
Found
this document on the IBM Support pages (https://www.ibm.com/support/pages/error-27001-unable-connect-tcp-network-connections). The first item it mentions is that connectivity files are not being removed from /INFORMIXTMP. I looked in that directory, and there are 71 files named VP.my_instance_name.*. All but three of these files date back to the day that the instance was started, with times spanning a period of about 10 hours. The other three are dated the next day, one shortly after midnight, the other two around 08:30 AM.
My questions are, how many of these files should exist normally? And should they all be from the date/time that the instance started? Or should they be closer to the current date? Or any date between the two dates?
The document recommends shutting down the instance and deleting these files. If I saw files from prior to the date the instance was started, I'd be much more inclined to do that, but if these files typically get created when the instance starts, or shortly after, and are expected to stay there, then I don't want to take an outage for something that is working normally.
The document also mentions other potential causes of this error, including:
> incorrect VP class (CPU) for network connections - as you can see above, we have 8 soctcp listeners running on NET VPs
> kernel parameter problems - the parameters were set using Informix recommendations from the release notes, but if anyone has any suggestions, please share
> network problems (busy or lost packets) - our network group has confirmed that the network was under 50% utilization during the time of the Informix errors
> intermittent hardware failure - possible, but not sure how we'd confirm that
I considered adding more listeners via the 'onmode -P' command, but the number of network sessions seems to have abated somewhat and we are receiving fewer of the -27001 errors now. But I want to understand what's going on and how to address it if it happens again.
Any other thoughts would be appreciated.
Thanks.
------------------------------
Mark Collins
------------------------------
#Informix