Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FrontPage 2000 UNIX Extensions Monopolize Portmap


View products that this article applies to.

This article was previously published under Q240968

↑ Back to the top


Symptoms

If you are running the FrontPage 2000 Server Extensions on Apache 1.3.6 on Digital Unix 4.0D with HTML files stored on NFS partitions, Fpcount.exe and Shtml.exe can be seen monopolizing portmap. For example:

   PID  USERNAME PRI  NICE  SIZE   RES  STATE   TIME   CPU    COMMAND
   318  root      49    0   2176K  122K  run    0:46   43.50% portmap
   6197 wfp09446  42    0   2376K  172K  WAIT   0:28   25.90% fpcount.exe
				
The added time in portmap means that the CPUs are spending 70 - 80% time in the kernel. This extra kernel time makes the system slow/unresponsive.

Following are response rates that you may see when Shtml.exe monopolizes the portmap:
 CPU states:  6.4% user, 36.8% nice, 56.7% system,  0.0% idle
 Memory: Real: 182M/494M act/tot  Virtual: 129M/953M use/tot  Free: 17M
 
   PID USERNAME PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
   300 daemon    55    0 2152K   90K run    44.7H 13.30% portmap
  5865 wfp04179  56    5   18M   11M run     0:13  8.60% author.exe
 32512 wfp05029  56    5   28M 9969K run     4:35  8.40% author.exe
  9857 wfp02450  56    5   29M   18M run     2:43  8.20% author.exe
  8252 wfp02628  42    5 8288K  352K WAIT    0:56  7.80% shtml.exe
				

↑ Back to the top


Cause

The FrontPage Server Extensions use the Fcntl function to lock files. When the file is located on a network drive, the lock daemon makes calls through the RPC portmap to implement the lock on the remote NFS files. Flock is for file locking locally which is implemented in the kernel. Flock is a subset of Fcntl.

↑ Back to the top


Resolution

To resolve this problem, obtain Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a).

To obtain SR-1/SR-1a, click the article number below to view the article in the Microsoft Knowledge Base:
245025� OFF2000: How to Obtain and Install Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a)

↑ Back to the top


Workaround

You can implement the FrontPage 97 hit counter and modify the code to use flock rather than the Fcntl function. You can also create a cron job that constantly checks for FrontPage processes the uses portmap excessively and kills the process.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in Microsoft FrontPage 2000 Server Extensions. This problem was corrected in Microsoft Office 2000 SR-1/SR-1a.

↑ Back to the top


Keywords: KB240968, kbpending, kbbug

↑ Back to the top

Article Info
Article ID : 240968
Revision : 2
Created on : 2/22/2007
Published on : 2/22/2007
Exists online : False
Views : 272