<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Jeff<br>
<br>
On 2/10/2010 5:27 PM, Jeff Jones wrote:
<blockquote cite="mid:281A2E5D-2F51-4C35-854D-0F07D056BE4E@mac.com"
type="cite"><span class="Apple-style-span" style="font-size:
medium;"><span></span><span>Had a quick go with setting up zpush
for mobile users on our BX box. All seemed ok for a few hours,
until users reported getting a password box pop up with an
error about invalid password. Typing in the password again
does not help. Only rebooting phone sorts problem.</span><br>
</span></blockquote>
<br>
Try looking at /var/log/admserv/adm_error for the period when this
happens. Some of the thoughts below come from what I've seen on my
box. I've finally got it all working the way I want, but there's a
few traps you need to beware of.<br>
<br>
1. If your users try to get "large" mail from your server, (bigger
than the admserv php limit), I've seen php bombing out. <br>
2. When PHP croaks, I have seen some nasty side effects. I am
guessing a little, but I think the imap connector is not releasing
used memory each time PHP dies. End result: Memory leak. At one
time, admserv was consuming about 6 gig of ram on my box.<br>
<br>
So: Whats the answer? On my box, I am the only zpush user, so I
decided to reduce the max number of apache processes running for
admserv... At least that limits my risk. You can do this in
/etc/admserv/conf/httpd.conf .... but be warned. DONT DO THIS if you
have lots of zpush users!<br>
<br>
StartServers 2<br>
MinSpareServers 1<br>
MaxSpareServers 2<br>
<br>
Then, I made another change to that file...<br>
<br>
MaxRequestsPerChild 40<br>
<br>
The above will ensure that each apache process dies every 40
requests. A bit of a performance hit, but at least the server is
alive.<br>
<br>
Finally, you can also edit /etc/admserv/php.ini and increase the max
memory to try and reduce the problems with the current memory
limit...<br>
<br>
Hope that helps,<br>
Greg.<br>
<br>
<pre class="moz-signature" cols="72">--
+---------------------------------------------------------------------+
| / \ Greg Kuhnert, <a class="moz-txt-link-abbreviated" href="mailto:gkuhnert@compassnetworks.com.au">gkuhnert@compassnetworks.com.au</a> |
| < o > Compass Networks - Pointing you in the right direction |
| \ / Come see us for BlueQuartz / BlueOnyx modules & Support. |
+---------------------------------------------------------------------+
</pre>
</body>
</html>