- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unexpected samba 'refresh'
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
Discussions
Discussions
Forums
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
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
тАО07-05-2004 01:09 AM
тАО07-05-2004 01:09 AM
Unexpected samba 'refresh'
Since a while, our samba server is getting into trouble twice a week. Here's what happens: On monday & thursday at 14h00 the load of the machine goes sky-high. This is what usually happens after reconfiguring smb.conf: the machine refreshes every single samba process. However, this happens out of the blue ?!?
We've been looking around, and there are no scheduled jobs concerning the machine at these times. However, we can sync our clocks to the event, so that's worrying..
I do find these in the syslog:
Jul 5 14:00:43 myserver inetd[2766]: netbios_ssn/tcp: accept: No buffer space available
They occur as long as the problem is there.
So, that would mean inetd is having trouble accepting tcp connections. The "no buffer space" error looks like a memory issue at first sight, but apparently it doesn't have to be: Should we be facing some performance issue (system/network) it might happen that this error gets logged when a connection attempt was aborted by the client before it got acknowledged by the server.
Note that the error only spawns on the NetBios session manager.
I do have about 3% physical swap in use (which is not perfect), but I don't see an acute issue in that.
The samba version is 2.0.9.. I know that's not too recent, however that's no reason to suddenly start hicking up.
Any (any!) ideas would be welcome ! With a load of 600 not many of my users can access their files during 10 minutes :/
Thanks in advance
Greetz
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 01:32 AM
тАО07-05-2004 01:32 AM
Re: Unexpected samba 'refresh'
Can you enable detailed logging on the Samba shares just before you expect it to happen, and see who is doing what? Sorry not really used Samba so can't suggest a specific option, but presumably there are options in smb.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 01:33 AM
тАО07-05-2004 01:33 AM
Re: Unexpected samba 'refresh'
Check for errors on the lancard(s)...
Investigate ndd - maybe a tuning parameter...
Maybe, change the network card, may be with network cards buffers.
Try to increase the TCP receive buffer size.
The only thing in samba I can think of is to set:
keepalive = 0
in smb.conf, then restart samba...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 01:57 AM
тАО07-05-2004 01:57 AM
Re: Unexpected samba 'refresh'
Geoff: Indeed, the further we look the more it looks like network things. We'll investigate more on that track. (apparently DHCP is not doing much either at that time)
There has been an upgrade of our backbone lately, and of course machines were placed in new network segments while I was on sick leave :-/
Will let you know
thx already
greetz
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 02:19 AM
тАО07-05-2004 02:19 AM
Re: Unexpected samba 'refresh'
-=ChaZ=-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 02:31 AM
тАО07-05-2004 02:31 AM
Re: Unexpected samba 'refresh'
17807 connect requests dropped due to full queue
That's the output now, though.. The problem occured the last time 2,5 hrs. ago. I can't really tell whether this number is significant or not. Would be nice if you could let me know !
thx again
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 03:24 AM
тАО07-05-2004 03:24 AM
Re: Unexpected samba 'refresh'
I'd take a look at the HP-UX kernel parameter of maxusers, which usually controlls nproc and nfiles by formula, if not them as well.
Don't forger maxuprc
Seems we are bumping into an OS limit. A quick read of the smb.conf file might be of use in directing this.
Some peformance data collection would be useful as well.
I recommend a conservative, one kernel parameter at a time approch, as far as forumula dependencies allow.
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
тАО07-05-2004 03:53 AM
тАО07-05-2004 03:53 AM
Re: Unexpected samba 'refresh'
However, since this only occurs at 2 specific times every week (with unequal times in between: mon & thu @ 14h, that's 3 days and then 4), I'm thinking something abnormal is happening at these times.
Since everything works fine at any other time, I'm a bit reluctant to start oversizing things to try and cope with this boost.. For now I want to assume that this boost should not be there ;-)
All my shells running netstat, iostat, vmstat, ... hang together with the machine, so except for increasing context switches at the beginning I can't get too much info.
Since we're really starting to suspect one 'external' machine to be the culprit, we're going to sniff all the traffic to the machine on thursday when it happens.
Will keep you updated
Thanks a lot
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2007 08:53 PM
тАО01-02-2007 08:53 PM
Re: Unexpected samba 'refresh'
Well, just so you know: the problem "magically" ceased to exist some time after the above posts.
I remember seeing one weird thing in the sniffing results, which was a huge cascade of netbios packets coming from certain PCs.
These PCs were found to have dynamic DNS enabled while our environment didn't support this. All PCs were checked for these settings shortly thereafter.
Unsure whether they were related.
No worries about that anymore now, since my datacenter has been migrated away to a cheaper place :(
Wish me luck at my new job ;-)
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2007 08:57 PM
тАО01-02-2007 08:57 PM