Hi! I think there is a problem, which is introduced with version 3.1.10 (also affects 
current CVS tree).

If indexer is compiled with --enable-linux-pthreads (probably applies to 
--enable-freebsd-threads as well) and "Robots yes" directive is used,
indexer would hang - a lock was made, but was never unlocked.

I hope this is the right fix :)

[root@xxx search]# diff -u mnogosearch-3.1.10/src/indexer.c 
mnogosearch-3.1.10-fixed/src/indexer.c 
--- mnogosearch-3.1.10/src/indexer.c    Thu Feb  8 22:55:18 2001
+++ mnogosearch-3.1.10-fixed/src/indexer.c      Tue Feb 20 00:26:18 2001
@@ -434,7 +434,7 @@
 
                
if(Indexer->Conf->LockProc)Indexer->Conf->LockProc(UDM_LOCK,UDM_LOCK_ROBOTS);
                R=UdmFindRobots(Indexer->Conf,&realURL);
-               
if(Indexer->Conf->LockProc)Indexer->Conf->LockProc(UDM_LOCK,UDM_LOCK_ROBOTS);
+               
+if(Indexer->Conf->LockProc)Indexer->Conf->LockProc(UDM_UNLOCK,UDM_LOCK_ROBOTS);
                if(R){
                        UdmLog(Indexer,UDM_LOG_WARN,"Deleting URL: robots.txt: 
'%s'",R->path);
                        result=UdmDeleteUrl(Indexer,Doc->url_id);
[root@xxx search]#
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to