I'm currently working on a php project which I have recently loaded onto the production server. This server hosts several websites (19); my project is only related to one of these. Since I've uploaded this code, their server has crashed repeatedly, after never crashing my development machine. The owner thinks these crashes are related to my code, but admit that it could also be caused by a large increase in traffic over the last few days. Now, all I'm able to really know is my code (written in php). I would nearly guarantee that my code is not causing the problem. The only way, I would say, that it could be doing it would be an over load of the connections to the MySQL server.
What I'm looking for is the opinion of someone with more experience administering servers. Is traffic the most likely cause of the problem?
Thanks,
Josh
On Wed, 2005-02-16 at 08:09 -0600, Charles, Joshua Micah (UMKC-Student) wrote:
What I’m looking for is the opinion of someone with more experience administering servers. Is traffic the most likely cause of the problem?
What is the hardware of the server, when and how frequently are the crashes. What happens when it crashes...kernel panic, just locks up and logging stops? What OS is running on the server? How much traffic are we talking about? Any idea on number of hits? Is there an increase in hits right before the crash?
Sorry for all the questions, but they are needed to take a stab at this.
Brad
On Wed, Feb 16, 2005 at 08:09:36AM -0600, Charles, Joshua Micah (UMKC-Student) wrote:
What I'm looking for is the opinion of someone with more experience administering servers. Is traffic the most likely cause of the problem?
How about logs? I had an issue with PHP and Drupal's modules page. I could never get it to open. I finally checked the logs and had to increase memory usage to 64M, rather than the 8M default.
Anywho, logs would be a good place to start. Is your PHP app a db-intensive or CPU/RAM-intensive project?
Jeremy
Logs can tell you a lot, see if they have the sysstat package installed, sar can provide you with a lot of information about the usage of resources on the machine.
On Wed, 16 Feb 2005 20:18:38 -0600, Jeremy Turner [email protected] wrote:
On Wed, Feb 16, 2005 at 08:09:36AM -0600, Charles, Joshua Micah (UMKC-Student) wrote:
What I'm looking for is the opinion of someone with more experience administering servers. Is traffic the most likely cause of the problem?
How about logs? I had an issue with PHP and Drupal's modules page. I could never get it to open. I finally checked the logs and had to increase memory usage to 64M, rather than the 8M default.
Anywho, logs would be a good place to start. Is your PHP app a db-intensive or CPU/RAM-intensive project?
Jeremy _______________________________________________ Kclug mailing list [email protected] http://kclug.org/mailman/listinfo/kclug