Networking Forums

Networking Forums > Computer Networking > Linux Networking > excessive incoming connections?

Reply
Thread Tools Display Modes

excessive incoming connections?

 
 
bazzz777
Guest
Posts: n/a

 
      09-18-2003, 05:46 PM
I'm running an IMAP and POP server on Linux Redhat 8
for 300 users. Users have been complaing about the
service being unavailable.

When this happens the log shows the entries like the following.

-----------from /var/log messages------------------
Sep 18 09:25:24 mail2 xinetd[28101]: Deactivating
service imap due to excessive incoming connections.
Restarting in 10 seconds.
---------------------------------------------------

I'm running these services through xinetd with the following
xinetd.conf entries.

service imap
{
flags = REUSE
socket_type = stream
protocol = tcp
wait = no
instances = 1000
log_type = FILE /var/log/imap.log
user = root
server = /usr/sbin/imapd
}

service pop-3
{
flags = REUSE
socket_type = stream
protocol = tcp
wait = no
instances = 1000
log_type = FILE /var/log/pop3.log
user = root
server = /usr/sbin/ipop3d
}

I see there's a "max_load" option in the man page. But
can't find what the numbers mean (load per minute?).

Thanks for any info.

Bazzz
 
Reply With Quote
 
 
 
 
Jeroen Geilman
Guest
Posts: n/a

 
      09-19-2003, 07:55 PM
bazzz777 wrote:

> I'm running an IMAP and POP server on Linux Redhat 8
> for 300 users. Users have been complaing about the
> service being unavailable.
>
> I'm running these services through xinetd


....WHY ?

"man xinetd" *specifically* states that this is only recommended if you are
running servers that do not need to be available all of the time but only,
say, once or twice a day at most!

The startup cost of ANY daemon run through xinetd is far greater than when
running the daemon as a stand-alone master process - read the manual!

That would be step 1, then : run these servers as standalone processes and
don't be too stingy with resource allocation or maximum processes... then
see what happens.

I run a mail server and imap server on my home system and I'm practically
the only user - and _I_ run imapd as a stand-alone process!

The only difference it will make for your server system is a slightly higher
memory requirement and a very very little bit of cpu overhead...

Don't be too cheap on that machine!

For 300 imap users you should plug in at least 128~256 MB RAM.

RAM is cheap - very cheap.

--
Jeroen Geilman

Gentoo 1.4 rc4
 
Reply With Quote
 
bazzz777
Guest
Posts: n/a

 
      09-22-2003, 05:47 PM
Jeroen Geilman <(E-Mail Removed)> wrote in message news:<3f6b4326$0$58701$(E-Mail Removed)>...
> bazzz777 wrote:
>
> > I'm running an IMAP and POP server on Linux Redhat 8
> > for 300 users. Users have been complaing about the
> > service being unavailable.
> >
> > I'm running these services through xinetd

>
> ...WHY ?
>


You are right. I should probably run these as stand-alone services.
I use xinetd out of habit. Plus I like the added control options.

The problem was fixed by upgrading from xientd version 2.3.10 to 2.3.12.

Thanks for the feedback.

Bazzz
 
Reply With Quote
 
 
 
Reply

Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove Incoming Connections Non-Interactively SSI Windows Networking 0 10-20-2008 11:06 PM
Incoming connections after installing KB923414 Jerry Wireless Networks 0 10-20-2006 08:12 PM
How to disable the incoming connections? hxhn1 Windows Networking 1 06-13-2005 01:35 PM
Allowing Incoming Connections Vadim Berezniker Windows Networking 1 01-08-2005 06:04 PM
excessive connections rob Windows Networking 1 09-28-2004 02:50 AM



1 2 3 4 5 6 7 8 9 10 11