Forums | Mahara Community

Support /
php CPU 100%


anonymous profile picture
Account deleted
Posts: 20

30 January 2012, 9:49

Hi All,

   Has anybody come accross this before, php process seems to be running the CPU on my VM at 100% when I strace -p the PID I get the output below repeating

stat("/usr/share/maharaNew/artefact/file/resized/e/c/8", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0getdents(4, /* 0 entries */, 32768)     = 0close(4)                                = 0stat("/usr/share/maharaNew/artefact/file/resized/e/c/8/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0open("/usr/share/maharaNew/artefact/file/resized/e/c/8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4fcntl(4, F_SETFD, FD_CLOEXEC)           = 0

Anybody any ideas as to what is wrong?

Thanks,

Tom 

anonymous profile picture
Account deleted
Posts: 20

30 January 2012, 10:01

Hi All,

    I have fixed this.

    I tried stopping the server, cron and database all of which left the PIDs running. But then I tried stopping the cron and killing the PID and restarting cron and the result so far has been the high CPU values have not returned. So I guess the cron had got in a mess.

    Hope this is of help to anybody who gets in a similar situation.


Cheers,

Tom 

2 results