Click to See Complete Forum and Search --> : urgent help needed


webpit
05-09-2005, 09:53 PM
I conceded defeat.

I have been so far unable to get a php website to be robust and high performance.

I have tried everything i know how to do.

Including:

Mirrored scsi raid system
Apache 2.0/Linux (Fedora)
Apache/Windows - yuck didnt work very good at all
IIS/Windows 2003 (runs best here so far under fastcgi/IIS)

(about 350+ concurrent users)

80 percent php
images
some static html
a couple 500k+ files

The problems we have are:

Under linux, system creeps to max memory and crashes linux. Apache stops responding. This is using php4xxx.so shared object.

Installed on windows, runs best so far here but has started its act again. crashing or stopped responding.

If you are in the dallas area and are looking for work, PM me. need dallas area tech to go in, reconfigure / reinstall linux and set us up with robust possibly fastcgi setup.

thorpe
05-09-2005, 10:12 PM
i would be more inclined to start looking at your code.

webpit
05-09-2005, 10:59 PM
Originally posted by thorpe
i would be more inclined to start looking at your code.

right. me too [not my code thank god].

but mgmt will not subscribe to the precedent that programmers can make lousy code and that in turn makes for a lousy website.

if you were to look at this code you would probably go out side and smack yourself with a 2x4 to see if you were indeed having a nightmare.

justsomeone
06-03-2005, 05:42 AM
You've already been down the "buy more iron" road and gotten nowhere. You must now look at the code. You have poorly designed software which needs to be optimised.

If the code you are running is full of any of memory leaks, bad locking, malformed remote requests, malformed SQL calls, unessecary system calls, wasteful data structures, unnessecary logging, etc etc etc then the code will continue to chew up any resources thrown at it. I have to say that I've never worked anywhere where management failed to grasp this concept.

Maybe you need to use the analogy of carrying water in a colander. The water's going to spill out through the holes. Adding more hardware to raise the sides of the colander isn't going to help. The water is still going to spill out eventually. What you need to do is to plug the holes.

There are countless operations out there which run much larger sites on LAMP architecture.