Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> N00b In Trouble, Memory leak... apperantly in smbd
Credendo
post Oct 9 2003, 09:06 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 9-October 03
Member No.: 1,585



I've been running a linux fileserver here at work for about a year now and have had no troubles with it until about 2 months ago when a permesions error prevented me from accessing any account, even root. At the time it was easier to just wipe linux off and reinstall, but now I'm having some really nasty problems. We do a lot of database work with databases in the 100-100,000 record range. These are handled by a windows program, but the samba client seems to disagree with it... for one the databases often fail to close the files, thus leaving locks on files not actually open, but more importantly I've been haaving some form of memmory leak. I've got about a gig of RAM in my server, but no matter if I reset the samba client, kill it or anything else, I always end up with about 5.2 meg free space after only a day or so. Now I know your going to need more info then this but I'm not sure what info to post exactly, so if you can let me know any suggestions, or what info you may need I would appreciate it.
Go to the top of the page
 
+Quote Post
hughesjr
post Oct 9 2003, 02:24 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



If you are talking about free RAM on the Linux server (from a program like top), then that can be normal. Linux uses free RAM for cache and will use all the RAM, so you will show no RAM left ... cache will be deallocated and used as RAM as required.

What distrubution of linux are you using?

Are your connections from the windows machines on a fast LAN or are some of the windows clients located on a slower external network?


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Credendo
post Oct 9 2003, 03:33 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 9-October 03
Member No.: 1,585



Hey another Cat's Fan! No all the clients connecting are on 100 Mbit switched network. I'm using Mandrake 9.0 distro. Below is my samba.conf file.

# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
log file = /var/log/samba/log.%m
smb passwd file = /etc/samba/smbpasswd
load printers = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
read prediction = yes
force directory mode = 777
null passwords = yes
dns proxy = no
netbios name = server
locking = no
delete readonly = yes
printing = cups
server string = Samba Server %v
default = data
force create mode = 777
workgroup = MSHOME
printcap name = lpstat
create mode = 777
security = share
getwd cache = yes
max log size = 50
directory mode = 777

[data]
guest account = root
map archive = no
writable = yes
path = /mnt/windows
fake oplocks = yes
force user = root
hide dot files = no
guest only = yes
public = yes
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 08:40 AM