I need a solution
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
And Can I Limit no of user access the mail server at the same time?
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.
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.
How to tune the pararmter?
What parameters? Read the docs in /usr/src/kernel/Documentat
An alternative is to simply run the pop-3 app in daemon mode, outside of inetd.
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 secs.
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.
Solve your biggest tech problems alongside global tech experts with 1:1 help.
Tackle projects and never again get stuck behind a technical roadblock.
How it Works
Plans and Pricing
Become an Expert
Who We Are
Join Our Team
Hall of Fame
Experts Exchange, LLC.
All rights reserved. Covered by US Patent.