PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Indexing very slow (http://www.phpdig.net/forum/showthread.php?t=687)

mdkn 03-17-2004 07:54 AM

Indexing very slow
 
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.


All times are GMT -8. The time now is 04:09 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.