Massive Server Slowdown on PHP script - Can anyone help
I'm currently running a Linux based VPS, with 768MB of Ram and 30Gig of Disk space (1.13GHZ processor).
I have an application which collects details of domains and then connect to a service via cURL to retrieve details of the pagerank of these domains.
When I run a check on about 50 domains, it takes the remote page about 3 mins to load with all the results, before the script can parse the details and return it to my script. This causes a problem as nothing else seems to function until the script has finished executing, so users on the site will just get a timer / 'ball of death' while waiting for pages to load.
Can anyone tell me if I'm doing anything obviously wrong, or if there is a better way of doing it? (There can be anything between 10 and 10,000 domains queued, so I need a process that can run in the background without affecting the rest of the site)
Thanks
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."