LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2008, 10:22 PM   #1
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Rep: Reputation: 30
xinetd FAIL imaps service limit from


Hello all,

recently, i have seen the following error in my sendmail log file. I did google however I couldn't find an explanation or docs to lead me.
we are running sendmail, clamav, brighmail and uw imaps on rhel3

**Unmatched Entries**
xinetd[11360]: FAIL: imaps service_limit from=
xinetd[11360]: FAIL: imaps service_limit from=
xinetd[11360]: FAIL: imaps service_limit from=

have anybody seen this error before or can someone point me to where should i start troubleshoot it.

since this error appeared i been getting complaint that users client is slow, freeze and sometime disconnect from the email server

any help we be greatly appreciated
 
Old 03-13-2008, 06:30 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
IMAP-capable clients can open multiple connections to the server, check if the "instances" setting in /etc/xinetd.d/imaps has a sane value.
 
Old 03-13-2008, 09:37 AM   #3
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
this is the contents of my imaps under /etc/xined.d

service imaps
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += HOST DURATION
log_on_failure += HOST
disable = no
}

So you saying i should have an entry "instances" in imaps? what value(s) does it take? Unless I missunderstood what "instances" is

I google-ed your suggestion and i saw the following on:
http://www.netwinsite.com/dmail/imapd.htm
# We do not recommend using IMAPD on systems with a large number of simultaneously connected users. This is due to a new instance of IMAPD being created for every new connection. Individual email clients often open 1 to 3 connections simultaneously, and keep these open for as long as they are active. Each instance requires about 810KB of memory on Linux systems

According to this article each instance requires 810kb and that is consistant with the symptems we are seeing. The server slows down considerabley during weekdays specially during work days and some imap users specially "outlook" get frozen or disconnected as well as webmail users.

I hope this is related to what u suggested in your reply.
So what setting should i add to my imaps to prevent this from happening?

Again, thank you so much for the help

Last edited by m2azer; 03-13-2008 at 10:45 AM.
 
Old 03-13-2008, 05:06 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Quote:
Originally Posted by m2azer View Post
So you saying i should have an entry "instances" in imaps?
Instances is the per-service maximum of connections. Limiting that will inflict a penalty unjustly: one user hogging IMAPS and the next one not being to log in. So unless you have a gazillion of users behind one IP the "per_source" seems "better" since this is instances per source IP.


Quote:
Originally Posted by m2azer View Post
what value(s) does it take?
If you're going for "instances" you'll have to determine an acceptable value yourself by looking at what amount of users and their connections is considered average and what can be marked as a peak. Setting logging options in /etc/xinetd.d/imaps could help with that. You have to note though in MUA's like Thunderbird IIRC you can limit the amount of threads per account. This means users could also do their part keeping the service alive. Don't ask me if MsOE does to, I don't know. Really.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upper limit on xinetd-launched listeners? jbminn Linux - Networking 0 04-18-2006 05:46 PM
xinetd: unrecognized service ??? Why?? stewchcken Linux - Networking 8 07-14-2005 09:23 AM
Fedora core 3, in.tftpd/xinetd connection attempts fail trot Linux - Networking 4 03-23-2005 10:46 AM
Help:xinetd controlled service? sti2envy Linux - Networking 1 10-19-2004 10:16 AM
xinetd service not starting porous Linux - Networking 4 10-14-2003 07:50 AM


All times are GMT -5. The time now is 02:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration