Jump to content

djazz

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Everything posted by djazz

  1. I have the same issue with a dual core AMD ... apache/php seems to be using only one CPU per task. And none seems to know the answer ... perhaps giving up php and starting with another more serious language that can do it ...
  2. I noticed on my server, who has an AMD 64bit Opteron running 64bit ubuntu, when im running some php pages that take a lot of time (maybe 15 min to load! data and log analysis ) only one cpu is running on 100% and the other below 10%. IF I run another page again, then both cpus go to 100% Is it normal ? Why the cpu doesn't share the process of 1 php application to both cpus ? Is there a way to configure it ? Since im not running a server for many users, its not going to be faster to process logs if I upgrade to another system running a quad processor. thanks.
  3. A solution ive found is to add an extra file called root_path.php on every folder with the following code at the root put <? $root_path="."; ?> and at every other folder <? $root_path=".."; ?> Then every time you want to include something use include('root_path.php'); include("$root_path/folder/anyfile");
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.