Matthijs Kooijman schrieb: > On my system, using apache2 and php4, lam shows it's pages really slow. > Each page takes about 10 or 15 seconds to load, which makes using lam a > real PITA.
There are some performance issues with the session encryption. You can try installing php4-mcrypt and add the extension to your php.ini. LAM 0.5.0 will no longer support the old Blowfish encryption but only MCrypt. This will probably solve your problem. > Since not just the processing and/or LDAP accessing pages were slowed, > but also for example the help page (which is essentially a static page), > I started investigating the cause. > I've traced this problem to the session_start call in the various source > files. When removing the session_start call, the page will load at > normal speed. Also, when removing the session, the page will load > normally. But LAM will not work without session. ;-) > I don't have any clue what in the session makes the pages so slow, but I > did notice that a _lot_ of info is stored in the session (the session > file is over 20K here). I'm not sure if that would be a problem, but it > might be.. Your version of LAM basically stores the configuration settings in the session. LAM 0.5.0 will also cache some LDAP queries which result in more memory use (32MB is the recommended setting for php.ini). > Hardware is only 500Mhz, btw, but that should be plenty to run something > "simple" as lam. Depends on how many users you manage. For less than 100 this should be no problem. Greetings, Roland
signature.asc
Description: OpenPGP digital signature