IMAP service takes a lot to restart

albatroz

Well-Known Member
Mar 6, 2003
401
6
168
Virtual Orbis / Peru
cPanel Access Level
Root Administrator
Twitter
My server is suddenly showing loads of
but when I try to restart the IMAP services
they take a lot to restart and the following error is shown in WHM


Cpanel::Exception::Timeout/(XID x3ufjj) The system failed to lock the file “/var/run/restartsrv_dovecot” after 197 seconds. at /usr/local/cpanel/Cpanel/SafeFile.pm line 735. Cpanel::SafeFile::_timeout_exception("/var/run/restartsrv_dovecot", 197) called at /usr/local/cpanel/Cpanel/SafeFile.pm line 766 Cpanel::SafeFile::_die_if_file_is_flocked_cuz_already_waited_a_while("/var/run/restartsrv_dovecot", 197) called at /usr/local/cpanel/Cpanel/SafeFile.pm line 834 Cpanel::SafeFile::_lock_wait("/var/run/restartsrv_dovecot") called at /usr/local/cpanel/Cpanel/SafeFile.pm line 355 Cpanel::SafeFile::_safelock("/var/run/restartsrv_dovecot") called at /usr/local/cpanel/Cpanel/SafeFile.pm line 558 Cpanel::SafeFile::_safe_open(undef, ">>", "/var/run/restartsrv_dovecot", CODE(0xba6e70), "safeopen") called at /usr/local/cpanel/Cpanel/SafeFile.pm line 115 Cpanel::SafeFile::safeopen(undef, ">>", "/var/run/restartsrv_dovecot") called at /usr/local/cpanel/Cpanel/RestartSrv/Lock.pm line 27 Cpanel::RestartSrv::Lock::new("Cpanel::RestartSrv::Lock", "dovecot") called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 185 Cpanel::ServiceManager::Base::lock(Cpanel::ServiceManager::Services::Dovecot=HASH(0x1e1edb0)) called at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 461 Cpanel::ServiceManager::Base::BUILD(Cpanel::ServiceManager::Services::Dovecot=HASH(0x1e1edb0), HASH(0xb87be0)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Cpanel/Class/Object.pm line 49 Cpanel::Class::Object::BUILDALL(Cpanel::ServiceManager::Services::Dovecot=HASH(0x1e1edb0), HASH(0xb87be0)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Cpanel/Class/Object.pm line 41 Cpanel::Class::Object::new("Cpanel::ServiceManager::Services::Dovecot", "service", "dovecot") called at /usr/local/cpanel/Cpanel/ServiceManager.pm line 106 Cpanel::ServiceManager::new("Cpanel::ServiceManager", "service", "dovecot") called at bin/restartsrv_base.pl line 84 scripts::restartsrv_base::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 99 eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 90 Try::Tiny::try(CODE(0x1e1e870), Try::Tiny::Catch=REF(0xb6e878)) called at bin/restartsrv_base.pl line 136 scripts::restartsrv_base::run("--html", "--wait", "--verbose") called at bin/restartsrv_base.pl line 33
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,272
313
Houston