Whats this error ?? and how to fix ??

OK, I have been getting this error a lot and I don't know what it means or how to fix !!  I hope someone here may know';

 mod_fcgid: can't apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper

Thanks in advance :)

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012

another error;

mod_fcgid: stderr: PHP Warning:  curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/vhosts/socialmunch.com/httpdocs/inc/utils.inc.php on line 1053, referer: http://www.socialmunch.com/join.php

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012

another;

mod_fcgid: stderr: PHP Warning:  htmlspecialchars(): Invalid multibyte sequence in argument in /var/www/vhosts/socialmunch.com/httpdocs/inc/utils.inc.php on line 268, referer: http://www.socialmunch.com/join.php

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012

for the second warning you have to set the "open_basedir" php parameter to "off"

http://www.boonex.com/market/posts/paansystems - your resource for Dolphin Pro
Quote · 10 Nov 2012

Another;

mod_fcgid: stderr: PHP Warning:  Division by zero in /var/www/vhosts/socialmunch.com/httpdocs/inc/classes/BxDolPaginate.php on line 202

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012

 umm looking at this now .... all these errors seems to have happened all of sudden ....

there is a process thats running none stop and consuming CPU  etc .... I need to identify and fix these issues asap

Thanks

for the second warning you have to set the "open_basedir" php parameter to "off"

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012

top - 19:19:00 up 59 min, 1 user, load average: 2.91, 6.00, 4.59 Tasks: 500 total, 9 running, 491 sleeping, 0 stopped, 0 zombie Cpu(s): 12.9%us, 9.1%sy, 0.0%ni, 77.5%id, 0.5%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 16447788k total, 2397780k used, 14050008k free, 70656k buffers Swap: 4194288k total, 0k used, 4194288k free, 474588k cached

 

this seems crazy to me ^^^^^

Last week my network received 130,000 uniques and there was no issue with server!  today my network is very quiet and yet I have many issues.......

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012

OK, I have done this .... thank you :)

can you advise with other errors ??

for the second warning you have to set the "open_basedir" php parameter to "off"

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012

This is like WTTFFF?!

top - 20:31:34 up  2:12,  2 users,  load average: 0.85, 0.60, 0.72
Tasks: 284 total,   1 running, 282 sleeping,   0 stopped,   1 zombie
Cpu(s): 23.8%us,  1.7%sy,  0.0%ni, 74.5%id,  0.1%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  16447788k total,  1829384k used, 14618404k free,    83416k buffers
Swap:  4194288k total,        0k used,  4194288k free,   504692k cached

  PID USER       PR  NI   VIRT  RES  SHR S     %CPU  %MEM     TIME+     COMMAND
 1891 mysql       20   0   2961m 180m 6896 S     102.3   1.1          48:08.89   mysqld
 8584 ********     20   0   287m  20m 8104 S        21.3      0.1         0:00.73     php-cgi
 8583 ********     20   0   284m  19m 7628 S        14.3      0.1        0:00.47      php-cgi

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012

1) mod_fcgid: can't apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper
check your "MaxProcessCount" setting in "fcgid.conf"

2) PHP Warning:  htmlspecialchars(): Invalid multibyte sequence
it seems that the input data for this function is not UTF8 encoded!? it is a little bit difficult say what the source of this data is but mostly it is a language translation file or something from the database ...

3) Division by zero
nothing to care about ;)

4) CPU
at your first top output your load is very high! load at and above 1 is an indication that your resources are not able to handle your threads. if load is 1 it tells you that 1 thread is waiting for resources. hmmm, i think your configuration of mysql is not at its best or your tables are fragmented or should be optimized.

http://www.boonex.com/market/posts/paansystems - your resource for Dolphin Pro
Quote · 10 Nov 2012

 I cannot seem to find this file ....

Have also just optimized tables in DB

check your "MaxProcessCount" setting in "fcgid.conf"

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012

this file should be somewhere in "/etc" ... change to this directory and use the command "find . -name fcgid.conf"

if you cant find it use the command "grep -rnI MaxProcessCount" in the same directory, you should find it this way ...

http://www.boonex.com/market/posts/paansystems - your resource for Dolphin Pro
Quote · 10 Nov 2012

 ok so I run this command etc]# vi httpd/conf.d/fcgid.conf  and got the following;

# This is the Apache server configuration file for providing FastCGI support
# via mod_fcgid
#
# Documentation is available at http://fastcgi.coremail.cn/doc.htm

LoadModule fcgid_module modules/mod_fcgid.so

<IfModule mod_fcgid.c>

<IfModule !mod_fastcgi.c>
    AddHandler fcgid-script fcg fcgi fpl
</IfModule>

  FcgidIPCDir /var/run/mod_fcgid/sock
  FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm

  FcgidIdleTimeout 40
  FcgidProcessLifeTime 30
  FcgidMaxProcesses 20
  FcgidMaxProcessesPerClass 8
  FcgidMinProcessesPerClass 0
  FcgidConnectTimeout 30
  FcgidIOTimeout 45

this file should be somewhere in "/etc" ... change to this directory and use the command "find . -name fcgid.conf"

if you cant find it use the command "grep -rnI MaxProcessCount" in the same directory, you should find it this way ...

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012

try to increase "FcgidMaxProcesses" ... default value is 1000 ...

read this http://2bits.com/articles/apache-fcgid-acceptable-performance-and-better-resource-utilization.html

http://www.boonex.com/market/posts/paansystems - your resource for Dolphin Pro
Quote · 10 Nov 2012

I'm confused .... mine shows as 20 .............

I'm still very much learning about all this :(

try to increase "FcgidMaxProcesses" ... default value is 1000 ...

read this http://2bits.com/articles/apache-fcgid-acceptable-performance-and-better-resource-utilization.html

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012

 I take it 20 = 2000

I'm confused .... mine shows as 20 .............

I'm still very much learning about all this :(

try to increase "FcgidMaxProcesses" ... default value is 1000 ...

read this http://2bits.com/articles/apache-fcgid-acceptable-performance-and-better-resource-utilization.html

 

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012

I changed it to >> 45

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 10 Nov 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.