Prev | Current Page 232 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

4.23 MEMCHUNKSIZE
Specify memory allocation size Tune, edit sendmail/conf.h
When sendmail reads lines of text from the configuration file or from qf queue files, it calls
an internal routine named fgetfolded( ). That routine is initially passed a buffer of size
MAXLINE into which to fit the read line. If the line is longer than MAXLINE, the sendmail
program dynamically increases the space required to hold the line by MEMCHUNKSIZE.
When collecting the headers of a mail message, sendmail also begins witha buffer sized to
MAXLINE. If a header arrives that is larger than MAXLINE characters, sendmail will
increase the size of its buffer by MEMCHUNKSIZE as many times as is necessary to fully
contain that header??™s data up to but not exceeding the value of the MaxHeadersLength
option (?§24.9.66 on page 1045).
The default value assigned to MEMCHUNKSIZE is 1,024 bytes. If you need to change that
value (for example, to port to a new system??™s strange malloc(3) requirements or for performance
reasons), you must edit sendmail/conf.h:
# define MEMCHUNKSIZE 1024 /* chunk size for memory allocation */
?†‘
change this to your new value
There is no debugging command-line switch to display this size for a precompiled sendmail.
If this size is of concern, you must either discuss it with your vendor or download and
build open source sendmail.


Pages:
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244
schody marmurowe warszawa Romantyczny weekend mimre.benton.pl out of home advertising cukiernia-stykowscy.pl