[imp] IMP/Turba address book problem

Gottschalk, David dgottsc at emory.edu
Thu May 3 15:17:41 UTC 2007


Hi all,
        I have a really strange problem with the address book within IMP/Turba. FYI, my webmail architecture is 2 front end web servers with a backend mysql database server. The front end webservers are load balanced. Whenever any user attempts to add a name to the address book the web page will timeout after hitting save. The strange thing is that the name gets immediately entered in the mysql database, but the page never reloads. This error can also occur when attempting to remove a entry within the address book as well. If you close the browser, and re-login you'll then see the entry in your address book. I've ton extensive trouble shooting, and research. I believe I've narrowed the problem down to something within the PHP code, but I'm not sure what is causing the exact problem. It appears that the apache process that is handling the user crashes.

phperror log:
[26-Apr-2007 14:00:21] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16 bytes) in /usr/local/sslwebdocs/horde-3.0.6/lib/Horde/DataTree.php on line 601

Line 601 is:
$parents = explode(':', substr($cparents[$id], 1));
apache error log:
Allowed memory size of 134217728 bytes exhausted (tried to allocate 17 bytes)
I've tried bumping up the memory limit but that had no effect.

Any help on this would be greatly appreciated as this is effecting a large number of users.  Below is information about my environment:

uname -a (Solaris 9)
SunOS servernameremoved 5.9 Generic_118558-35 sun4u sparc SUNW,Sun-Fire-480R

httpd -v
Server version: Apache/2.0.58
Server built:   Jul 10 2006 12:54:45

IMP Version

IMP: H3 (4.0.5)
Other Horde Applications
gollem: No
Gollem provides access to local VFS filesystems to attach files.
ingo: Yes (Version: H3 (1.0.1))
nag: Yes (Version: H3 (2.0.2))
turba: Yes (Version: H3 (2.0.5))

PHP Version

PHP Version: 5.1.6
PHP Major Version: 5.1
PHP Minor Version: 6
PHP Version Classification: release
This version of PHP is not supported. You need to downgrade to an older version (< 5.0.4).
PHP Module Capabilities
IMAP Support: Yes
OpenSSL Support: Yes
Miscellaneous PHP Settings
file_uploads enabled: Yes
Required IMP Configuration Files
config/conf.php: Yes
config/mime_drivers.php: Yes
config/prefs.php: Yes
config/servers.php: Yes

PEAR

PEAR Search Path (PHP's include_path):  /usr/local/sslwebdocs/horde-3.0.6/lib:.:/usr/local/lib/php
PEAR: Yes
Recent PEAR: Yes
HTTP_Request: Yes

David Gottschalk
Emory University Email Administrator
dgottsc at emory.edu<mailto:dgottsc at emory.edu>



More information about the imp mailing list