Bug #60873

omoff do not fully stop IMAP process

Added by Dmitry Kislitsyn 9 months ago. Updated 9 months ago.

Status:NewStart date:01/30/2017
Priority:NormalDue date:
Assignee:ServerDevsGroup% Done:
0%
Category:Scalix Server
Target version:Scalix 12.6
Operation System:Rhel 6
Milestones: Scalix 12.6 release

Description

How to reproduce:

omoff -d0 imap

result:

[root@mail g00006i]# omoff -d0 imap
Disabling 1 subsystem(s).
[root@mail g00006i]#
[root@mail g00006i]# omstat -a
PC Monitor                    Started        NON-STOP       0
Directory Relay Server        Started        13:24:39       
Notification Server           Started        13:24:39       0
Shared memory daemon          Started        NON-STOP       
Notification Monitor          Started        NON-STOP       
Session Monitor               Started        NON-STOP       
Indexer                       Started        NON-STOP       
Stats Daemon                  Started        NON-STOP       
Container Access Monitor      Started        NON-STOP       
Item Structure Server         Stopped        12.04.14       
Database Monitor              Started        13:24:39       
Licence Monitor Daemon        Started        NON-STOP       
LDAP Daemon                   Started        13:24:39       
Queue Manager                 Started        NON-STOP       
Item Delete Daemon            Started        NON-STOP       
IMAP Server Daemon            Stopped        13:28:49       
SMTP Relay                    Started        13:24:39       
Mime Browser Controller       Started        13:24:39       
Event Server                  Started        13:24:39       
Milter Server                 Started        13:24:39       
Free Busy Service             Started        13:24:39       0
[root@mail g00006i]#

Issue:

