Hi Jeremy, Just wanted to let you know that the default shared memory segment size on Solaris 9 has been changed to 8 MB. If you want more on any versions of Solaris you simply need to edit /etc/system.
Regards Marc Jeremy Rumpf To: Igor Brezac <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> cc: [EMAIL PROTECTED], <[EMAIL PROTECTED]> Sent by: Subject: Re: [PATCH][saslauthd] cyrus-sasl-2.1.10/saslauthd credential caching [EMAIL PROTECTED] ew.cmu.edu 01/15/03 04:33 PM On Tuesday 14 January 2003 23:36 pm, Igor Brezac wrote: > Jeremy, > > This stuff looks great and with a limited user sample (10) the performance > improvement was almost 100 fold. Keep in mind, this is my first crack at > it. I am using Solaris 9. I am getting the following error > > # ./saslcache -s > could not attach shared memory segment: 1200 > shmat: Invalid argument > > It is likely I need to adjust shared memory params. I'll let you know > what I find. > > One more note, can you make the changes against the cvs version? > > -Igor > Ok, I've set things up on a Solaris 8 machine for testing. After a few tweaks, things appear to be working ok. One thing though, it seems that the maximum shared memory segment size on Solaris is 1M by default. Solaris users will have to tweak their system settings if a larger cache is desired. Due to this, I've set the default cache size to under 1M (down from ~4M). This way saslauthd will always start with the cache enabled under default circumstances. Changes at: ftp://ftp.net.ohio-state.edu/pub/users/jrumpf/cyrus-sasl/cyrus-sasl-2.1.10-cache-2.patch Or fully patched source at: ftp://ftp.net.ohio-state.edu/pub/users/jrumpf/cyrus-sasl/cyrus-sasl-2.1.10-cache-2.tar.gz I'll work on getting a diff against current cvs as well.... Thanks, Jeremy