LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-04-2004, 01:39 PM   #1
cyberpuerka
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Rep: Reputation: 0
Sendmail IMAP issues


Hi folks, I hope you can help me with this issue:

Checking the mail processes running on our server, we realize that
some of them are very old, and it seems that our mail server is not
dropping idle connections since we are frequently experiencing
the "Too many IMAP connections" problem.

I've been searching the web and everybody states that 30 minutes
is the standard time to drop an idle connection, but so far I haven't
found where to configure that on our mail server. (There's always
the possibility that my queries were not enough)

We use sendmail as our mail server. Is it possible to configure it for
dropping idle connections?

Thx in advance!
 
Old 11-04-2004, 01:46 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
sendmail is an smtp server and not an imap server.

1) What are you using for IMAP?
2) Can you post the output from:
netstat -an

Remember that imap connections are stateful and will remain open when the clients are logged in, most clients will actually cache more than one connection as well.
 
Old 11-04-2004, 02:36 PM   #3
cyberpuerka
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Ack! I guess you are right,
I've should spent more minutes writting this message.

Here goes again:
rpm : imap-2001a-15
binary: /usr/sbin/imapd
configuration file in /etc/xinetd.d:
# default: off
# description: The IMAP service allows remote users to access their mail using \
# an IMAP client such as Mutt, Pine, fetchmail, or Netscape \
# Communicator.
service imap
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += HOST DURATION
log_on_failure += HOST
disable = no
}

About sendmail:
rpm: sendmail-8.12.8-1.80

As for netstat output the list is really big...I was looking for an "Add attachment" button but
didn't find one. so I'll write it down.

