Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
We have 2 almost identical servers running uptodate Centos 4.x. One seems to be having stability issues with PHP (4.3.9).
We can't find any difference between the two systems. On one we have client reports of PHP having issues and we are experiencing random errors running Cacti - after a random time it will simply log us out.
Are there some PHP load/stress testing applications/scripts to see if our PHP install is stable? Or where might we begin to troubleshoot how our php install is causing issues?
Yeah I've closely compared and matched up the php.ini, httpd.conf and the my.cnf on the dodgy machine and still the same issues occur. I've also tried removing the php modules and still have the issue.
The session.save_path appears readable as it is full of sess_.. files from today.
One slight difference is the following
apache module mod_webapp
Anyone know what it does? Is it needed? (XSTL wouldn't be needed would it - that isn't on the faulty machine)
Unless you're using some form of XML transformations using PHP, I can't imagine that XSLT would be needed.
As for mod_webapp, it looks to be a sort of HTTP stack between Apache and Tomcat. If you're not using Java on your servers, I'd disable it.
PHP 4.3 is quite dated now (in fact PHP4 will be end-of-life'd by the end of the year.)
Try the latest version of PHP4 - 4.4.7, and get your application in testing/development for PHP5.
Also turn on PHP debugging to log to a file, and when the application logs you out/stops doing what it should, check the debug logs and your Apache error logfile.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.