Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8107701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:51:57+00:00 2026-06-06T00:51:57+00:00

Error I have a web app with a mass uploader (Plupload) for photos and

  • 0

Error
I have a web app with a mass uploader (Plupload) for photos and when I upload say twenty photos, about six (around 30 %) will fail with an Internal Server Error. I have checked the Apache error.log for this domain and it has nothing new (I know I’m looking at the right error.log since older errors did show here).

This only happens on my VPS on Dreamhost (my hosting provider) servers while on my development server it runs silky smooth.

Oh, and things used to work just fine a month ago and then just started to fail. Back then I was using Uploadify and since that used Flash, it was impossible for me to debug where the upload failed.

Files and script
Uploaded files are photos, all about 100 kB big, even though I’ve successfully uploaded (and still can) 3 MB photos. My .htaccess naturally doesn’t change during uploads. On the server side is a PHP script that uses GD2 library to move and resize the photo.

Server state
I have recently upgraded my VPS from 300 to 400 MB of RAM. This thing used to work and I upgraded it just so that memory is ruled out as a reason. Also my memory limit for PHP is at 200 MB, so this should sufice.

I am getting mighty frustrated that Dreamhost does not want to help, stating that “we can not be responsible for an error your code causes” and “We still will not be able to assist you in debugging the issue unfortunately.”
It has been a week of sparse “support” while my app doesn’t work and my clients are frustrated.

Questions

  1. Is this kind of “You’re on your own” support a standard across the
    industry, i.e. would your host handle this differently?
  2. How exactly can I debug this?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T00:51:58+00:00Added an answer on June 6, 2026 at 12:51 am

    I’m going to assume that you have a standard Apache + PHP setup. One possible configuration is the pre-forked setup; in this case Apache will adapt to system load by forking more children of itself.

    With only 400 MB of RAM you’re pretty tight, so if you’re running 20 processes that each take 200MB (assuming every process handles pretty big files using GD) you’re getting into some hot waters with the memory manager.

    I would reduce the total number of instances to 2 first to see how this will go; also keep an eye on the memory usage by running top.

    Regardless, it might be beneficial for you to run a separate task manager such as Gearman to perform resize tasks so that the upload only has to focus on moving the uploaded file and run the resize task; this way you can greatly reduce the memory required to run your PHP instances.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have seen this error around the web a couple times and yet i
I have an web app running on lets say following IP : 10.101.10.101 .
I have a web app that has to do something every, let's say first
I have a web app I'm building that has about 50 forms. I have
I'm struggling with an odd error. I have a simple web app that grabs
I have this error appearing in my web service and even though I'v had
I have downloaded a web project from CodePlex and am getting the following error
I have the following error with my ASP.NET web site. I have just moved
I have a web App running and I want to access the sql db
I have a web app with a form that I am trying to pass

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.