1851286 Members
4042 Online
104057 Solutions
New Discussion

Error wich gets daily

 
SOLVED
Go to solution
vinayan
Advisor

Error wich gets daily

Below is the error which I get everday on my production server

"sleeping: fcntl lock of pid file failed: Permission denied"

Anybody can tell me why this erro coming and how can I solve this ?

Rgds
Vinayan
5 REPLIES 5
likid0
Honored Contributor

Re: Error wich gets daily

This seems like a nfs problem, getting the lock on the files, is this server a NFS client ?

if its so, can you tell us your nfs config?

Thnx
Windows?, no thanks
vinayan
Advisor

Re: Error wich gets daily

Hi
I have 25 nfs shares mounted on my server
Rgds
Vinayan
Ramesh S
Esteemed Contributor
Solution

Re: Error wich gets daily

Hi

Where did you get this error ? syslog ??

Which service logs this error ? like NFS,FTP..

In general,

Error implies that there are too many processes trying to take control of this file at the same time, or there is one or more "rogue" processes that are holding the lock for too long.

Thanks & Regards

Ramesh
vinayan
Advisor

Re: Error wich gets daily

Ramesh
yes its from syslog.

syslog.log_V1:Feb 7 16:59:01 nlxsl047 ftpd[18361]: sleeping: fcntl lock of pid file failed: Permission denied

vinayan
Ramesh S
Esteemed Contributor

Re: Error wich gets daily

Hi

I found a document which says:

The "fcntl lock of pid file failed" message is seen when the ftpd(1M)process can not set a "lock" on the /etc/ftpd/pids/local|remote|all]
file. This implies that there are too many ftpd(1M) processes trying to take control of this file at the same time, or there is one or more "rogue" processes that are holding the lock for too long.

This is only a warning message. The failed fcntl(2) system call will be tried at 1 second intervals until success is returned.

The message is only seen when the ftpaccess(4) file is being used. If the ftpaccess(4) configuration is not required, then it can be disabled using the ftpd(1M) command-line options. See ftpd(1M) for more details.

Thanks & Regards

Ramesh