HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: wu-ftpd
Operating System - HP-UX
1833714
Members
2016
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 10:07 AM
02-28-2002 10:07 AM
wu-ftpd
Hello All,
I have an issue today with a server that has a lot of ftpd connections (200+) and we're seeing all kinds of delay today. Users connect to this server via VPN access (Nortel switch) and then ftp small files to the server. This morning we are seeing problems with wuftpd handling the amount of concurrent connections. Our error message is as follows:
ftpd[167340]: sleeping: fcntl lock of pid file failed: Permission denied
When researching this, I see that this error is somewhat common, but I'm also seeing a large amount of ftpd servers running, while only half of those are actually authenicated at the time. For instance:
ps -ef | grep ftpd | wc -l shows:
367
While the output from ftpwho shows:
218
Is this a file contention issue that wuftpd can't add it's PID to the main file, or does this relate more to network issues? Your thoughts?
Any help is greatly apperciated, thanks.
-Mike
I have an issue today with a server that has a lot of ftpd connections (200+) and we're seeing all kinds of delay today. Users connect to this server via VPN access (Nortel switch) and then ftp small files to the server. This morning we are seeing problems with wuftpd handling the amount of concurrent connections. Our error message is as follows:
ftpd[167340]: sleeping: fcntl lock of pid file failed: Permission denied
When researching this, I see that this error is somewhat common, but I'm also seeing a large amount of ftpd servers running, while only half of those are actually authenicated at the time. For instance:
ps -ef | grep ftpd | wc -l shows:
367
While the output from ftpwho shows:
218
Is this a file contention issue that wuftpd can't add it's PID to the main file, or does this relate more to network issues? Your thoughts?
Any help is greatly apperciated, thanks.
-Mike
The network is the computer, yeah I stole it from Sun, so what?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 11:10 AM
02-28-2002 11:10 AM
Re: wu-ftpd
I didn't get any hits on permission denied, but I did see similar issues ...
From Gregory A Lundberg of the WU-FTPD Development Group (www.wu-ftpd.org):
> Aug 2 10:04:57 media ftpd[7587]: sleeping: fcntl lock of pid file failed:
> Resource temporarily unavailable
This is normal and not a problem if you see it very infrequently. If your
server is operating normally, you can recompile to suppress these messages.
Personally, I'd ignore them so I could see if a more severe problem cropped
up.
> it always repeats this messages since yesterday.And no one can ftp on it
> this morning,the screen doesn't express anything .This ftp server can not
> work anymore. i have to restart it,but they appear again.who can tell me
> why this happen?how can i do with it ?
If it's caused by real traffic, it sounds like someone using your server
has a severly broken client (or firewall) .. or you're under a DoS attack
(I'd vote for a broken firewall as more likely, but a DoS is a distinct
possibility). In either case, sniff the traffic and firewall the culprit
away from your FTP server.
Another possibility is a bug in the OS. If the problem goes away after a
reboot, then look to see if there are any vendor patches you're not
installed, specifically those related to file systems and file locking.
All the message is says in the daemon needed to up date the PID files and
another copy of the daemon had them locked. So it's sleeping for a moment.
If you see this and your machine is not running a lot of FTP daemons,
somethign may be wrong.
From Gregory A Lundberg of the WU-FTPD Development Group (www.wu-ftpd.org):
> Aug 2 10:04:57 media ftpd[7587]: sleeping: fcntl lock of pid file failed:
> Resource temporarily unavailable
This is normal and not a problem if you see it very infrequently. If your
server is operating normally, you can recompile to suppress these messages.
Personally, I'd ignore them so I could see if a more severe problem cropped
up.
> it always repeats this messages since yesterday.And no one can ftp on it
> this morning,the screen doesn't express anything .This ftp server can not
> work anymore. i have to restart it,but they appear again.who can tell me
> why this happen?how can i do with it ?
If it's caused by real traffic, it sounds like someone using your server
has a severly broken client (or firewall) .. or you're under a DoS attack
(I'd vote for a broken firewall as more likely, but a DoS is a distinct
possibility). In either case, sniff the traffic and firewall the culprit
away from your FTP server.
Another possibility is a bug in the OS. If the problem goes away after a
reboot, then look to see if there are any vendor patches you're not
installed, specifically those related to file systems and file locking.
All the message is says in the daemon needed to up date the PID files and
another copy of the daemon had them locked. So it's sleeping for a moment.
If you see this and your machine is not running a lot of FTP daemons,
somethign may be wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 11:43 AM
02-28-2002 11:43 AM
Re: wu-ftpd
You might want to look at
netstat -a |grep ftp
and see if you have a lot of connections stuck in FIN_WAIT.
This is caused by a stupid client which is not hanging up the circuit correctly. Your clients would not happen to be running on WinNT would they? There is a bug in WinNT which causes this if the circuit is noisy. There is a patch but you have to beg Microsoft help for it since it has not been released.
You can reduce the amount of time you wait in FIN_WAIT on an 11.0 or better with the right patch using NDD. That can help.
Also you can increase the number of FTP connections allowed.
Ron
netstat -a |grep ftp
and see if you have a lot of connections stuck in FIN_WAIT.
This is caused by a stupid client which is not hanging up the circuit correctly. Your clients would not happen to be running on WinNT would they? There is a bug in WinNT which causes this if the circuit is noisy. There is a patch but you have to beg Microsoft help for it since it has not been released.
You can reduce the amount of time you wait in FIN_WAIT on an 11.0 or better with the right patch using NDD. That can help.
Also you can increase the number of FTP connections allowed.
Ron
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP