Hi!

On OTRS 5.0.X (running 5.0.3) MailAccountFetch is getting locked after a while.
Looking at the Daemon summary we see it running for minutes or hours without fetching new messages and not closing connection to our mail server (netstat shows an open connection).

---------------------------------------

sudo -u wwwrun /srv/otrs/bin/otrs.Console.pl Maint::Daemon::Summary

  Handled Worker Tasks:
     NAME                                     TYPE                 NID  PID       DURATION
     MailAccountFetch                         Cron                 001  00014971  9.8 Minute(s)


netstat -apn | grep XXX.XXX.XXX.XXX
tcp        0      0 192.168.100.4:58715     XXX.XXX.XXX.XXX:993      ESTABLISHED 16218/perl

---------------------------------------

And also, after stoping Daemon one process still running.

sudo -u wwwrun /srv/otrs/bin/otrs.Daemon.pl stop
otrs.Daemon.pl - the otrs daemon
Copyright (C) 2001-2015 OTRS AG, http://otrs.com/

Daemon stopped

ps aux | grep otrs
wwwrun   16218  0.0  1.2 151564 52436 ?        S    Nov19   0:00 /usr/bin/perl -X /srv/otrs/bin/otrs.Daemon.pl start

Thanks.
-- 
[ ]'s
Aledr - Alexandre