Hello,

I've update this weekend 9 servers from Apache-2.2.22 to Apache-2.4.2.
All seems to be going good, only I get now and then a segmentation fault on on of our servers. On two servers (with older kernels) I see to many segmenatation faults, so I downgraded them back to Apache-2.2.22.

The strange thing is that it seems to be that some Iphones and Itabs are sending request which apache can't handle.


The problem servers:
Kernel: 2.6.21.5-smp
Apache: 2.2.22 / PHP-5.3.13-api: no problem
Apache: 2.4.2 / PHP-5.3.13-api:  Seg-faults (400 / 600.000 req)
however all 400 Seg-faults, are from Iphone or Itab -OS (50.000 req).

There are no external or strange modules configured (nor in apache nor in php). There was suhosin and mod_limitipconn, but I disabled them and the problems stays the same.


My first impression was offcourse that apache was threated now, and the kernel did work for that.
Recompiled with the apr from apache: no results.

Then recompiled but with MPM-prefork (and also recompiled PHP with Thread Safety disabled): no results.

So not a threaded problem after all?

Enabled Coredumps
All problems I see where with zend_hash_find.c, and other Zend-memory-files.



compiled mod_whatkilledus:
---> all request where from different IP-adresses for one page, however this page is responsible for almost half of all our request (236.000). It outputs images, and looks into a cache first, other options are transform them.

Remarkable: Useragent where all one of these:
85.0% Mozilla/5.0 (iPad; CPU OS 5_1_1 like Mac OS X) AppleWebKit/534.46
14.5% Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46

0.2% Mozilla/5.0 (Linux; U; Android 2.2.1; nl-be; CT704 Build/FROYO) AppleWebKit/533.1 0.2% User-Agent:Opera/9.80 (Windows NT 6.1; U; fr) Presto/2.9.168 Version/11.52



Because it was a php-file, I started to log what whas going on.
Whenever I got a coredump, the php-file was read twice in a row (got an error about a function: Cannot redeclare watermark) After tracking down who/what calledthe page the second time, I saw that there where any variable's at all!
The superglobals _SERVER _GET _POST where empty!


Conclusion:
AppleWebKit is sending a request Apache-2.4 can't handle, which resolves in a duplicate call for a php-file, but without variables.
This results in a segmentation-fault.

Have anyone seen this behavior also?
And more: how can this be fixed?



Best regards,
Pascal



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to