File Upload = PHP + Apache Hang = Need reboot

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
leea
Forum Newbie
Posts: 9
Joined: Tue May 16, 2006 10:40 pm

File Upload = PHP + Apache Hang = Need reboot

Post by leea »

Im having this nasty problem. I have a few hundred people using my site.

Basically it handles the uploads of documents size = 100kb-2mb.

It works for 95+% of the time. But eventually, it hangs (when someone is uploading), and then no one on the network can access the PHP site(view any page on the server).

Restarting apache wont fix the problem but rebooting the server does.

You can then upload the exact file and it will work flawlessly and wont have any effect on the PHP server.

I think it might be because people are force closing the window while the file is uploading.

Any ideas would be beneficial


Machine info (can offer more if needed)...
WinXP, Apache, MySQL, PHP5, CakePHP, lots of RAM/Space,
Using Sessions, cookies, ldap, commandline imagemagick (have to use proprietry image formats)
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: File Upload = PHP + Apache Hang = Need reboot

Post by Christopher »

Use Linux instead of Windows XP. It honestly sounds like an OS problem. Linux is free. Installation of LAMP is easy, well documented and there is lots of support on the web. There is very little stopping you from trying it.
(#10850)
leea
Forum Newbie
Posts: 9
Joined: Tue May 16, 2006 10:40 pm

Re: File Upload = PHP + Apache Hang = Need reboot

Post by leea »

Hmm. I forgot to mention that its a virtual server.

Im so darn limited by IT with what I can use in regards to platform.

Maybe i can find an old machine and linuxerise it.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: File Upload = PHP + Apache Hang = Need reboot

Post by Christopher »

You might mention to them that only very recently has Microsoft release the necessary information for Zend/PHPGroup to make PHP truly stable on Windows.
(#10850)
Post Reply