- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Samba File Corruption
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
09-27-2005 02:19 AM
09-27-2005 02:19 AM
Samba File Corruption
We are in the process of troubleshooting this, but wanted to bounce a few ideas off of everyone on here.
The application in question polls the Samba share every 10 seconds, so as you can imagine it gets lots of traffic. The only error we are seing being reported in the log.smbd is the following, and it is being reported very regularly (almost as often as they access the samba share):
[2005/09/27 09:59:52, 0] smbd/server.c:open_sockets_smbd(377)
open_sockets_smbd: accept: No buffer space available
I have done research on this error and have checked things on the system that have been recomended in other posts:
* tcp_conn_request_max is set to 4096
* No system resources are being pressed (memory, file table, etc)
* dbc_max_pct is set to 1
I am holding firm to my statement that this error is not causing their problems, and am also thinking that if it was Samba that dropped the connection or did not successfully transfer the file it would report some error to the Client OS. ALso since they are doing a move, I would think that if the COPY of the file did not work, then the subsequent delete would not run and the file would still exist on the server side.
Can anyone offer any thoughts or points on this for me? We are going to add in more checks before and after the copy to validate my thoughts, but I wanted to see if there are any Samba experts out there that could help out.
Thanks!
Ty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 02:26 AM
09-27-2005 02:26 AM
Re: Samba File Corruption
You have no buffer at all and 5/7 has worked for me on other installations.
mv command to local space? What if someone else has the file locked? Try making a copy instead.
Perhaps run fuser -cu and make sure nobody has an open file handle on it. If the file is open for edit that could account for the corruption.
The subsequent delete could be done later with a find +mtime command or other device to not negatively impact the file.
I'd like to see your entire smb.conf file if your security rules allow it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 02:29 AM
09-27-2005 02:29 AM
Re: Samba File Corruption
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
keepalive = 0
As far as DBC_MAX_PCT - you want that set to the % that works out to between 500 and 800 MB of ram.
IE - if you have 10GB of ram - set it to 5 or 6 or 7 or 8...
Rememeber - that DBC_MIN_PCT must be equal or lower.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 02:44 AM
09-27-2005 02:44 AM
Re: Samba File Corruption
Title: SMBD reports "no buffer space" in syslog
Document ID: 8606412259
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000081003534
Regarding the 'move' problem, I would also recommend trying to just copy the file rather than moving it and see if you have any better luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 03:10 AM
09-27-2005 03:10 AM
Re: Samba File Corruption
Pattrick, that is a great article and will help me with this problem.