Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - itiab

Pages: [1]
1
Installation and Upgrades / Re: Samba - High memory usage
« on: February 29, 2016, 10:40:08 pm »
I posted in that thread - will check ut what kernel am using but it was the bog standard iso from the latest download.

Samba file shares slow as slow can be and then really quick. disaster for client.

2
Installation and Upgrades / Re: Samba - High memory usage
« on: February 29, 2016, 09:28:57 am »
to add to this post. i notice there was a post re a newer Zentyal server hanging with a CPU time  out. We had the same thing which contributed to our crash.

el: [11649.843047] NMI watchdog: BUG: soft lockup - CPU#2 stuck for 22s! [smbd:12328]

Again linked to Samba. Debug in syslog can be provided.


3
I've also had that issue. Brand new Zentyal install.

See post here: https://forum.zentyal.org/index.php/topic,27428.0.html

Samba thread caused the issue.

Physical machine, i5 Intel processor , 4 cores, 8GB ram, three people in it, was moving a few fils from old server to this one. Total lock up and had to pull the power plug. Top showed a work load of over 128.0

Can provide syslog if required.

4
Installation and Upgrades / Samba - High memory usage
« on: February 29, 2016, 08:58:15 am »
We just installed a new Zentyal server. It has 8Gb of ram, not a huge amount but it is only serving 5 -6 people maximum. On boot up it uses 1.7Gb.

We copied in files from the old server and had long pauses and I tracked the issue down to the Zentyal server. It had a top value of 128 , 115, 87  and no those are not typos - the load was 128.0 current, 115.0 5 minutes and 87.0 in the last minute. Memory usage was also through the roof with 7.9Gb ram allocated and swap file / cache in use for over 1Gb of swap.

The major culprit seemed to be samba.

We crashed the server (it was unresponsive), restarted and checked again. Again 1.7Gb on startup. Copied more files and again up to 7.9Gb ram used with some swap in play. Only four people on the server.  I turned off antivirus checking and a few other services. We have had no Top load over 0.5 (this is a 4 Core CPU)

I see from historical posts and bugs Samba and high usage seems to be a recurring theme. We are really not wanting to risk another crash like we saw today. There are a lot of tight deadlines coming up. We do run another Zentyal server (it was commercial but after a couple of appalling lack of support issues with the parent company we decided not to pay them any more). It is on Ubuntu 12.04, 16Gb ram and using 95% of it but runs stable.
 
This version 4.2.2 .

top - 20:49:34 up  4:30,  2 users,  load average: 0.10, 0.09, 0.06
Tasks: 174 total,   1 running, 172 sleeping,   0 stopped,   1 zombie
%Cpu(s):  3.1 us,  1.3 sy,  0.0 ni, 95.3 id,  0.3 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem:   8032656 total,  7801008 used,   231648 free,   293580 buffers
KiB Swap: 16485372 total,    43500 used, 16441872 free.  5982484 cached Mem


Is it normal to see many samba threads and 05% of Ram in play?

Cheers
shane

5
Installation and Upgrades / Auto Expiry of Passwords = 365 Days
« on: October 20, 2015, 10:59:25 pm »
Zentyal automatically sets user password expiry using Samba, to 365 day ( 1 year) on installation
There is no way of setting this age limit or removing expiry from the main Zentyal portal, in either commercial or community editions

There is no way to fix the issue of expiry notices hitting users other than to manually change each user’s password in the User area. You cannot set a password to not expire under the Zentyal portal.

I see this as a major bug - password expiry, aging, and non-expiry are vital for Admins managing users.

Two ways to resolve:
1 – Manually reset user passwords
2 – Do as Rafael suggested via command line.  ( http://rafaelwolf.com/?p=1045 )

Be aware Rafaels command line for showing the settings works, his command line for fixing the settings doesn't as it is missing a hypen - see below

Command to show your settings: samba-tool domain passwordsettings show
Command to change your settings: samba-tool domain passwordsettings set –max-pwd-age=0 NOTE — this doesn’t work as -max-pwd-age should be --max-pwd-age

The reason it didn’t work is the –max-pwd-age=0 needs TWO Hyphens: Shown below.

sudo samba-tool domain passwordsettings set –max-pwd-age=0

To get into the command line you will need a tool like Putty ( http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe ) which you can download and run without installation.

When the command line comes up, log in as a user with admin (super user) abilities.

Run the commands above using sudo e.g.

sudo samba-tool domain passwordsettings show
sudo samba-tool domain passwordsettings set –max-pwd-age=0

The first time you use sudo it will ask you for your password – to elevate your privileges to full admin access level.

If you cant log in using putty, then you will have to log in from the command line of the Zentyal Server.

Pages: [1]