If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > err = -25574

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-03-03, 04:24
Sabsu Sabsu is offline
Registered User
 
Join Date: Apr 2003
Posts: 3
err = -25574

I ask for help for the following problem:

The last line of the "onstat -u" shows three things:
active xx, total xx, maximum concurrent xx
when this line looks like this: "98 active, 128 total, 98 maximum concurrent", a new user can not login and the following errorcode appears:
"14:31:56 listener-thread: err = -25574: oserr = 24: errstr = : Network driver c
annot open the network device.
System error = 24. "

I tried to change the NETTYPE-parameter already (actual entry: " tlitcp,1,200") - but no success

Informix-Version is 7.30 UC8
Thank you for help !
Reply With Quote
  #2 (permalink)  
Old 04-03-03, 09:20
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
Check your kernel parameters, probably the number of open files should be increased.
Every time you open a new connection, a new 'file' is opened...
__________________
rws
Reply With Quote
  #3 (permalink)  
Old 04-04-03, 03:07
Sabsu Sabsu is offline
Registered User
 
Join Date: Apr 2003
Posts: 3
Can you tell me the name of the correct kernel-parameter to change the number of files? I don't know exactly, which parameter is the right one (we use SINIX-N 5.43 C 5001 ) .
Thank you.
Reply With Quote
  #4 (permalink)  
Old 04-04-03, 04:50
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
OK, this is how I got there:

find / -name errno.h -exec grep "24" {} \;

#define EMFILE 24 /* Too many open files */
...


The command you are looking for is 'ulimit -n <#openfiles>'
ulimit -n reports the current number of open files.

I hav ea redhat and there it is '-n'. It is possible that you have to check your man pages to get the correct argument/flags.
Once you set this, it is possible you have to reboor your system and restart the informix instance.
__________________
rws
Reply With Quote
  #5 (permalink)  
Old 04-04-03, 04:52
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
OK, this is how I got there:

find / -name errno.h -exec grep "24" {} \;

#define EMFILE 24 /* Too many open files */
...


The command you are looking for is 'ulimit -n <#openfiles>'
ulimit -n reports the current number of open files.

I hav ea redhat and there it is '-n'. It is possible that you have to check your man pages to get the correct argument/flags.
Once you set this, it is possible you have to reboor your system and restart the informix instance.
__________________
rws
Reply With Quote
  #6 (permalink)  
Old 04-04-03, 04:54
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
find / -name errno.h -exec grep "24" {} \;
#define EMFILE 24 /* Too many open files */
...

Action increase number of open files.
On linux, the command ulimit -n will do the trick. Otherwise, check man pages.
__________________
rws
Reply With Quote
  #7 (permalink)  
Old 04-04-03, 04:55
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
sorry about the double reply. It failed the first time..
__________________
rws
Reply With Quote
  #8 (permalink)  
Old 04-08-03, 04:38
Sabsu Sabsu is offline
Registered User
 
Join Date: Apr 2003
Posts: 3
Lightbulb

Thank you very much for your help !

I never thought about the error Nr. 24. I always looked upon the error-number 25574 ...

"ulimit -n" was 100 - now I changed it to 256 (it is the kernel-parameter SFNOLIM) and the "maximum concurrent" number of users can rise over 100 - like magic ..

You helped me very much, thank you again !
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On