brad.chand...@mbchandler.net: > I'm testing out postscreen with a shared memcache between different > servers. What should I set as the cachesize in /etc/sysconfig/memcached? > We get about 1 million connections per day. > > Also, what is the recommendation for the ttl in postscreen_cache? Am I > correct in assuming that the higher I set the ttl, the larger the cache > size will be, so that these two settings need to be coordinated? What > happens if the cachesize is too low?
If in doubt read documentation. Wietse $ man 5 memcache_table MEMCACHE_TABLE(5) File Formats Manual MEMCACHE_TABLE(5) ... NOTE 1: When using a memcache table as postscreen(8) or ver- ify(8) cache without persistent backup, specify a zero *_cache_cleanup_interval value with all Postfix instances that use the memcache, and specify the largest postscreen(8) *_ttl value or verify(8) *_expire_time value as the memcache table's ttl value. NOTE 2: According to memcache protocol documentation, a value greater than 30 days (2592000 seconds) specifies absolute UNIX time. Smaller values are relative to the time of the update.