PDA

View Full Version : helpme indexing slow


xorex
07-26-2004, 05:51 PM
Hi, I test in Windows XP (IIS 5) with MySQL 4.x and PHP 4.3, using dig 1.8.3

PHPDig in http://server/phpdig
WEB in http://server/myweb/sitio1/list.html

this file contains links to other pages

but when I try to index with depth (0,0) or depth (5,5) from the panel do not follow the links.

The 2nd, the index time for this page (only one) is about 1 min, is this normal?

please help me

vinyl-junkie
07-26-2004, 06:25 PM
Unfortunately, phpdig doesn't perform very well on a Windows server website. Indexing can be very slow and unpredictable at best. When I tried indexing my site that's on a Windows server, the process would hang for no apparent reason. I did manage to get it indexed with phpdig, but it wasn't worth the hassle.

I hate to say it, but in my opinion, if you can't move your site to an Apache server, you'd be better off finding another search engine for it.

shinji
07-27-2004, 05:40 AM
my hint:
remove all sleep's :P
example:
in source it is written like:
sleep(5);
just make it to an
//sleep(5);

the sleeps tell the php interpreter to pause the script for N seconds

vinyl-junkie
07-27-2004, 06:00 AM
That might work, and good luck if it does. I didn't personally find anything that helped in using phpdig on my Windows server site.

I would caution anyone against getting rid of all the sleep() functions, especially if the site you're indexing is someone else's other than your own. It could cripple the site in terms of page loads while you're indexing.