index.php load
-
anybody can help me?? why my index.php load very extreme??
this is my screen capture
https://www.slank.com/fbml/report.jpgthanks for the help
-
That screen is extremely poor; the figures displayed cannot be true percent CPU figures for a single processor because they add up to well over 200%. If you’ve got command line access, maybe use top to get a second opinion?
Also, you don’t say if the site has a performance problem.
thanks for the reply…
this is the TOP resultPID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13362 slank 15 0 161m 56m 7444 R 56.4 0.4 0:01.84 php 13349 slank 16 0 164m 59m 7960 S 41.3 0.4 0:01.55 php 31879 nobody 16 0 97692 6844 2552 S 1.3 0.0 0:00.11 httpd 3463 nobody 15 0 97004 6196 2092 S 0.7 0.0 0:00.87 httpd 6062 mysql 15 0 362m 52m 4544 S 0.7 0.3 28:57.51 mysqld 3222 slank 15 0 162m 57m 8000 S 0.3 0.4 0:06.21 php
about the performance of my site, it resulting error sometime it turn to be blank white, 505 and when i check the error_log it says
(12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/xxx/xxx/index.php
thanks again
This could indicate that your server resources aren’t adequate for what you’re asking it to do, or that PHP hasn’t been allocated enough memory. Unfortunately, you haven’t told us about either of these, so it’s going to be hard for anyone to advise you.
Can you describe the server environment you’re using? Is it a dedicated server, or shared? If shared, are there limits on CPU or memory use? If it’s a dedicated server, what specification is it (especially memory)? How much memory is allocated to PHP?
Can you describe the workload, too? Is it a standard, vanilla installation, for example, or many plugins? How many sites are there, and how many users? How heavily used is it?
This thread may help.
thanks for the answer
Im using JaguarPC VPS Enterprise
1. Diskspace : 150 GB / Ram 3072 MB2. when cat /proc/user_beancounters this the result
uid resource held maxheld barrier limit failcnt 1008: kmemsize 60405970 61564290 65536000 65536000 2367855 lockedpages 0 0 4096 4096 30 privvmpages 715522 752821 1048576 1048576 8 shmpages 670 670 131072 131072 0 dummy 0 0 9223372036854775807 9223372036854775807 0 numproc 239 246 400 400 0 physpages 610306 646007 0 2147483647 0 vmguarpages 0 0 524288 2147483647 0 oomguarpages 610313 646013 134216 2147483647 0 numtcpsock 121 131 500 500 0 numflock 6 6 200 220 0 numpty 1 1 64 64
3. Can you describe the workload, too? Is it a standard, vanilla installation, for example < I dont know, how can i know this??
my VPS only has 5 website active.4. Do I must to upgrade my PHP too ??
once again..many, many thanks for your help
That should be enough RAM (it’s more than twice what I have for a server with 6 sites, two of which are multisite).
What version of PHP are you running, and what FLAVOR? SuPHP, FastCGI, etc etc.
@ipstenu : would tell me how can i fine the FLAVOR ?? i think SUPHP, because i post before i receiving error log
(12)Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/xxx/xxx/index.phpThat’d do it. And that’d… well. Do it. SuPHP is a hog.
(You can look on a phpinfo() page to find all the details, BTW)
so..what must i do to fix my problem?
Start with turning off all your plugins, see what happens.
including buddypress ?
Oh. BuddyPress.
*sigh* Yeah, BuddyPress uses a lot of memory, and can totally gork SuPHP.
See if it’s possible to switch to DSO, or FastCGI.
btw, this “error” also make my categories gone…i must to restart than my categories come back..
i try to deactive all the plugin, and when i visit my website,i receiving this error message
———————————
l error: Call to undefined function bp_is_blog_page() in /xxx/xxx/xxx/wp-content/themes/slank-main/header.php on line 65
———————————now im testing with only buddypress active..
See if it’s possible to switch to DSO, or FastCGI <- how can i do this??
- The topic ‘index.php load’ is closed to new replies.