Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-10-02 Thread Fabio F.Gervasi
It could be another (not root) httpd process? Do you thing this is not a "apache" problem? *Fabio F. Gervasi* Engineering Consultant *Web www.centrometeo.com * *g+ plus.google.com/centrometeo

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-10-02 Thread Daniel
I really see nothing in that strace output that tells anything is crashing. 2016-10-02 10:44 GMT+02:00 Fabio F.Gervasi : > Hi James, > > I do not have the skills to be able to work well in "depth" to the problem > as you (rightly) suggest. What I know is that this problem started from the > las

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-10-02 Thread Fabio F.Gervasi
Hi James, I do not have the skills to be able to work well in "depth" to the problem as you (rightly) suggest. What I know is that this problem started from the last system update (apache / php / mariadb, ...) from 23 September. The only log info is: /var/log/httpd/error_log, at "crash time": [Fr

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-10-02 Thread Fabio F.Gervasi
Hi Daniel, the *output* file of the first command, *strace -o /tmp/outputfile -s 5000 httpd -X*: execve("/usr/sbin/httpd", ["httpd", "-X"], [/* 25 vars */]) = 0 brk(NULL) = 0x55882e0b8000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-10-02 Thread Dr James Smith
Things you can do are trying to track down if there is any pattern - are these first request on a child, "nth" request on child etc... we add additional variables to access logs which include things such as PID/request no in PID, memory usage before and after etc. This allows us sometimes to s

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-10-02 Thread Daniel
I would bet on your method of parsing php and the scripts being ran, in any case to be sure: Try the strace approach: strace -o /tmp/outputfile -s 5000 httpd -X or strace -ff -F -s200 -o /tmp/strace.out -p PID to try to find out what's really going on. 2016-09-30 20:19 GMT+02:00 Fabio F.Gervasi

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-09-30 Thread Fabio F.Gervasi
Hi! I have additional information: /var/log/httpd/error_log, at "crash time": [Fri Sep 30 19:09:03.897325 2016] [mpm_event:trace4] [pid 30339:tid 139796798162688] event.c(930): socket reached timeout in lingering-close state What do you think? 2016-09-30 14:47 GMT+02:00 Fabio F.Gervasi : > Hi

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-09-30 Thread Fabio F.Gervasi
Hi! Thank you for your reply. I tried the following tests. *1) Using a little text file:* *# ab -k -c 100 -n 2000 localhost/test.txt* This is ApacheBench, Version 2.3 <$Revision: 1748469 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Fo

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-09-30 Thread Daniel
hello, the fact that all those 500 error reponses go with "X-Powered-By: PHP/5.6.26" tell me it is php giving those errors. If you are still unsure, you could use the ab tool from Apache HTTPD, and request a specific static file (text, gif) hundreds of times to see if you get a 500 error from HTT

[users@httpd] Random Internal Server Error 500 after apache and system update

2016-09-30 Thread Fabio F.Gervasi
Hi, I'm not 100% sure that the real source of the problem is apache (could be php or other), but I'd like start from here as the only logs that provides me with information (with trace4 level) is apache log. No information appears from other logs. I have: - Linux 4.7.4-100.fc23.x86_64 - Server ve