#################################################################################
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:6016 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6017 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6018 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:32770 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6019 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6020 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6021 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6022 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6023 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6024 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6025 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6026 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6027 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:720 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:51667 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:8118 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:1529 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6011 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6012 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6013 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6014 0.0.0.0:* LISTEN
tcp 0 0 133.220.2.71:143 133.220.3.164:32797 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.15.142:1330 ESTABLISHED
tcp 0 0 127.0.0.1:6010 127.0.0.1:38172 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.162:1044 ESTABLISHED
tcp 0 0 127.0.0.1:6010 127.0.0.1:38168 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.65:40721 ESTABLISHED
tcp 0 0 127.0.0.1:38042 127.0.0.1:6016 ESTABLISHED
tcp 0 0 127.0.0.1:38045 127.0.0.1:6016 ESTABLISHED
tcp 0 0 133.220.2.71:139 133.220.3.52:2916 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.5.28:4164 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.75:33555 ESTABLISHED
tcp 0 0 133.220.2.71:22 128.171.188.13:36513 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.3.212:40768 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.94:37674 ESTABLISHED
tcp 0 0 127.0.0.1:6010 127.0.0.1:55333 ESTABLISHED
tcp 0 0 127.0.0.1:6013 127.0.0.1:39717 ESTABLISHED
tcp 0 0 127.0.0.1:6013 127.0.0.1:39716 ESTABLISHED
tcp 0 0 127.0.0.1:6010 127.0.0.1:55331 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.4.3:47486 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.2.21:51476 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.42:1569 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.100:32883 ESTABLISHED
tcp 0 0 127.0.0.1:55118 127.0.0.1:6019 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.212:40763 ESTABLISHED
tcp 0 0 127.0.0.1:6019 127.0.0.1:55118 ESTABLISHED
tcp 0 0 133.220.2.71:143 128.227.184.185:32993 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.3.40:57137 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.16.25:1065 ESTABLISHED
tcp 0 0 133.220.2.71:22 128.227.184.185:32986 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.4.77:38503 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.197:1288 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.2.147:34908 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.197:1287 ESTABLISHED
tcp 0 0 133.220.2.71:22 200.111.31.14:4188 ESTABLISHED
tcp 0 0 127.0.0.1:6016 127.0.0.1:38045 ESTABLISHED
tcp 0 0 127.0.0.1:6016 127.0.0.1:38042 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.15.158:3494 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.230:59344 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.156:2994 ESTABLISHED
tcp 0 0 133.220.2.71:25 166.107.72.5:3868 ESTABLISHED
tcp 0 0 127.0.0.1:55981 127.0.0.1:6011 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.22:1266 ESTABLISHED
tcp 0 0 127.0.0.1:55333 127.0.0.1:6010 ESTABLISHED
tcp 0 0 127.0.0.1:55331 127.0.0.1:6010 ESTABLISHED
tcp 0 0 133.220.2.71:139 133.220.4.197:1247 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.4.201:37843 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.2.143:33181 ESTABLISHED
tcp 0 0 133.220.2.71:143 128.220.233.242:53544 ESTABLISHED
tcp 0 0 133.220.2.71:143 128.220.233.242:53536 ESTABLISHED
tcp 0 0 127.0.0.1:6011 127.0.0.1:55981 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.40:58287 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.96:1508 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.43:1452 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.4.77:36299 ESTABLISHED
tcp 0 0 133.220.2.71:22 128.171.188.13:36470 ESTABLISHED
tcp 0 0 133.220.2.71:55507 133.220.4.65:22 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.7.36:51636 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.212:40633 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.4.17:53937 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.43:1417 ESTABLISHED
tcp 0 0 127.0.0.1:39717 127.0.0.1:6013 ESTABLISHED
tcp 0 0 127.0.0.1:39716 127.0.0.1:6013 ESTABLISHED
tcp 0 0 127.0.0.1:38168 127.0.0.1:6010 ESTABLISHED
tcp 0 0 127.0.0.1:38172 127.0.0.1:6010 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.68:42739 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.68:42736 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.17.56:49304 ESTABLISHED
tcp 0 0 133.220.2.71:48077 133.220.2.21:22 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.17.56:49299 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.44:1388 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.4.18:55378 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.7.45:33123 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.89:41275 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.103:2823 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.89:41271 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.44:1351 ESTABLISHED
tcp 0 0 133.220.2.71:110 133.220.1.193:3415 TIME_WAIT
tcp 0 0 133.220.2.71:22 133.220.4.84:55847 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.3.15:41082 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.7.43:50013 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.163:4899 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.163:4901 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.5.15:1053 ESTABLISHED
tcp 0 0 133.220.2.71:25 12.162.161.1:3576 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.128:50270 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.70:50036 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.70:50035 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.15:42185 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.15.141:4539 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.4.14:38622 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.7.77:55976 ESTABLISHED
tcp 0 0 133.220.2.71:22 140.254.79.123:59591 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.1.227:1259 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.128:50314 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.104:1516 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.190:1738 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.4.190:1740 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.3.17:38789 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.5.13:3497 ESTABLISHED
tcp 0 0 133.220.2.71:143 133.220.5.29:2235 ESTABLISHED
tcp 0 0 133.220.2.71:22 133.220.2.70:60660 ESTABLISHED
udp 0 0 0.0.0.0:32768 0.0.0.0:*
udp 0 0 0.0.0.0:2049 0.0.0.0:*
udp 0 0 0.0.0.0:32770 0.0.0.0:*
udp 0 0 0.0.0.0:32771 0.0.0.0:*
udp 0 0 133.220.2.71:137 0.0.0.0:*
udp 0 0 0.0.0.0:137 0.0.0.0:*
udp 0 0 133.220.2.71:138 0.0.0.0:*
udp 0 0 0.0.0.0:138 0.0.0.0:*
udp 0 0 127.0.0.1:37522 0.0.0.0:*
udp 0 0 0.0.0.0:795 0.0.0.0:*
udp 0 0 0.0.0.0:799 0.0.0.0:*
udp 0 0 0.0.0.0:800 0.0.0.0:*
udp 0 0 0.0.0.0:717 0.0.0.0:*
udp 0 0 127.0.0.1:38608 0.0.0.0:*
udp 0 0 0.0.0.0:56919 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 92443319 /tmp/ssh-XX7tTyox/agent.24982
unix 2 [ ACC ] STREAM LISTENING 2739 /dev/gpmctl
unix 2 [ ACC ] STREAM LISTENING 77777100 /tmp/ssh-XX3cXQbC/agent.4748
unix 2 [ ACC ] STREAM LISTENING 92527985 /tmp/orbit-emond/linc-7799-0-1be2c593d7c7
unix 2 [ ACC ] STREAM LISTENING 92527992 /tmp/orbit-emond/linc-7794-0-7405fe1531ac7
unix 2 [ ACC ] STREAM LISTENING 92528014 /tmp/orbit-emond/linc-779c-0-196cfd697733b
unix 2 [ ACC ] STREAM LISTENING 92528033 /tmp/orbit-emond/linc-779e-0-7f3b2c499cc1f
unix 2 [ ACC ] STREAM LISTENING 2967 /tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 1729 /var/run/lprng
unix 70 [ ] DGRAM 1007 /dev/log
unix 2 [ ACC ] STREAM LISTENING 78080917 /tmp/ssh-XXk3ayxH/agent.26723
unix 2 [ ACC ] STREAM LISTENING 92650887 /tmp/ssh-XXCkEFH3/agent.6526
unix 2 [ ACC ] STREAM LISTENING 92741553 /tmp/ssh-XXBlxbQO/agent.11539
unix 2 [ ACC ] STREAM LISTENING 77785449 /tmp/ssh-XXgURYLa/agent.5425
unix 2 [ ACC ] STREAM LISTENING 92749625 /tmp/ssh-XXSMx9ai/agent.12091
unix 2 [ ACC ] STREAM LISTENING 92694009 /tmp/ssh-XXh9XGbr/agent.8698
unix 2 [ ACC ] STREAM LISTENING 81133495 /tmp/ssh-XXDmIq9b/agent.12016
unix 2 [ ACC ] STREAM LISTENING 79908845 /tmp/ssh-XXQdvLRZ/agent.6977
unix 2 [ ACC ] STREAM LISTENING 92750135 /tmp/ssh-XXZB0WgT/agent.12261
unix 2 [ ACC ] STREAM LISTENING 79008760 /tmp/ssh-XXBUcdj0/agent.1858
unix 2 [ ACC ] STREAM LISTENING 63168651 /tmp/ssh-XXWMpf7m/agent.15903
unix 2 [ ACC ] STREAM LISTENING 77701101 /tmp/ssh-XXCzrctk/agent.30642
unix 2 [ ] DGRAM 92771322
unix 2 [ ] DGRAM 92768865
unix 2 [ ] DGRAM 92766548
unix 2 [ ] DGRAM 92766532
unix 2 [ ] DGRAM 92766219
unix 2 [ ] DGRAM 92763680
unix 3 [ ] STREAM CONNECTED 92763565
unix 3 [ ] STREAM CONNECTED 92763564
unix 4 [ ] STREAM CONNECTED 92763563
unix 3 [ ] STREAM CONNECTED 92763562
unix 2 [ ] DGRAM 92761037
unix 2 [ ] DGRAM 92758764
unix 2 [ ] DGRAM 92758519
unix 2 [ ] DGRAM 92755991
unix 2 [ ] DGRAM 92755270
unix 3 [ ] STREAM CONNECTED 92752664
unix 3 [ ] STREAM CONNECTED 92752663
unix 2 [ ] DGRAM 92750252
unix 2 [ ] DGRAM 92750221
unix 2 [ ] DGRAM 92749979
unix 2 [ ] DGRAM 92749666
unix 3 [ ] STREAM CONNECTED 92749605
unix 3 [ ] STREAM CONNECTED 92749604
unix 2 [ ] DGRAM 92749536
unix 2 [ ] DGRAM 92741708
unix 3 [ ] STREAM CONNECTED 92741540
unix 3 [ ] STREAM CONNECTED 92741539
unix 2 [ ] DGRAM 92741454
unix 2 [ ] DGRAM 92741344
unix 2 [ ] DGRAM 92738673
unix 2 [ ] DGRAM 92736191
unix 2 [ ] DGRAM 92733827
unix 2 [ ] DGRAM 92733182
unix 2 [ ] DGRAM 92731000
unix 3 [ ] STREAM CONNECTED 92728246
unix 3 [ ] STREAM CONNECTED 92728245
unix 2 [ ] DGRAM 92728127
unix 2 [ ] DGRAM 92727903
unix 2 [ ] DGRAM 92727776
unix 2 [ ] DGRAM 92722818
unix 2 [ ] DGRAM 92722773
unix 2 [ ] DGRAM 92722513
unix 2 [ ] DGRAM 92722505
unix 2 [ ] DGRAM 92722287
unix 2 [ ] DGRAM 92722172
unix 2 [ ] DGRAM 92720026
unix 2 [ ] DGRAM 92719843
unix 2 [ ] DGRAM 92717630
unix 2 [ ] DGRAM 92717565
unix 2 [ ] DGRAM 92717554
unix 2 [ ] DGRAM 92717493
unix 2 [ ] DGRAM 92717413
unix 2 [ ] DGRAM 92717054
unix 2 [ ] DGRAM 92715220
unix 2 [ ] DGRAM 92715210
unix 2 [ ] DGRAM 92715189
unix 2 [ ] DGRAM 92715177
unix 2 [ ] DGRAM 92715134
unix 2 [ ] DGRAM 92715110
unix 2 [ ] DGRAM 92715087
unix 2 [ ] DGRAM 92715017
unix 2 [ ] DGRAM 92713176
unix 2 [ ] DGRAM 92713082
unix 2 [ ] DGRAM 92713066
unix 2 [ ] DGRAM 92713030
unix 2 [ ] DGRAM 92711216
unix 2 [ ] DGRAM 92709405
unix 2 [ ] DGRAM 92709389
unix 3 [ ] STREAM CONNECTED 92693982
unix 3 [ ] STREAM CONNECTED 92693981
unix 3 [ ] STREAM CONNECTED 92690889
unix 3 [ ] STREAM CONNECTED 92690888
unix 2 [ ] DGRAM 92670574
unix 3 [ ] STREAM CONNECTED 92623113
unix 3 [ ] STREAM CONNECTED 92623112
unix 2 [ ] DGRAM 92589162
unix 3 [ ] STREAM CONNECTED 92528050 /tmp/orbit-emond/linc-7794-0-7405fe1531ac7
unix 3 [ ] STREAM CONNECTED 92528048
unix 3 [ ] STREAM CONNECTED 92528045 /tmp/orbit-emond/linc-779e-0-7f3b2c499cc1f
unix 3 [ ] STREAM CONNECTED 92528044
unix 3 [ ] STREAM CONNECTED 92528043 /tmp/orbit-emond/linc-779e-0-7f3b2c499cc1f
unix 3 [ ] STREAM CONNECTED 92528042
unix 3 [ ] STREAM CONNECTED 92528041 /tmp/orbit-emond/linc-779c-0-196cfd697733b
unix 3 [ ] STREAM CONNECTED 92528040
unix 3 [ ] STREAM CONNECTED 92528036 /tmp/orbit-emond/linc-779e-0-7f3b2c499cc1f
unix 3 [ ] STREAM CONNECTED 92528035
unix 3 [ ] STREAM CONNECTED 92528032 /tmp/orbit-emond/linc-7799-0-1be2c593d7c7
unix 3 [ ] STREAM CONNECTED 92528031
unix 3 [ ] STREAM CONNECTED 92528025 /tmp/orbit-emond/linc-7794-0-7405fe1531ac7
unix 3 [ ] STREAM CONNECTED 92528024
unix 3 [ ] STREAM CONNECTED 92528021 /tmp/orbit-emond/linc-779c-0-196cfd697733b
unix 3 [ ] STREAM CONNECTED 92528019
unix 3 [ ] STREAM CONNECTED 92528000 /tmp/orbit-emond/linc-7794-0-7405fe1531ac7
unix 3 [ ] STREAM CONNECTED 92527999
unix 3 [ ] STREAM CONNECTED 92527997 /tmp/orbit-emond/linc-7799-0-1be2c593d7c7
unix 3 [ ] STREAM CONNECTED 92527991
unix 2 [ ] DGRAM 92527982
unix 3 [ ] STREAM CONNECTED 92443299
unix 3 [ ] STREAM CONNECTED 92443298
unix 2 [ ] DGRAM 79067916
unix 3 [ ] STREAM CONNECTED 77997189
unix 3 [ ] STREAM CONNECTED 77997188
unix 3 [ ] STREAM CONNECTED 77777077
unix 3 [ ] STREAM CONNECTED 77777076
unix 3 [ ] STREAM CONNECTED 63168640
unix 3 [ ] STREAM CONNECTED 63168639
unix 3 [ ] STREAM CONNECTED 35616148
unix 3 [ ] STREAM CONNECTED 35616147
unix 3 [ ] STREAM CONNECTED 20677860
unix 3 [ ] STREAM CONNECTED 20677859
unix 2 [ ] DGRAM 244006
unix 2 [ ] DGRAM 2970
unix 2 [ ] DGRAM 2863
unix 2 [ ] DGRAM 2686
unix 2 [ ] DGRAM 1272
unix 2 [ ] DGRAM 1068
unix 2 [ ] DGRAM 1047
unix 2 [ ] DGRAM 1015

