mbc@reisonline.com
2004-Jun-16 12:25 UTC
[Samba] Samba consuming massive amounts of memory (CONT)
Concerning Samba consuming memory, I forgot to add one thing, sorry. The process listing does not show Smbd consuming the memory. "free -m" just reports a drastic increase when I use Samba. Relevant portions of ps -fwaux: root 6412 0.0 0.0 10060 2548 ? S 08:01 0:00 /usr/sbin/smbd -D -s /etc/samba/smb.conf reisuser 6478 0.0 0.0 10420 3136 ? S 08:01 0:00 \_ /usr/sbin/smbd -D -s /etc/samba/smb.conf root 6702 0.0 0.0 10436 3560 ? S 08:04 0:00 \_ /usr/sbin/smbd -D -s /etc/samba/smb.conf root 6703 0.0 0.0 10428 3368 ? S 08:04 0:00 \_ /usr/sbin/smbd -D -s /etc/samba/smb.conf root 6788 1.8 0.1 10908 4172 ? S 08:07 0:19 \_ /usr/sbin/smbd -D -s /etc/samba/smb.conf Thanks you! Matthew
Holger Krull
2004-Jun-16 14:18 UTC
[Samba] Samba consuming massive amounts of memory (CONT)
mbc@reisonline.com schrieb:> Concerning Samba consuming memory, I forgot to add one thing, sorry.> The process listing does not show Smbd consuming the memory. "free -m" just > reports a drastic increase when I use Samba.This probably is only the file cache using the previously unallocated memory. It's not uncommon to use all available memory on a unix system. If you use linux you may reduce the dirty time in bdflush to avoid a time 'penalty' if the memory is really needed by another program.
mbc@reisonline.com
2004-Jun-16 14:40 UTC
[Samba] Samba consuming massive amounts of memory (CONT)
>>The process listing does not show Smbd consuming the memory. "free -m"just>>reports a drastic increase when I use Samba.>This probably is only the file cache using the previously unallocatedmemory. Holger: That's exactly what I thought. However, when all of the memory is finally consumed, I can no longer copy files from the samba share to my Win2K box. Windows says, "Cannot read from source file or disk". When I reboot the machine, it works perfectly. Thanks! Matthew