Page 1 of 1

Apache issue

PostPosted: Tue Oct 30, 2018 5:35 am
by prosenjit2009
HP ProLiant DL160 G5

Server type- ProLiant DL160 G5
32 GB RAM
8 Core CPU
CPU TYPE-XEON 3.0
VERSION: 2.14b0.5
BUILD: 180411-1647
SVN version :2964
DB Schema Version:1541
ASTERISK VERSION-11.25.3
INSTALLER VERSION-8.0.1
No PRI/SANGOMA
No Extra Software or hardware.


Hello,

I am using vicibox 8.0 . sometime i getting an error. " mysqli_connect(): (HY000/1135): Can't create a new thread (errno 11 "Resource temporarily unavailable"); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug in /srv/www/htdocs/agc/dbconnect_mysqli.php on line 50, referer: http://223.XX.XX.XX/agc/vicidial.php.

and apache stopped working. After restarting the server it back to normal.

pls. help me out.

Re: Apache issue

PostPosted: Tue Oct 30, 2018 6:03 am
by bourneshell
I would recommend adjusting the following on /etc/apache2/server-tuning.conf under <IfModule worker.c>

MaxSpareThreads
ThreadLimit
MaxClients

Adjust accordingly depending on the number of users accessing the web server

Re: Apache issue

PostPosted: Tue Oct 30, 2018 6:11 am
by prosenjit2009
thanks for your reply. i have changed accordingly. will update if it solved.

Re: Apache issue

PostPosted: Wed Oct 31, 2018 10:52 pm
by williamconley
Also often caused by chat misfiring. Turn off chat in system settings to test.

Code: Select all
mysql -u cron -p1234 -e "show status like '%Aborted%'";