[pubcookie-dev] open key file...

Stephen S Willey willey at washington.edu
Thu Apr 13 11:03:29 PDT 2006


Allan,

What version of the module are you running?  I seem to remember there was
issue with older modules that didn't do the right thing with Apache
restarts.

steve 

> -----Original Message-----
> From: pubcookie-dev-bounces at mailman1.u.washington.edu 
> [mailto:pubcookie-dev-bounces at mailman1.u.washington.edu] On 
> Behalf Of Allan E. Johannesen
> Sent: Thursday, April 13, 2006 10:53 AM
> To: pubcookie-dev at u.washington.edu
> Subject: [pubcookie-dev] open key file...
> 
> I was debugging a web process and stumbled across a bunch of 
> open descriptors.
> It looks like my web client inherited them from httpd.
> 
> I tried lsof and found hundreds of descriptors open like these:
> 
> httpd     30022 nobody  352r   REG   0,19 2048 11543451 
> /usr/local/pubcookie/keys/www.wpi.edu
> httpd     30022 nobody  353r   REG   0,19 2048 11543451 
> /usr/local/pubcookie/keys/www.wpi.edu
> httpd     30022 nobody  354r   REG   0,19 2048 11543451 
> /usr/local/pubcookie/keys/www.wpi.edu
> httpd     30022 nobody  355r   REG   0,19 2048 11543451 
> /usr/local/pubcookie/keys/www.wpi.edu
> httpd     30022 nobody  356r   REG   0,19 2048 11543451 
> /usr/local/pubcookie/keys/www.wpi.edu
> httpd     30022 nobody  357r   REG   0,19 2048 11543451 
> /usr/local/pubcookie/keys/www.wpi.edu
> httpd     30022 nobody  358r   REG   0,19 2048 11543451 
> /usr/local/pubcookie/keys/www.wpi.edu
> httpd     30022 nobody  359r   REG   0,19 2048 11543451 
> /usr/local/pubcookie/keys/www.wpi.edu
> 
> Looking across the system, it looks like this:
> 
> SEETHE:/www/apache-linux/cgi-bin# lsof 
> /usr/local/pubcookie/keys/www.wpi.edu|cut -c 1-16|uniq -c
>       1 COMMAND     PID 
>     294 httpd       537 
>     273 ldaputil   1050 
>     294 httpd      1108 
>     294 httpd      1406 
>     294 httpd      1913 
>     294 httpd      1941 
>     294 httpd      2149 
>     294 httpd     18958 
>     273 rotatelog 23515 
>     273 rotatelog 23516 
>     273 rotatelog 23517 
>     273 rotatelog 23518 
>     273 rotatelog 23519 
>     273 rotatelog 23520 
>     273 rotatelog 23521 
>     273 rotatelog 23522 
>     273 rotatelog 23523 
>     273 rotatelog 23524 
>     273 rotatelog 23525 
>     273 rotatelog 23526 
>     273 rotatelog 23527 
>     273 rotatelog 23528 
>     273 rotatelog 23529 
>     273 rotatelog 23530 
>     273 rotatelog 23531 
>     273 rotatelog 23532 
>     273 rotatelog 23533 
>     273 rotatelog 23534 
>     273 rotatelog 23535 
>     273 rotatelog 23536 
>     273 rotatelog 23537 
>     273 rotatelog 23538 
>     273 rotatelog 23539 
>     273 rotatelog 23540 
>     273 rotatelog 23541 
>     273 rotatelog 23542 
>     273 rotatelog 23543 
>     273 rotatelog 23544 
>     273 rotatelog 23545 
>     273 rotatelog 23546 
>     273 rotatelog 23547 
>     273 rotatelog 23548 
>     273 rotatelog 23549 
>     273 rotatelog 23550 
>     273 httpd     23551 
> 
> The thing I was going to debug was ldaputil, above.
> 
> It must be that rotatelog is spawned from httpd, which would 
> explain why it has
> those descriptors open...
> 
> Anyway, has anyone seen this?  I took a quick look and all 
> the pbc_fopen's
> appear to be followed by pbc_fclose's.
> _______________________________________________
> pubcookie-dev mailing list
> pubcookie-dev at u.washington.edu
> http://mailman1.u.washington.edu/mailman/listinfo/pubcookie-dev
> 



More information about the pubcookie-dev mailing list