Uploading Files

Discussion in 'Bug Reports' started by Channel_Cat, Oct 11, 2004.

  1. Channel_Cat

    Channel_Cat Member

    I'm running an art site, www.sheezyart.com, and some people when uploading get a 503 error, while others don't:

    503 Service Unavailable
    The server is temporarily busy, try again later!
    Powered By LiteSpeed Web Server

    I looked up the error on google, but that wasn't much help. Any suggestions?
  2. Lauren

    Lauren LiteSpeed Staff Staff Member

    Do they constantly get 503 error or randomly? during busy hour only? Any thing logged in the error log? Is "post_max_size" in php.ini large enough?
    If you don't mind please post your phpFcgi configuration.

    Best regards,
  3. Channel_Cat

    Channel_Cat Member

    The error log is completely empty. They get this all times when posting, while others do not. Post_Max_Size is set to 20M, so there's no problem there.


    I think the person is still able to post, but when he goes to get a response, the browser gives a 503 error. I'll try to get more information.

    Thank you,
    Channel Cat
  4. Lauren

    Lauren LiteSpeed Staff Staff Member

    Do you mean that the picture got posted actually, just he got a 503 error page? May be the PHP process crashed during post processing?
    If possible, please setup another virtual host on a different port, enable debug logging for that virtual host, reproduce the bug and send us the log file. It probably is the best way to identify and fix the problem.

    Maybe you should upgrade to PHP 4.3.9 with GD 2.0.28. :)

  5. ChannelCat

    ChannelCat Member

  6. mistwang

    mistwang LiteSpeed Staff

    Channel Cat,

    We have no problem with uploading that image onto one of our server.
    Is there any operations on the image after it is uploaded, like creating thumbnail with GD, etc? I think PHP crashed during one of the operation, you probably need to write simple PHP testing code to find out the exact problem, start without any additional processing, then add one operation at a time.

    Please let us know what exactly cause the problem after you find the answer. :)

  7. ChannelCat

    ChannelCat Member

    Sounds like a good idea, I'll give ita try. The only reason i thought it might crash on yours too is because apache handles it fine, although i have different PHP/GD Image versions. I'll upgrade the PHP and GD image version.

Share This Page