• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

Pop close?!

In My email server (RH6.1), when many people access the mail server, the pop will be closed. In message log, "pop-3/tcp server failing (looping), service
 terminated "
why?
And Can  I Limit no of user access the mail server at the same time?
0
logout
Asked:
logout
1 Solution
 
perecCommented:
That's a problem for the inetd server receiving too many connections at once.
For the kind of detail you want to have to your servers, you're better of with xinetd.
Download it from anywhere you want, and be sure it has Solar Designer's last year's patches.
It has a fairly decent sample config file. It should be straightforward.
0
 
mnewnhamCommented:
The kernel sounds like it is running out of resources.

Try increasing the following parameters in the kernel

inodes, files, processes, flocks.

Some of these may be settable at run-time - see the Kernel-HOWTO.
0
 
nbaCommented:
How to tune the pararmter?
ANy suggestion?
0
 
perecCommented:
What parameters? Read the docs in /usr/src/kernel/Documentation
An alternative is to simply run the pop-3 app in daemon mode, outside of inetd.
0
 
flatsCommented:
The problem is in your inetd.conf file.
You are spawning too many connections for it.  The default is 40 spawned programs in 60 seconds.  You can up this time though...
Your pop3 session probably looks like this:
pop3 stream tcp nowait root /path/pop3d

After the 'nowait' add '.XXX'  where XXX is the maximum number of serverinstances that may be spawned from inetd within an interval of 60 secĀ­s.

So now it should look like this:
pop3 stream tcp nowait.100 root /path/pop3d

I ran into this problem a few weeks ago.  Read the inetd.conf man pages for more info.

Derek
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now