Forum: Ferret Ferret bug when non-root user tries to read from an index ow

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Erik M. (Guest)
on 2007-04-16 21:57
(Received via mailing list)
I noticed an issue where a Mongrel would hang at 50% CPU utilization
indefinitely while attempting to query a Ferret index. I discovered
that the index directory was owned by root and Mongrel was running as
a non-root user. I straced the Mongrel and result was an infinite
loop of:

>> open("/var/www/apps/search/current/config/../indexes/final/
>> segments_5", O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission denied)

My fix was obviously to change the permissions of the directory. Is
the infinite loop of permission denied errors a bug in Ferret?


This topic is locked and can not be replied to.