I did, but no change:

bash$ sysctl -w kern.maxfiles=65536
kern.maxfiles: 12328 -> 65536
bash$ sysctl -w kern.maxfilesperproc=32768
kern.maxfilesperproc: 11095 -> 32768


Output of top:

last pid: 53114;  load averages:  0.53,  0.25,  0.12    up
9+20:05:09  15:41:11
78 processes:  2 running, 76 sleeping
CPU states: 18.3% user,  0.0% nice, 37.0% system,  0.4%
interrupt, 44.4% idle
Mem: 189M Active, 609M Inact, 130M Wired, 36M Cache, 112M
Buf, 39M Free
Swap: 2048M Total, 2048M Free

  PID USERNAME      PRI NICE  SIZE    RES STATE  C   TIME 
 WCPU    CPU COMMAND
53080 virenp         47   0  2300K  2020K CPU1   1   0:18
93.25% 57.23% imapd
20776 www             2   0 28844K 14716K select 1   0:22 
0.88%  0.88% httpd
53091 bubba          2   0  2732K  2468K select 0   0:00 
1.88%  0.34% imapd
39675 bubba          2   0  2704K  2488K select 0   0:07 
0.20%  0.20% imapd
51378 www            18   0 26684K 12156K lockf  0   0:02 
0.05%  0.05% httpd


> Since you're running FreeBSD, my solution may not work
for
> you, but ...
> check your file handles!
>
> Viren Patel wrote:
>> I have been following this thread with great interest.
>> Here are my 4 cents. We have a webmail setup as
follows:
>>    Dual AMD Athlon MP 2400 w/ 1 GB RAM
>>    RAID 5 (3 ATA133 7200 RPM disks with 8MB cache)
>>    Adaptec 2400 ATA RAID controller
>>    Linksys Gigabit NIC (gigabit uplink to router ;-))
>>    FreeBSD 4.10
>>    Squirrelmail 1.4.3a (options to use server sort
etc).
>>    Apache 2_0_52,3 w/ modssl
>>    PHP 4.3.9 (increased memory & execution times in
>> php.ini)
>>    Turck-mmcache 2.4.6
>>    Courier IMAP 3.0.8,1 w/ server-side sorting
>>    Postfix 2.1.5,1 (maildir option)
>>    Vexira anti-virus
>> I am not using LDAP, MySQL etc. We have external SPAM
>> filtering, and I also do not have that many users - 250
>> in
>> all and only a fraction of them using SM.
>> This same setup was also on a dual PIII 1.1GHZ system.
>> In
>> both cases I experienced the same issues as the
original
>> author of this thread: CPU load jumps to 99% during
>> initial login (blew my argument for the AMD system out
>> of
>> the water!) After that initial login, the system is
>> fine.
>> This happens on accounts that have many folders and
>> subfolders.
>> Interesting thing is I have done almost all the
>> suggestions that have been made in this thread, I am
>> using
>> top-notch hardware (although not the best money can
>> buy),
>> and still experiencing the same issue, but with far
>> fewer
>> users than other setups.
>> Since we have so few SM users it's not a big deal, the
>> biggest CPU hog being myself ;-) but I can see where
>> this
>> would be a critical (read SM rejecting) issue when more
>> users come on. I have also looked into IMAP
alternatives
>> but the one that seems most promising - Dovecot - isn't
>> ready for production use yet.
>> For what it's worth, I think this is an SM issue
because
>> using other IMAP clients - Thunderbird, Evolution,
>> Eudora,
>> Outlook, etc. do not cause the jump in CPU load - at
>> least
>> not on my server.
>> Viren Patel
>> Chemistry & Biochemistry
>> University of Texas at Austin
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: InterSystems CACHE
>> FREE OODBMS DOWNLOAD - A multidimensional database that
>> combines
>> robust object and relational technologies, making it a
>> perfect match
>> for Java, C++,COM, XML, ODBC and JDBC.
>> www.intersystems.com/match8
>> --
>> squirrelmail-users mailing list
>> Posting Guidelines:
>> http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
>> List Archives:
>> http://news.gmane.org/thread.php?group=ane.mail.squirrelmail.user
List Archives:
>> http://sourceforge.net/mailarchive/forum.php?forum_id)95
>> List Info:
>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
.
>






-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to