#################################################################################

Thx again!
 
Old 11-04-2004, 03:08 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
It doesn't look too bad to me. Your clients are only using 44 connections. and no client is using more than 2 connections:
netstat -an | grep ":143" | sort | cut -d: -f2 | uniq -c | sort
 
Old 11-05-2004, 07:02 AM   #5
cyberpuerka
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Thx for the tip, I should remember that its possible to filter the ouput via grep ... -_-'

Yep its true, that list shows there's no problem with IMAP...but this doesn't happen
always.

You know, now I'm a bit confused, check the output from the following commands:

#####################################################################################
## ps -def |grep imapd #
#####################################################################################
mgs 9619 12202 0 Nov04 ? 00:00:00 imapd
edutor 9635 12202 0 Nov04 ? 00:00:01 imapd
andoli 9906 12202 0 Nov04 ? 00:00:00 imapd
atokovin 10173 12202 0 Nov04 ? 00:00:00 imapd
atokovin 10244 12202 0 Nov04 ? 00:00:00 imapd
pastenv 10507 12202 0 Nov04 ? 00:00:00 imapd
leiva 10809 12202 0 Nov04 ? 00:00:00 imapd
zenteno 11206 12202 0 Nov04 ? 00:00:00 imapd
ramon 12124 12202 0 Nov04 ? 00:00:01 imapd
denise 15721 12202 0 Nov04 ? 00:00:00 imapd
rodolfo 17796 12202 0 Nov04 ? 00:00:00 imapd
brooke 19797 12202 0 Nov04 ? 00:00:01 imapd
walker 28651 12202 0 Nov04 ? 00:00:27 imapd
delgado 4057 12202 0 Nov04 ? 00:00:00 imapd
collao 25834 12202 0 07:58 ? 00:00:00 imapd
whiting 27638 12202 0 08:13 ? 00:00:00 imapd
omar 28072 12202 0 08:23 ? 00:00:00 imapd
steve 28269 12202 0 08:29 ? 00:00:01 imapd
steve 28337 12202 0 08:31 ? 00:00:03 imapd
petri 28338 12202 0 08:32 ? 00:00:00 imapd
edhuan 28382 12202 0 08:32 ? 00:00:00 imapd
nelson 28415 12202 0 08:33 ? 00:00:01 imapd
nelson 28416 12202 0 08:33 ? 00:00:00 imapd
rahmer 28450 12202 0 08:34 ? 00:00:00 imapd
rahmer 28451 12202 0 08:34 ? 00:00:00 imapd
jgallar 28452 12202 0 08:34 ? 00:00:01 imapd
rahmer 28484 12202 0 08:35 ? 00:00:02 imapd
ron 28486 12202 0 08:35 ? 00:00:00 imapd
ron 28615 12202 0 08:37 ? 00:00:00 imapd
opazo 28637 12202 0 08:37 ? 00:00:00 imapd
andoli 28674 12202 0 08:38 ? 00:00:00 imapd
marcela 28717 12202 0 08:39 ? 00:00:00 imapd
herreros 28800 12202 0 08:41 ? 00:00:00 imapd
opazo 28872 12202 0 08:43 ? 00:00:00 imapd
opazo 28873 12202 0 08:43 ? 00:00:00 imapd
mac 28976 12202 0 08:45 ? 00:00:00 imapd
ochoa 29069 12202 0 08:47 ? 00:00:00 imapd
samflo 29110 12202 1 08:48 ? 00:00:00 imapd

