can't upload big snapin



  • Server
    • FOG Version: 1.3.3
    • OS: centos 6.4
    Description

    i can deploy now snapins without any problem
    i have a really big snapin, 8gb
    i’ve changed the /etc/php.ini the post_max_size to 9000 and also the upload_max_file_size to 9000
    and i can see that in the web gui that the limit is really changed from 3000 to 9000
    but when i try to upload the file, i get http error 500

    BTW: i’m trying to upload it from the same physical machine (different virtual machine), using Chrome browser it take something lilke 2 minutes.

    so what could be the problem?
    thanks


  • Moderator

    @oraniko sweet. See just a little knowledge (where to look) grants great power.



  • @george1421 thanks!
    i look into the apache error log file and it help me to figure out what’s the problem.
    this is the error
    all i had to do is change the /etc/php.ini file
    change max_execution_time from 30 to 300
    and it’s all work now :)

    PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/pages/snapinmanagementpage.class.php on line 652, referer: http://132.70.33.80/fog/management/index.php?node=snapin&sub=add```

  • Moderator

    @oraniko I don’t have an immediate answer for you, but can you tail the apache error log tail /var/log/http/error_log


Log in to reply
 

360
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.