j_k
asked on
telnetd error
We have a Sun server with an Informix database loaded on it. About 60 users from PC's and other Suns telnet to the server to gain access to the database off and on throughout the day. Here lately, i guess more users are trying to telnet at the same time and we get an error message like this:
telnetd: All network ports in use.
Connection closed by foreign hosts.
What can be done to increase the number of users that can log into the Sun system at one time?
telnetd: All network ports in use.
Connection closed by foreign hosts.
What can be done to increase the number of users that can log into the Sun system at one time?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
OK, if you have the ability to recompile the kernel it's pretty simple -- there are constants in various .h files and all you need to do is find the one which is controlling telnet connections and change it. You might also need to increase the total number of possible open file descriptors for the kernel as a whole (since each telnet session consumes at least 3 fds).
As for determining how much memory is in use at any given time, it varies by OS and I don't have a Sun handy to test it out. Try swap -s
As for the autologout, it's set on a per-user basis; you can't actually control whether it's used on telnet connections without some clever shell-script hacking. In general, you can put a line in peoples' .cshrc files which says something like
set autologout=20
which should log them out after 20 minutes of idleness.
As for determining how much memory is in use at any given time, it varies by OS and I don't have a Sun handy to test it out. Try swap -s
As for the autologout, it's set on a per-user basis; you can't actually control whether it's used on telnet connections without some clever shell-script hacking. In general, you can put a line in peoples' .cshrc files which says something like
set autologout=20
which should log them out after 20 minutes of idleness.
ASKER
wex,
I didn't see any reference to telnet setting's in the *.h files. Where or what reference should i be looking for?
I didn't see any reference to telnet setting's in the *.h files. Where or what reference should i be looking for?
One approach that might work is to provide a CGI web browser interface to the database. This might involve a lot of work and you might still get contention for system resources but at least it would get round the idle login problem because connections would only be maintained for the duration of each access.
Another alternative would be to see investigate whether Informix provide some TCP/IP access to the database which could be accessed from the client machines. Again, this could be quite a lot of work but might prove to be the best ultimate solution.
Another alternative would be to see investigate whether Informix provide some TCP/IP access to the database which could be accessed from the client machines. Again, this could be quite a lot of work but might prove to be the best ultimate solution.
ASKER
Thanks for the ideas. Not sure what i will do, but for now this is not a pressing problem anymore; yeah right! Wait till someone complains again!!
Thanks for now?
Thanks for now?
ASKER
This server currently has 128mb of memory, it seems sufficient. Is there a method for determining how much is used?
Also, Can you elaborate on how to set up an autologout feature? I'm not sure i want to use it for telnet, but there may be some other area i might want to implement this.
j_k