[phpa] Re: [Gallery-users] Complete Server Crash & Hang
- From: "Bharat Mediratta" <bharat@xxxxxxxxxxx>
- To: "Edward Wildgoose" <Edward.Wildgoose@xxxxxxxxxxxx>,<phpa@xxxxxxxxxxxxx>, <gallery-users@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 7 Jun 2002 21:57:10 -0700
From: "Edward Wildgoose" <Edward.Wildgoose@xxxxxxxxxxxx>
>
> This is a bit of a long shot. I have been using "Gallery", a
> picture gallery app on my linux webserver, and have been finding
> that uploading medium sized batches of photos (40 or so) is causing
> the whole server to die.
>
> Now bit of a long shot here, because this is clearly a nasty
> interaction between kernel and something else, but just wondered
> if anyone had seen anything similar.
>
> Symptoms are that the machine seems to still be alive, all network
> connections stay alive, but no new ones can be made. Even more
> bizarelly if you have a shell open, you can type, but pushing
> return hangs the shell, no more response. I have VNC open and I
> can still move windows around, but can't fire up any new ones,
> and as I push return in each shell it dies. Even switching to a
> console session shows the same behaviour, ie press return, console
> dies.
This may not be a kernel thing. From the sounds of it, it's
possible that you've consumed all of your system resources and
it's no longer possible to even fork a new process. Check your
/var/log/dmesg, /var/log/messages logfiles to see if there's
anything informative in there. Check your Apache error log, too,
there might be something in there also. Start up "top" before
you do the upload and monitor the system status during the upload.
You might also want to run "vmstat 5" also to get an idea of your
resource consumption.
If none of those give you a clue (ONE of them should, or your
logging isn't really good enough .. right?) try turning off PHPA
and trying again to at least eliminate one group from this
thread :-D
-Bharat
------------------------------------------------------------------------
www.php-accelerator.co.uk Home of the free PHP Accelerator
To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
Other related posts:
- » [phpa] Re: [Gallery-users] Complete Server Crash & Hang