when you put something like preexec = echo "%m %I and once more: %m %I" >>/tmp/sambafoo into smb.conf, Samba will end up in an CPU time eating smbd process. The double variables seem to be the problem.
sounds similar to bug 250
Can you see if smbd is stuck in a mremap() loop? I think there should also be a panic message in the log file.
yes: mremap(0x4081a000, 499712, 499712, MREMAP_MAYMOVE) = 0x4081a000 mremap(0x4081a000, 499712, 499712, MREMAP_MAYMOVE) = 0x4081a000 and so on ...
... and by the way - there is _no_ panic in the logs.
This is a bug in alloca_sub_basic() I think. Working on a fix.
actually was a problem in realloc_string_sub(). Fixed in SAMBA_3_0 cvs tree. (see source/lib/util_str.c)
originally reported against 3.0.0beta3. CLeaning out non-production release versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.