[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache config + startup.pl attached; Re: Apache2 with Plack;



Hi Erik,

Thanks for your patch!
mod_perl/plack is almost successful now.

Upgrading my DB to 1.4.30-dev failed using setup.pl:

2016/06/01 14:57:41 - ERROR - LedgerSMB::_error /opt/ledgersmb/ledgersmb.git/LedgerSMB.pm (639) -- 
Module Fixes.sql failed to load at /opt/ledgersmb/ledgersmb.git/LedgerSMB/Database.pm line 656.

So I upgraded my DB using the bash script "reload_modules.sh" (INSTALL file)

Now I was able to login!
COA list time dropped from 9 sec (CGI) to 6 sec (plack). Great!

Success is limited however since mod_perl doesn't seem to properly handle the "old-handler.pl".
Alle modules requiring the "old-handler.pl" are passed as is to the browser!

(Using apache2 mpm_event)

Regards,

Marjan

On 2016-05-31 14:45, Erik Huelsmann wrote:
> Hi Marjan,
>
>     [ Switched Apache2 to prefork mpm from event mpm ]
>
>     Running on the Prefork MPM isn't much better, I'm affraid. What I've been able to establish
>     through debugging now, is that there's one thing very different in this setup than on any other
>     setup: It's not an uninitialized value that's causing the problem; it's an object of type
>     Apache2::RequestRec which is specific to this setup that's causing the problem.
>     Knowing what the problem is, I can at least put a patch in 1.4.30 which works around this
>     problem: it's a 2-line change (in 5 files). That'd at least allow you to further experiment with
>     the setup. Would that be helpful? (Once the change is in the tree, you could even apply it to
>     your local 1.4.<anything> installation; I don't think these files have changed in ages.
>
>
> This is the commit that was required to work around the mod_perl2 problem:
> https://github.com/ledgersmb/LedgerSMB/commit/362bf91a41359a462aa62eef1839e31d732e73d2  Maybe you
> can cherry-pick it into your own tree until 1.4.30 is released? (It's scheduled for release in 1.4.30.)
>
> --
> Bye,
>
> Erik.
>
> http://efficito.com <http://efficito.com/> -- Hosted accounting and ERP.
> Robust and Flexible. No vendor lock-in.
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>
>
>
> _______________________________________________
> Ledger-smb-users mailing list
> ..hidden..
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
>

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users