After a crash of my previous ispconfig install i decided to go the ispconfig3 path. After install the server and some hickups I managed to get my server going smoothly. But now after 2 weeks my server is experiencing issues. All of a sudden my php sites cannot connect to the mysql database anymore and the following is displayed in the log files. I have to restart mysql to get it working again. I guess this means there is something wrong with my mysql but why do i receive php messages? because it cannot connect to mysql anymore? i guess it shouldn't segfault because of that right?
I also looked for mysql errors but could not find any. Could this be a tuning issue, where php is requesting to many connections?
In most cases, segfaults are caused by hardware problems. You should check your server with e.g. memcheck.
[ 48.371022] lp0: using parport0 (interrupt-driven).
[ 48.387023] ppdev: user-space parallel port driver
[ 50.562891] warning: `pure-ftpd-mysql' uses 32-bit capabilities (legacy support in use)
[ 1407.341122] php: segfault at 7f02ab471ed0 ip 7f02ab471ed0 sp 427d1128 error 14 in libkeyutils-1.2.so[7f02b0baf000+2000]
[63952.120462] php: segfault at 7f4555476ed0 ip 7f4555476ed0 sp 41add128 error 14 in libkeyutils-1.2.so[7f455abb4000+2000]
[83375.543714] php: segfault at 7f83e3daaed0 ip 7f83e3daaed0 sp 41ba1128 error 14 in libkeyutils-1.2.so[7f83e94e8000+2000]
[91271.377232] php: segfault at 7f5aa1e5dedb ip 7f5aa73941af sp 41869c90 error 4 in libgcc_s.so.1[7f5aa7384000+16000]
[135370.614981] php: segfault at 7fde541a7ed0 ip 7fde541a7ed0 sp 415ef128 error 14 in libXdmcp.so.6.0.0[7fde579bd000+5000]
Linux norris 2.6.26-2-amd64 #1 SMP Sun Jun 21 04:47:08 UTC 2009 x86_64 GNU/Linux
PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 26 2009 20:09:03)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
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).
|All times are GMT +2. The time now is 07:19.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.