steve at celineandsteve.com
Mon Mar 27 06:25:31 GMT 2006
You should have joined the OpenBSD technical list, or at least looked at
There is a "feature" in the particular sequence of events with an
opendir, seekdir, telldir, system calls that can cause memory usage
increase. You should be able to find it on the mail list archives.
There is a proposed patch to OpenBSD that changes the way that these
calls work, but to the best of my memory, it has not been imported into
the source tree yet.
It is more of a problem on directories with a large number of files.
Tim Judd wrote:
> Hey group
> I'm not a subscriber -- but I think I've found the source of my
> problem. I'm having identical problems to a lot of people posting
> around the world -- is that when you work with lots of data (100MB
> minimum it seems to be), the windows box will say "Network connection
> is no longer available" and (in my case) my OpenBSD 3.8 system would
> lock up. OpenBSD doesn't panic, just locks up and you cannot run any
> userland programs on it. pinging will work, but nothing else.
> I think there might be a memory leak, this is why:
> Running top, I was watching the memory usage and processor usage while
> doing a task that always fails. When I left the room the OpenBSD
> machine was running in, it had over 60MB of swapspace used and growing
> steadily. None of the files that were copied were more than 73.1 (file
> size of biggest file). If smbd is using all this memory and when the
> swapspace runs out (128M or more), the system halts, windows stops
> seeing information, userland programs stop working (including shells).
> I've tuned kernel paramaters (sysctl) for socket buffers, and max
> filehandles so smbd doesn't complain on startup. It still fails
> I'm not yet joined to the technical list, but I thought I'd throw this
> option out there, as that I've seen many people with this same problem.
> Thank you ALL for your excellent program, I'll definately keep using it
> even during these rough times.
> If opportunity doesn't knock, build a door.
> "I can" is a way of life.
> More and Bigger is not always Better.
> The road to success is always uphill.
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
More information about the samba-technical