• Hi,

    I have been having server crashing problems on my website for Online Shopping Australia . It keeps crashing for some reason. As I am new to this world of websites I dont know if I’m creating an infinite loop and maybe thats why the server keeps crashing. I recently upgraded to allocate more memory to it too and that did sort the problem out but after 2-3 weeks now it ends up crashing after every few hours even though I’ve not added anything after allocating new RAM

    PLEASE could someone help!! Below is my php.ini file

    date.timezone = "Australia/Melbourne"
    disable_functions = show_source, passthru, exec, popen, proc_open, allow_url_fopen
    memory_limit = 256M
    max_execution_time = 3600magic_quotes_gpc = on
    magic_quotes_runtime = off
    max_input_time = 60
    upload_max_filesize = 40M
    post_max_size = 40M
    extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626"
    realpath_cache_size = 64K
    realpath_cache_ttl = 120
    register_globals = off
    zend_extension = "/usr/local/IonCube/ioncube_loader_lin_5.3.so"
    extension = suhosin.so
    suhosin.executor.include.max_traversal = 6
    suhosin.apc_bug_workaround = On
    suhosin.memory_limit = 256
    suhosin.upload.disallow_elf = On
    suhosin.post.max_vars = 2000
    suhosin.request.max_vars = 2000
    suhosin.log.syslog.facility = 9
    suhosin.log.use-x-forwarded-for = Off

    THANKS!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You need to fix this line:

    max_execution_time = 3600magic_quotes_gpc = on

    Those two directives are hashed together and should be on separate lines. Look at http://www.livepricecompare.com.au/phpinfo.php and look for max_execution_time and you’ll see what I mean.

    Probably not the entire problem but a good starting point.

    Thread Starter nebuloushomosapien

    (@nebuloushomosapien)

    Okay I understand where you are coming from… and you may be right as to this might be the ONLY problem becuase i’ve tried to change numbers on this file before and didnt save a back up// what would u suggest the max_execution_time to be?

    Thanks for your REPLY

    3600 is way too high. Most servers by default set it at 30. You can bump it to 60 if you are having issues (a lot of hosts cap it at 60 for security reasons).

    You need to check your server error log and run WP in debug mode for any clues as to the crashing. Your site is currently not loading so I can’t look over the rest of your php settings.

    Thread Starter nebuloushomosapien

    (@nebuloushomosapien)

    Yup Ive dont that now… thanks CEDAR!! you are THE MAN!

    ITs up and running now if you still wanna have a look at it

    Thanks DUDE!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Server Crashing’ is closed to new replies.