View previous topic :: View next topic |
Author |
Message |
Crimson Rider Guru
Joined: 23 Jun 2003 Posts: 462 Location: Delft, the Netherlands
|
Posted: Fri Jul 15, 2005 7:52 am Post subject: Samba slows down |
|
|
Hi,
I have this samba server, an AMD64-3000, 1 gb of ram, 1 hd for the system, 3 hd in RAID5 and of course Gentoo, kernel 2.6.11-r11. The Samba server is the primary domain server.
Now something weird is going on with this server. All works fine during the day, but then, in the morning someone logs in for the first time, it takes about 20 to 30 minutes for him to login. After that, most of the users can log in fine. Also, it seems to take a long time for SSH to respond to my login request, but that could be something else.
This is the samba config file I use
Code: |
[global]
log file = /var/log/samba/log.%m
workgroup = MYGROUP
domain logons = yes
server string = Samba running %v
netbios name = mynet
interfaces = 192.168.1.0/255.255.255.0
local master = yes
wins support = yes
preferred master = yes
domain master = yes
security = user
name resolve order = wins lmhosts hosts bcast
os level = 34
# socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
create mask = 775
encrypt passwords = Yes
logon drive = H:
logon home = \\%L\%U\.profile
logon script = netlogon.bat
logon path = \\%L\profiles\%U
directory mask = 775
max log size = 50
[homes]
read only = No
browseable = No
create mask = 0644
directory mask = 0755
[netlogon]
path = /home/%U/netlogon
guest ok = Yes
[profiles]
create mask = 0600
browseable = no
directory mask = 0700
writable = yes
path = /home/samba/profiles
[bh]
path = /opt/server/samba/beheer
read only = No
guest ok = yes
browseable = yes
|
Also, when I checked the logs, I gotten this entry.
Code: |
Jul 15 08:28:55 fireopal smbd[13953]: get_alias_user_groups: gid of user niels doesn't exist. Check your /etc/passwd and /etc/group files
Jul 15 08:28:55 fireopal smbd[13953]: get_alias_user_groups: gid of glenn niels doesn't exist. Check your /etc/passwd and /etc/group files
|
Can anyone shed some light on this? Thanx in advance. _________________ Code, justify, code - Pitr Dubovich |
|
Back to top |
|
|
Crimson Rider Guru
Joined: 23 Jun 2003 Posts: 462 Location: Delft, the Netherlands
|
Posted: Fri Jul 15, 2005 8:31 am Post subject: |
|
|
Also, now these keep popping up
Code: |
Jul 15 10:33:04 fireopal smbd[14373]: [2005/07/15 10:33:04, 0] lib/util_sock.c:get_peer_addr(1000)
Jul 15 10:33:04 fireopal smbd[14373]: getpeername failed. Error was Transport endpoint is not connected
Jul 15 10:33:04 fireopal smbd[14373]: [2005/07/15 10:33:04, 0] lib/util_sock.c:write_socket_data(430)
Jul 15 10:33:04 fireopal smbd[14373]: write_socket_data: write failure. Error = Connection reset by peer
Jul 15 10:33:04 fireopal smbd[14373]: [2005/07/15 10:33:04, 0] lib/util_sock.c:write_socket(455)
Jul 15 10:33:04 fireopal smbd[14373]: write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection reset by peer
Jul 15 10:33:04 fireopal smbd[14373]: [2005/07/15 10:33:04, 0] lib/util_sock.c:send_smb(647)
Jul 15 10:33:04 fireopal smbd[14373]: Error writing 4 bytes to client. -1. (Connection reset by peer)
|
_________________ Code, justify, code - Pitr Dubovich |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|