#if defined (__alpha) || defined (__ALPHA) /* Hack for Tru64 */ #define SMALLBUF 4096 #define BIGBUF 32768 #else #define SMALLBUF 8192 #define BIGBUF 65536 #endif /*ALPHA*/
Everything is working happily after halving these buffer sizes. Incidently, SMALLBUF was set to 4096 in mimedefang V2.28. I don't when it was made larger.
Is there any problem with decreaing these parameters in this way?
If it's OK, you might want to put a similar ifdef into a new release, for small-stack systems. (Together with an option in the config script.)
Can the stack usage grow arbitrarily depending on how busy mimedefang is, ie, how many concurrent milter threads and mimedefang slaves are operating? I don't want this to come back and bring things to a halt if the system gets very busy. Can mimedefang buffers be allocated off the stack?
David Potterveld Argonne National Lab. _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