#####################################################################################
## netstat -an | grep ":143" | sort | cut -d: -f2 | uniq -c | sort #
#####################################################################################
1 143 0.0.0.0
1 143 133.220.1.139
1 143 133.220.3.100
1 143 133.220.3.103
1 143 133.220.3.104
1 143 133.220.3.15
1 143 133.220.3.156
1 143 133.220.3.162
1 143 133.220.3.164
1 143 133.220.3.212
1 143 133.220.3.22
1 143 133.220.3.89
1 143 133.220.4.107
1 143 133.220.4.43
1 143 133.220.4.65
1 143 133.220.4.75
1 143 133.220.5.12
1 143 133.220.5.22
1 143 133.220.5.28
1 143 133.220.5.29
1 143 133.220.6.19
1 143 133.220.7.77
2 143 133.220.17.57
2 143 133.220.3.206
2 143 133.220.3.96
2 143 133.220.4.44
2 143 133.220.4.70
2 143 133.220.5.15
3 143 133.220.4.104
4 143 133.220.3.163

By looking at the second list I would say that things look ok for the mail server, since, as you said
before, there are few connections being used. But looking at the first list I can see that there are
some impad process running since yesterday...

Now the question is...Am I mixing things? When we start having the "Too many imap connections"
problem the list of imapd process is really big. Aren't those older imapd process supposed to be
killed via some timeout? While searching the web, I found that everybody says that 30 minutes is
the standard time the server should wait before dropping an idling connection, but nobody says
(at least in the websites were I've been) where to set that option ... Where can I check if that
parameter is (properly?) configured?

Thx a ton!
 
Old 11-05-2004, 02:21 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
They connection probably isn't idle though - it is probably being used by a mail client that was left running.
 
Old 11-05-2004, 03:07 PM   #7
cyberpuerka
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Original Poster
Rep: Reputation: 0
So, in other words, my problem depends on the users closing their email clients?
They have this nasty habit of leaving email clients open (running) for days.

Seems I'll grab my AK-47 and start shooting some lazy users -_-'

Thx for your help david_ross!

PD: I've already done this...but...would you say there should be a problem if I just
kill the oldest imapd processes?, besides the fact i could mess an email that's being
sent at the time of the killing...
 
  


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
Imap 2000/Sendmail fatum112 Linux - Software 1 11-26-2005 04:36 AM
POP3, IMAP and sendmail issues crocks21 Linux - Software 3 06-04-2005 01:59 AM
Sendmail to Imap David@330 Linux - General 3 05-30-2005 01:17 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 08:01 PM
Sendmail -IMAP bally Linux - Networking 2 10-18-2003 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10: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
Open Source Consulting | Domain Registration