Hi Jonathan,

Jonathan Angliss reportedly babbled:
>
>>> Have seen something similar when php hit its limits for execution-time
>>> or memory.
>
>>> To provoce it: search all mailboxes or upload a too big file.
>>> Sorry for the little informative "me to" posting. It needs more
>>> investigating.
>
>>> For what its worth: Could more or less avoid it by giving more resources
>>> in php.ini and/or limit what the user can do. (no search all mailboxes).
>
>> Ok.. I will look further into this.. I have a lot of memory allocated to
>> php (32 mb) and 30 sec script timeouts.. but I will look at this a bit
>> more. I Have nothing else that gives me an issue as far as PHP os
>> concerned.. but SM is the most intensive thing running PHP on the server..
>> all the other stuff is just webpage delivery stuff.

>
> I believe I missed the beginning of this thread, so I'm jumping in
> mid-way, and will probably cover a few things.  Have you tried server side
> sorting?  Have you been able to narrow down which pages are the cause of
> the server to spin?  Have you run an strace on the run-away daemon?  Is
> your IMAP server also in the list of application using a lot of
> cpu/memory?  Are your users allowed shell access to their home
> directories? Can/have they put large files/symlinks/etc in their home
> directories?

Well basically a few of us are running into 100% cpu usage and things hanging
sometimes with SM. I have most all of the latest parts/updates on my system..

Dual AMD 2400 + MP cpu
Apache 2.0.53
UW Imap 2004e
SM 1.4.4
PHP 4.3.9 - 32 b memory allocation - 30 sec timeout.

No shell accounts
Gobs of memory (4 gb)
Server side sorting on

I just have not had a lot of time to debug it.. but I do beleive it hangs on 
large
file attachments.. and mostly on my own mail as I am the most abusive user on 
the
system out of about 100 accounts (all email). There are only 2 shell accounts.. 
mine
and a friend who is *NIX safe.. And the accounts are used just for admin. But 
now
that I am thinking more about this.. I am going to try and push the PHP timeout
limit out to 60 secs as I have huge mailboxes on a UW Imap (slow) and I also 
allow
20 mb attachements in the email. I will let you know what I find in a few days.


-R
--
------------------------------------------------------------------------
 Rich Hall
 [EMAIL PROTECTED]
 http://www.netlynx.us/rich/
 ham radio: kf6arx
------------------------------------------------------------------------
 No trees were destroyed in the sending of this message; however,
 a significant number of electrons were terribly inconvenienced.
------------------------------------------------------------------------
 And remember - if it ain't broke, hit it again.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
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=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to