redmine:email:receive_pop3 uses 100% cpu
Added by Krzysztof K over 4 years ago
Hi,
The command below create issues in the Redmine using fetched e-mail messages. The problem is this process uses 100% cpu for about 2 minutes which blocks the whole VPS as is the only one vCPU. Is there any way to resolve this?
bundle exec rake -f "$REDMINE_PATH"/Rakefile redmine:email:receive_pop3 RAILS_ENV="production" host="$HOST" ssl=SSL port="$PORT" username="$MAIL_USERNAME" password="$MAIL_PWD" project="$PROJECT" priority="Normalny" unknown_user=ignore --trace
system info:
Replies (1)
RE: redmine:email:receive_pop3 uses 100% cpu
-
Added by Krzysztof K over 4 years ago
It turned out there was a problem with the VPS instance itself. After it was resolved the e-mail reciving task takes 10 seconds instead of 2 minutes. Even though this is less interruptive than before I use the /usr/bin/nice program with parameter 19 to definetly get rid of the issue.