I run an NFS server for a small number of files from a computer I do
some dev work on. On that computer, portmap is using around 20% of CPU
when I'm not doing anything on these NFS clients, and that figure rises
significantly when I actually want to use it.

Stracing portmap shows that it seems to be opening and closing
the /etc/hosts.{allow,deny} files over and over. This not at all
necessary, since I never change those files and the security of this
particular machine is just not a priority.

Is there a way I can make it stop polling those files (or even just make
it stat them first)? Alternatively, what else can I do to reduce
portmap's CPU usage?

I'm also a little curious as to why it's doing anything at all; I don't
think anything is requesting files. Is there a way I can debug where all
these requests are coming from?

Thanks,

James.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to