105 reputation
3
bio website
location
age
visits member for 1 year, 10 months
seen Mar 27 at 6:07

Mar
27
awarded  Informed
Mar
22
accepted When upgrading hardware to increase program performance, which should I consider first CPU, RAM or both?
Mar
19
comment When upgrading hardware to increase program performance, which should I consider first CPU, RAM or both?
... in the link in the above comment, what you don't see is the insert function that updates that database. It iterates over the returned object, checks it against the db, and updates if so, else continues onto the next. Admittedly this is a large array, but in the grand scheme of things, 34,000 objects should not be that hard to handle? Also, open to suggestions for finding the memory leak. thanks!
Mar
19
comment When upgrading hardware to increase program performance, which should I consider first CPU, RAM or both?
@Dave Forgac To prevent the question to being subject to closure, I consciously kept the script out of the question, but would be grateful if you wanted to take a look. Here is a link: stackoverflow.com/questions/15470580/…. I followed the suggestions in the answers so far, unsetting the $obj array; unsetting the file array, etc, and I even used gc_collect_cycles() at the end of the foreach loop. Regardless, those variables are local to that function, should they not be discarded when it the function is complete?
Mar
19
comment Does Apache2 run faster if I have more CPU?
I would also like to know how to configure PHP for most efficient usage of multiple cores. Any links would be appreciated. Thanks!
Mar
19
asked When upgrading hardware to increase program performance, which should I consider first CPU, RAM or both?
Aug
20
awarded  Scholar
Aug
20
awarded  Supporter
Aug
20
accepted On a VPS where two sites are hosted, why does the CNAME of one resolve to the website of the other?
Aug
20
comment On a VPS where two sites are hosted, why does the CNAME of one resolve to the website of the other?
This was the issue. There is a 'WWW' checkbox available when creating a new site. I forgot to check that box and this the ServerAlias directive was not added. Just a heads up to anyone using Plesk and get the same issues. Thanks again!
Aug
20
comment On a VPS where two sites are hosted, why does the CNAME of one resolve to the website of the other?
I have ssh access to the server. Is it possible to check that way? What file would I look at? Cent OS is the OS
Aug
20
asked On a VPS where two sites are hosted, why does the CNAME of one resolve to the website of the other?