[root@mail g00006i]#
[root@mail g00006i]# netstat -nap|grep -i imap
tcp        0      0 64.186.2.9:143              64.186.2.9:34308            ESTABLISHED 22416/in.imap41d SA 
tcp        0      0 64.186.2.9:143              64.186.2.9:36002            ESTABLISHED 24500/in.imap41d SA 
tcp        0      0 64.186.2.9:143              64.186.2.9:55620            ESTABLISHED 21338/in.imap41d SA 
tcp        0      0 64.186.2.9:143              64.186.2.9:36332            ESTABLISHED 24848/in.imap41d SA 
tcp        0      0 64.186.2.9:143              64.186.2.9:35586            ESTABLISHED 24058/in.imap41d SA 
tcp        0      0 64.186.2.9:143              64.186.2.9:35950            ESTABLISHED 24455/in.imap41d SA 
tcp        0      0 64.186.2.9:143              64.186.2.9:35674            ESTABLISHED 24368/in.imap41d SA 
tcp        0      0 64.186.2.9:143              64.186.2.9:34272            ESTABLISHED 22333/in.imap41d SA 
tcp        0      0 64.186.2.9:143              64.186.2.9:33584            ESTABLISHED 21581/in.imap41d SA 
tcp        0      0 64.186.2.9:143              64.186.2.9:55618            ESTABLISHED 21319/in.imap41d SA 
unix  2      [ ACC ]     STREAM     LISTENING     439898353 21459/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.149
unix  2      [ ACC ]     STREAM     LISTENING     440100775 24524/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-admin.24524
unix  2      [ ACC ]     STREAM     LISTENING     439898356 21459/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-admin.21459
unix  2      [ ACC ]     STREAM     LISTENING     440100772 24524/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.175
unix  2      [ ACC ]     STREAM     LISTENING     440098264 24448/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-admin.24448
unix  2      [ ACC ]     STREAM     LISTENING     439896924 21448/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-admin.21448
unix  2      [ ACC ]     STREAM     LISTENING     440084741 24118/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-admin.24118
unix  2      [ ACC ]     STREAM     LISTENING     440005451 22460/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.169
unix  2      [ ACC ]     STREAM     LISTENING     440005454 22460/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-admin.22460
unix  2      [ ACC ]     STREAM     LISTENING     439995264 22350/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.146
unix  2      [ ACC ]     STREAM     LISTENING     439898665 21503/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.212
unix  2      [ ACC ]     STREAM     LISTENING     439898669 21503/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-admin.21503
unix  2      [ ACC ]     STREAM     LISTENING     439896919 21448/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.219
unix  2      [ ACC ]     STREAM     LISTENING     440084738 24118/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.189
unix  2      [ ACC ]     STREAM     LISTENING     439995267 22350/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-admin.22350
unix  2      [ ACC ]     STREAM     LISTENING     440098255 24448/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.185
unix  3      [ ]         STREAM     CONNECTED     440118901 21448/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.219
unix  3      [ ]         STREAM     CONNECTED     440118900 24848/in.imap41d SA 
unix  3      [ ]         STREAM     CONNECTED     440100777 24524/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.175
unix  3      [ ]         STREAM     CONNECTED     440100774 24500/in.imap41d SA 
unix  3      [ ]         STREAM     CONNECTED     440099263 24448/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.185
unix  3      [ ]         STREAM     CONNECTED     440099262 24455/in.imap41d SA 
unix  3      [ ]         STREAM     CONNECTED     440096469 21503/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.212
unix  3      [ ]         STREAM     CONNECTED     440096468 24368/in.imap41d SA 
unix  3      [ ]         STREAM     CONNECTED     440084743 24118/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.189
unix  3      [ ]         STREAM     CONNECTED     440084740 24058/in.imap41d SA 
unix  3      [ ]         STREAM     CONNECTED     440005456 22460/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.169
unix  3      [ ]         STREAM     CONNECTED     440005453 22416/in.imap41d SA 
unix  3      [ ]         STREAM     CONNECTED     439997994 22350/in.imap41d CO 
unix  3      [ ]         STREAM     CONNECTED     439995269 22350/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.146
unix  3      [ ]         STREAM     CONNECTED     439995266 22333/in.imap41d SA 
unix  3      [ ]         STREAM     CONNECTED     439903064 21459/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.149
unix  3      [ ]         STREAM     CONNECTED     439903063 21581/in.imap41d SA 
unix  3      [ ]         STREAM     CONNECTED     439898358 21459/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.149
unix  3      [ ]         STREAM     CONNECTED     439898355 21338/in.imap41d SA 
unix  3      [ ]         STREAM     CONNECTED     439896926 21448/in.imap41d CO /var/opt/scalix/ml/s/temp/imap-core.219
unix  3      [ ]         STREAM     CONNECTED     439896923 21319/in.imap41d SA
[root@mail g00006i]#
[root@mail g00006i]#
[root@mail g00006i]# ps auxf|grep -i imap
root     28293  0.0  0.0 103312   888 pts/0    S+   13:30   0:00  |       \_ grep -i imap
55066    21319  0.3  0.0  35408  7660 ?        Ss   13:24   0:01 in.imap41d SATELLITE-1
55066    21448  0.4  0.0  37952  7680 ?        S    13:24   0:01  \_ in.imap41d CORE
55005    21338  0.8  0.1  41156 13320 ?        Ss   13:24   0:02 in.imap41d SATELLITE-1
55005    21459  7.6  0.1  42784 12576 ?        S    13:24   0:27  \_ in.imap41d CORE
55060    21503  0.1  0.0  37384  7156 ?        S    13:24   0:00 in.imap41d CORE
55005    21581  0.3  0.1  40956 12792 ?        Ss   13:25   0:01 in.imap41d SATELLITE
55002    22333  0.3  0.0  33260  5420 ?        Ss   13:26   0:00 in.imap41d SATELLITE-1
55002    22350  0.0  0.0  37088  6336 ?        S    13:26   0:00  \_ in.imap41d CORE
55025    22416  0.3  0.0  33968  6124 ?        Ss   13:26   0:01 in.imap41d SATELLITE-1
55025    22460  0.0  0.0  37108  6332 ?        S    13:26   0:00  \_ in.imap41d CORE
55044    24058  0.5  0.0  33596  5896 ?        Ss   13:27   0:01 in.imap41d SATELLITE-1
55044    24118  0.1  0.0  37164  6824 ?        S    13:27   0:00  \_ in.imap41d CORE
55060    24368  0.7  0.0  36584  6160 ?        Ss   13:28   0:01 in.imap41d SATELLITE
55041    24448  0.1  0.0  37008  6268 ?        S    13:28   0:00 in.imap41d CORE
55041    24455  0.7  0.0  34132  6220 ?        Ss   13:28   0:01 in.imap41d SATELLITE
55031    24500  0.7  0.0  34080  6104 ?        Ss   13:28   0:01 in.imap41d SATELLITE-1
55031    24524  0.1  0.0  37004  6248 ?        S    13:28   0:00  \_ in.imap41d CORE
55066    24848  0.9  0.1  35984  8144 ?        Ss   13:28   0:01 in.imap41d SATELLITE

Expected result:
All the processes are stopped or forced to stop/kill

Also available in: Atom PDF