I run Fedora 18 only to develop a drupal 7 web system
Fedora ha proven very stable except when developing the web system
apache simply switches off when I change functions in drupal and needs
to be restarted to continue work.
I run clear; sudo service httpd stop && sudo service httpd start dozens
of times a day.
Further, and not so frequently the dreaded Drupal memory allocation
error seems built in to the system it is so prevalent.
To work around this I ps aux |grep httpd which shows up to 7 instances
of httpd. I kill the first 2 instances and can continue working.
I have fresh installed drupal system which is a copy of a live site, I
have only gedit running as an editor and run System Monitor to check
memory and cpu. Memory runs at 70% of 2 Gig CPU's are normal.
Temp and swap don't get used.
httpd creates it's own error log which reports
[Wed Feb 13 22:20:21.593435 2013] [core:notice] [pid 10305] SELinux
policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Wed Feb 13 22:20:21.595295 2013] [suexec:notice] [pid 10305] AH01232:
suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Feb 13 22:20:22.076048 2013] [auth_digest:notice] [pid 10305]
AH01757: generating secret for digest authentication ...
[Wed Feb 13 22:20:23.001035 2013] [lbmethod_heartbeat:notice] [pid
10305] AH02282: No slotmem from mod_heartmonitor
[Wed Feb 13 22:20:23.095134 2013] [mpm_prefork:notice] [pid 10305]
AH00163: Apache/2.4.3 (Fedora) PHP/5.4.11 configured -- resuming normal
operations
[Wed Feb 13 22:20:23.095229 2013] [core:notice] [pid 10305] AH00094:
Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Feb 13 22:35:49.864363 2013] [mpm_prefork:notice] [pid 10305]
AH00170: caught SIGWINCH, shutting down gracefully.
/var/log/httpd/access_log reports:
127.0.0.1 - - [13/Feb/2013:22:34:38 +1100] "GET
/mysite/sites/all/themes/EAL1/logo.png HTTP/1.1" 404 214
"http://127.0.0.1/eal/" "Mozilla/5.0 (X11; Linux x86_64)
AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.69 Safari/537.17"
::1 - - [13/Feb/2013:22:34:46 +1100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.4.3 (Fedora) PHP/5.4.11 (internal dummy connection)"
There are 10 dummy connections.
I have run out of ideas so ask if there's a short script I can run to
gather the http instances from ps aux and automatically kill them then
stop and restart httpd.
Another alternative may be to install nginX and delete apache but I do
not know what resources that may affect.
Thanks
Roger
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org