I installed apache + mysql + php. At first glance everything runs ok. The problem is: During testing simple php website from my local server the longer I work the slower firefox operates or even freeze totally. After firefox restart and httpd stop everything backs to normal operating state (particularly memory and CPU usage that was been used twice of normal level). I've been searching a proper solution for two days seeing many potential causes but I can't fix it. Did anybody do?
Some configuration steps I did: in /etc/httpd/conf/httpd.conf:
Listen: 127.0.0.1:80 ServerName: 127.0.0.1:80 UserDir public_html <Directory /home/my_home/public_html> Options Indexes Includes FollowSymLinks Order allow,deny AllowOverride All Allow from all </Directory>
What KeepAlive should I set? I have 5 sec.
SELinux configuration (following alert's suggestions or just trying):
setsebool -P httpd_enable_homedirs 1 chcon -R -t httpd_sys_content_t /home/my_home/public_html semanage fcontext -a -t httpd_sys_rw_content_t '/home/my_home/public_html' setsebool -P httpd_unified 1
in mozilla about:config:
(it may be redundant but I'm grasping at straws) I don't know whether the cause of it is firefox or httpd, but I suppose the second one. I would be so grateful for help, it's so annoying and makes an easy work just hopeless.