PDA

View Full Version : Indexing very slow


mdkn
03-17-2004, 07:54 AM
My System:

Windows 2000
Apache/2.0.47 (Win32) PHP/4.3.3

I have 2 installations (PhpDig version 1.6.2 and version 1.8.0)
Version 1.8.0 is very slow with indexing... for each page about 5~6 seconds. Version 1.6.1 is a lot faster (for each page less 1 second).

I set up a bigger priority in config.php but it didn't help.

can you help me?

mdkn

airplay
03-18-2004, 11:49 AM
I had the same problem, so I changed the following code

In the spider.php file (in /admin)
On line 198

sleep(5);

to

sleep(2);

That cut down the delay between indexing files. You can set the sleep at whatever you want, but it could slow down your server.

Hope that helps!

bloodjelly
03-21-2004, 01:01 PM
Take a look at this thread too:

http://www.phpdig.net/showthread.php?s=&threadid=300

I showed a way to limit the total number of pages found per update, which might help you.