Monday, October 03, 2005

Informix 25588問題?

這個問題,困擾了我好久,從原廠中的文件中看不出來有什麼問題,我想一定有很多使用informix的人跟我一樣,在Informix的onconfig 檔中,記錄了不同的nettype,在建立的初期需要作一定的區分,避免到時因為Thread的用盡造成25588的問題,不過我也有遇過, Infiormix 32 bit client 連 64bit server也會出現這個訊息
以下是我截取國外的訊息

In my programs wrote in ESQLC, error -25588 encountered.
> My program forks several child processes,db connection is established in
> every process and keep alive till end of process.
> When I fork more processes, certain process will fail to establish
> connection to informix server(IDS 7.31).
> Since my program deployed on the same computer with IDS, we use onipcshm as
> commumication protocol.If I change onipcshm to onsoctcp,no 25588 error
> occur.
> What's the reason?

Most likely, the NETTYPE configuration parameter in the ONCONFIG file
has too few users listed for the number of connections you're attempting
to make. The shared memory connections are fixed at start-up and can't
be changed without restarting the server. OTOH, if you run out of
network connections, IDS simply starts a new listener thread...

0 Comments:

<< Home