+ Post New Thread
Results 1 to 4 of 4
*nix Thread, Samba Tip in Technical; I have recently implemented a Linux/Samba/Cups/Pykota based print server. However I hit a problem with samba. There was very high ...
  1. #1

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Samba Tip

    I have recently implemented a Linux/Samba/Cups/Pykota based print server. However I hit a problem with samba. There was very high CPU usage, mainly because of winbind and also hundreds of smbd processes.

    The root cause was that the server was keeping connections open to clients and waiting for the clients to drop the connection (a default setting in samba it seems). So I had to change the 'deadtime' global configuration option. I chose to use a setting of 5 (which means 5 minutes) before idle connections are dropped. This has reduced my 30+ load average to around 1.5

  2. #2
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,491
    Thank Post
    10
    Thanked 502 Times in 442 Posts
    Rep Power
    114

    Re: Samba Tip

    hmm, wonder if it affects OS X too. Although I should think I'd have to send out a search party to various retirement homes to find any people who worked on the version supplied with OS X

  3. #3

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Samba Tip

    Maybe, it just seemed a silly to default to a setting that can cripple a samba server in a high workload enviroment. :/

  4. #4
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,491
    Thank Post
    10
    Thanked 502 Times in 442 Posts
    Rep Power
    114

    Re: Samba Tip

    Deadtime 5 already it seems.



SHARE:
+ Post New Thread

Similar Threads

  1. Samba 4
    By FN-GM in forum *nix
    Replies: 8
    Last Post: 9th October 2007, 01:28 AM
  2. Samba share
    By apeo in forum *nix
    Replies: 17
    Last Post: 16th July 2007, 01:21 PM
  3. Samba
    By Jackd in forum Wireless Networks
    Replies: 2
    Last Post: 28th June 2007, 07:25 AM
  4. Samba (the joy of)
    By ZeroHour in forum *nix
    Replies: 1
    Last Post: 23rd January 2007, 01:21 AM
  5. Samba config
    By Dos_Box in forum *nix
    Replies: 7
    Last Post: 19th October 2005, 10:21 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •