NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: smbd (samba) opens too many files (fstat)



This problem exists also only on one server, why I could not clarify so far and have also built the latest package, without success.
When I restart smbd, then fstat (open files) is okay again.

Regards,
Andreas

Andreas Beck schrieb:
Hello,

one of my samba-servers opens too many files until notification "Too many open files) from the system.

fstat | grep smbd |wc -l
1704

after 2h.

Is there a way, to reduce open files in samba, or must I set more descriptors? I think, 1704 open files, while copying 5GB small files, does not look good.

Regards,
Andreas

fstat:
...
root     smbd         538  816* internet stream tcp
root     smbd         538  817* internet stream tcp
root     smbd         538  818* internet stream tcp
root     smbd         538  819* internet stream tcp
root     smbd         538  820* internet stream tcp
root     smbd         538  821* internet stream tcp
root     smbd         538  822* internet stream tcp
root     smbd         538  823* internet stream tcp
root     smbd         538  824* internet stream tcp
root     smbd         538  825* internet stream tcp
root     smbd         538  826* internet stream tcp
root     smbd         538  827* internet stream tcp
root     smbd         538  828* internet stream tcp
root     smbd         538  829* internet stream tcp
root     smbd         538  830* internet stream tcp
root     smbd         538  831* internet stream tcp
root     smbd         538  832* internet stream tcp
root     smbd         538  833* internet stream tcp
root     smbd         538  834* internet stream tcp
root     smbd         538  835* internet stream tcp
root     smbd         538  836* internet stream tcp
root     smbd         538  837* internet stream tcp
root     smbd         538  838* internet stream tcp
root     smbd         538  839* internet stream tcp
root     smbd         538  840* internet stream tcp
root     smbd         538  841* internet stream tcp
root     smbd         538  842* internet stream tcp
root     smbd         538  843* internet stream tcp
root     smbd         538  844* internet stream tcp
root     smbd         538  845* internet stream tcp
root     smbd         538  846* internet stream tcp
root     smbd         538  847* internet stream tcp
root     smbd         538  848* internet stream tcp
root     smbd         538  849* internet stream tcp
...




Home | Main Index | Thread Index | Old Index