SuiteCRM 7.1 / cron.php hangs forever, using >70% cpu

Hi all,

on a vanilla install of SuiteCRM 7.1 (no updating, this was a first install) on a Linux box, the cronjob hangs. And does something, as it uses up >70% of the server’s cpu:


  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
25646 cron-arc  20   0  495m 229m 9112 S   71  1.9 149:07.28 php  

The cron job is run by user cron-archivator with

cd /home/archivator/htmls/suitecrm7.1.0; php -f cron.php

attached, please find (the terminal session including) a lsof of the process id in question.

I could not find any lines relating to today in sugarcrm.log.

with find, I only found 1 file that cron.php seems to have created.

Funny thing is, when I switch to user cron-archivator (where that cron job runs) unteractively and run cron.php from the commandline, it finishes after 1 second. Error code is 0, so it seems everything went ok.

Do you have any suggestions how to enable debugging or get logging out of cron.php?
Do you have any ideas as to why this could be happening?

Thanks so much!

Don

Hi there,

What is your OS/Server/MySQL/PHP setup? You state you are running linux. In this case your permissions/owner/group are incorrect. Please correct me if I’ve misunderstood.

Thanks,

Will.