- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CIFS/9000 ignoring max log size parameter
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
12-19-2002 12:27 AM
12-19-2002 12:27 AM
last night ran into a full stop of my CIFS/9000 Server in a production environment.
What has happened?
Samba did not allow any Clients to connect, because the filesystem containing the log-files was filled up.
Why?
some logfiles (named %m.%u.log) grew enourmous large (speaking of some 10 MBs) instead of getting cut at 100 kB (as specified in smb.conf, max log size = 100)
This way samba was up and running, but would not allow any actions.
Did anybody have this or a similar effect ?
some more Details about the System:
HPUX 11.0
Serviceguard A.11.09
CIFS9000 A.01.02
smb.conf:
security = SHARE
log level = 5
max log size = 10
log file = /cifs/samba/log/%m.%u.log
As a first workaround I set now log level to 1 and max log size to 10
And I set up a cron to page me when a Fleisystem grews to 90 % ...
Christian
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 01:20 AM
12-19-2002 01:20 AM
Re: CIFS/9000 ignoring max log size parameter
Run testparms command against your current configuration file and check for errors.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 01:58 AM
12-19-2002 01:58 AM
Re: CIFS/9000 ignoring max log size parameter
Load smb config files from /etc/opt/samba/smb.conf
Loaded services file OK.
WARNING: You have some share names that are longer than 8 chars
These may give errors while browsing or may not be accessible
to some older clients
Press enter to see a dump of your service definitions ...
Seems OK
the System is running now for almost 1 Year. the only changes were adding some shares time by time.
My first Idea was also a typo in smb.conf
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 02:36 AM
12-19-2002 02:36 AM
Re: CIFS/9000 ignoring max log size parameter
#dos2ux /etc/opt/samba/smb.conf
Restart smbd once. Simulate the overflow of log files by appending some text files to them.
Does the problem come now.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 03:27 AM
12-19-2002 03:27 AM
Re: CIFS/9000 ignoring max log size parameter
Appended some chars to the logfile, it grows.
when it reaches max log size,
file gets renamed to .old and new logfile is created.
when this second logfile reaches max log size again, no switch happens, file keeps growing.
My thought was, that the previous .old file gets overwritten ...
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 03:32 AM
12-19-2002 03:32 AM
Re: CIFS/9000 ignoring max log size parameter
file is switched to .old not before client disconnects this mapped drive and reconnects again.
If a client does not close the connection, the file keeps growing.
This might be the problem I had last night.
My Clients are W2K-Terminal Servers, which reconnect very seldom (only when they are rebooted)
I'll keep an eye on that ....
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 02:39 AM
12-20-2002 02:39 AM
Solutionsince you are running a very old version of Samba, try to upgrade. Release A.01.07 was running very good, I am using A.01.08.01 and it is running well. The latest Release is A.01.09.01. You may free download from http://software.hp.com or the University of Utah site listed there.
---
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 01:23 AM
12-23-2002 01:23 AM
Re: CIFS/9000 ignoring max log size parameter
well, on another cluster I'm running the newest version of CIFS/9000. But for upgrading in need some planned downtime. Maybe I have a chance to do this during christmas ...
Merry christmas everybody
Christian