white screen trying to view schedulled tasks



  • Hello,
    When I want to check schedulled tasks, I get a white screen.
    In same time, httpd process go to 100%cpu on the server…

    memory_limit is set at 1024M in php.ini

    Could you help me ?

    Arnaud



  • Here are the log when I try to list scheluded tasks
    in /var/log/httpd/ssl_error_log

    [Mon Jun 04 08:24:48 2018] [error] [client 192.168.1.10] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogcron.class.php on line 95, referer: https://fogus.univ-rennes1.fr/fog/management/index.php?node=task&sub=active
    [Mon Jun 04 08:27:09 2018] [error] [client 192.168.1.10] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogcron.class.php on line 95, referer: https://fogus.univ-rennes1.fr/fog/management/index.php?node=task&sub=active
    [Mon Jun 04 08:36:00 2018] [error] [client 192.168.1.10] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogcron.class.php on line 95, referer: https://fogus.univ-rennes1.fr/fog/management/index.php?node=task&sub=active
    [Mon Jun 04 08:47:45 2018] [error] [client 192.168.1.10] PHP Warning:  trim() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/fogbase.class.php on line 1316, referer: https://fogus.univ-rennes1.fr/fog/management/?node=task&sub=active
    [Mon Jun 04 14:10:47 2018] [error] [client 192.168.1.10] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogcron.class.php on line 54, referer: https://fogus.univ-rennes1.fr/fog/management/index.php?node=task&sub=active
    [Mon Jun 04 14:11:18 2018] [error] [client 192.168.1.10] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogcron.class.php on line 86, referer: https://fogus.univ-rennes1.fr/fog/management/index.php?node=task&sub=active
    [Mon Jun 04 14:29:39 2018] [error] [client 192.168.1.10] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogcron.class.php on line 86, referer: https://fogus.univ-rennes1.fr/fog/management/index.php?node=task&sub=active
    [Mon Jun 04 15:18:51 2018] [error] [client 192.168.1.10] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogcron.class.php on line 86, referer: https://fogus.univ-rennes1.fr/fog/management/index.php?node=task&sub=active
    

    Arnaud


  • Moderator

    @lebrun78 The white screen typically means that php (fog programming code) is having an issue. Please inspect your apache error file /var/log/http/error.log (I believe on centos 6.8).

    Also php-fpm doesn’t run so good on centos 6.8. You can make it work, but you have to adjust a few things. FOG 1.4.4 is very stable running on php powered by apache.


  • Moderator

    @lebrun78 1.4.4 FOG installer doesn’t have support for PHP-FPM on Rhel based systems (or if it does, it’s missing fixes introduced later afaik).

    It should be possible to get it sorted manually, something like this:

    https://forums.fogproject.org/topic/10717/can-php-fpm-make-fog-web-gui-fast



  • Yes I’m still on 1.4.4 with my server on production.
    Is PHP-FPM available only on newer version ?


  • Moderator

    Is your FOG version still 1.4.4 as per your signature?

    FOG uses PHP-FPM by default now which should help a lot for these kind of problems.


Log in to reply
 

495
Online

6.2k
Users

13.6k
Topics

128.3k
Posts