httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bennett, Tony" <Bennett.T...@con-way.com>
Subject RE: [users@httpd] Re: What are accept.lock files?
Date Tue, 10 May 2011 17:54:24 GMT
Simplistically, they are files used by Apache to control
exclusive access to some resources.

Don't delete them.

-----Original Message-----
From: Steven Ross [mailto:apache.org@bustspammers.com] 
Sent: Tuesday, May 10, 2011 10:50 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Re: What are accept.lock files?


On May 10, 2011, at 10:37 , Jeroen Geilman wrote:

> On May 7, 2011, at 14:16 , Steven Ross wrote:
>
>> I'm running the pre-installed Apache 2 on my Mac OS X 10.5.8  
>> machine. The log directory (where it writes error and access logs)  
>> is at:
>> /private/var/log/apache2/
>>
>> The directory is filled with files like accept.lock.x where x is a  
>> number between 2 and 5 digits. They are all zero bytes long and  
>> date back many years.
>>
>> What are they and can I delete all those empty files?

> http://httpd.apache.org/docs/2.2/mod/mpm_common.html#lockfile


Thanks. Read it and know about as much as before.

"The LockFile directive sets the path to the lockfile used when Apache  
is used with an AcceptMutex value of either fcntl or flock."
??
Can someone please translate that into plain English?
I'm not a seasoned sys admin, just a user running Apache on my desktop  
for web development. The way I read that, it describes a  
"directive" (a config command?) that is used to create those lock  
files. But it doesn't explain what those lock files are and why they  
are needed in the first place.

I searched the net but couldn't find a good explanation. Would  
appreciate any more hints or links.

Thanks,
Steven

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message