Small blog about system administration.

PHP segfault issues

In most cases, segfaults are caused by hardware problems.

[17546.670984] php[23330]: segfault at 7fff69c21dc0 ip 000000000062844d sp 00007fff69c21da0 error 6 in php5[400000+519000]
[17606.986485] php[23404]: segfault at 7ffffd34bdc0 ip 000000000062844d sp 00007ffffd34bda0 error 6 in php5[400000+519000]
[17666.397216] php[23507]: segfault at 7fff71a33bd0 ip 000000000062844d sp 00007fff71a33bb0 error 6 in php5[400000+519000]
[17726.683409] php[23542]: segfault at 7fff1510db80 ip 000000000062844d sp 00007fff1510db60 error 6 in php5[400000+519000]
[17786.976288] php[23579]: segfault at 7fffc6f0dfc0 ip 00007fbabc648798 sp 00007fffc6f0df80 error 6 in libc-2.9.so[7fbabc5ce000+168000]
[17847.269009] php[23617]: segfault at 7fff71433eb0 ip 000000000062844d sp 00007fff71433e90 error 6 in php5[400000+519000]
[17906.571567] php[23665]: segfault at 7fffe9fb2150 ip 000000000062844d sp 00007fffe9fb2130 error 6 in php5[400000+519000]
[17966.860766] php[23706]: segfault at 7fff9ccd1e60 ip 000000000062844d sp 00007fff9ccd1e40 error 6 in php5[400000+519000]



I thought segfaults are caused by bad programming? Maybe there is a bug in the mysql module in php?
After thinking about it again and searching the forum I have set the following:

max_connections = 500 
max_user_connections = 500

This seems to fix the issues and it runs now without problems.
Mysql only allows 151 connections by default which is to limited for my implementation (it seems).

No comments :

Post a Comment