|
I get this error when trying to use the OFBiz demos:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [hidden email] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.3 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server at ofbiz-vm.apache.org Port 443 -Adrian |
|
Yes it ran at 512mb out of memory...
increased memory to 768Mb and restarted. this means however with the current memory of 1Gb can only run one instance.... Regards, Hans On Sun, 2010-02-07 at 11:50 -0800, Adrian Crum wrote: > I get this error when trying to use the OFBiz demos: > > Internal Server Error > > The server encountered an internal error or misconfiguration and was unable to complete your request. > > Please contact the server administrator, [hidden email] and inform them of the time the error occurred, and anything you might have done that may have caused the error. > > More information about this error may be available in the server error log. > Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.3 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server at ofbiz-vm.apache.org Port 443 > > -Adrian > > > > Antwebsystems.com: Quality OFBiz services for competitive rates |
|
Hi Guys,
I just realised that on the new demo server the reports on this page don't work as the DataWarehouse has not been initialised. https://ofbiz-vm.apache.org/ordermgr/control/OrderPurchaseReportOptions?USERNAME=admin&PASSWORD=ofbiz&JavaScriptEnabled=Y If the demo server has a full rebuild each night can initialising the DataWarehouse be added to the list so that the reports work correctly. Cheers Sam On 08/02/2010 07:35, Hans Bakker wrote: > Yes it ran at 512mb out of memory... > increased memory to 768Mb and restarted. > > this means however with the current memory of 1Gb can only run one > instance.... > > Regards, > Hans > > > On Sun, 2010-02-07 at 11:50 -0800, Adrian Crum wrote: >> I get this error when trying to use the OFBiz demos: >> >> Internal Server Error >> >> The server encountered an internal error or misconfiguration and was unable to complete your request. >> >> Please contact the server administrator, [hidden email] and inform them of the time the error occurred, and anything you might have done that may have caused the error. >> >> More information about this error may be available in the server error log. >> Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.3 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server at ofbiz-vm.apache.org Port 443 >> >> -Adrian >> >> >> >> |
|
In reply to this post by hans_bakker
Thanks Hans,
I just visited the demo site and checked memory use - 384M had been allocated, with about 160MB in use. After running Artifact Info, 768MB had been allocated with over 600MB in use. I ran the GC and the in use memory dropped down to 393MB. -Adrian --- On Sun, 2/7/10, Hans Bakker <[hidden email]> wrote: > From: Hans Bakker <[hidden email]> > Subject: Re: Demo Servers Down? > To: [hidden email] > Date: Sunday, February 7, 2010, 3:35 PM > Yes it ran at 512mb out of memory... > increased memory to 768Mb and restarted. > > this means however with the current memory of 1Gb can only > run one > instance.... > > Regards, > Hans > > > On Sun, 2010-02-07 at 11:50 -0800, Adrian Crum wrote: > > I get this error when trying to use the OFBiz demos: > > > > Internal Server Error > > > > The server encountered an internal error or > misconfiguration and was unable to complete your request. > > > > Please contact the server administrator, [hidden email] > and inform them of the time the error occurred, and anything > you might have done that may have caused the error. > > > > More information about this error may be available in > the server error log. > > Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.3 with > Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server at > ofbiz-vm.apache.org Port 443 > > > > -Adrian > > > > > > > > > -- > Antwebsystems.com: Quality OFBiz services for competitive > rates > > |
|
It's a nice thing to have, but maybe we should disable the ArtifactInfo screen on the demo server. I guess either that or we need more memory for the demo. -David On Feb 7, 2010, at 9:39 PM, Adrian Crum wrote: > Thanks Hans, > > I just visited the demo site and checked memory use - 384M had been allocated, with about 160MB in use. After running Artifact Info, 768MB had been allocated with over 600MB in use. I ran the GC and the in use memory dropped down to 393MB. > > -Adrian > > --- On Sun, 2/7/10, Hans Bakker <[hidden email]> wrote: > >> From: Hans Bakker <[hidden email]> >> Subject: Re: Demo Servers Down? >> To: [hidden email] >> Date: Sunday, February 7, 2010, 3:35 PM >> Yes it ran at 512mb out of memory... >> increased memory to 768Mb and restarted. >> >> this means however with the current memory of 1Gb can only >> run one >> instance.... >> >> Regards, >> Hans >> >> >> On Sun, 2010-02-07 at 11:50 -0800, Adrian Crum wrote: >>> I get this error when trying to use the OFBiz demos: >>> >>> Internal Server Error >>> >>> The server encountered an internal error or >> misconfiguration and was unable to complete your request. >>> >>> Please contact the server administrator, [hidden email] >> and inform them of the time the error occurred, and anything >> you might have done that may have caused the error. >>> >>> More information about this error may be available in >> the server error log. >>> Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.3 with >> Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server at >> ofbiz-vm.apache.org Port 443 >>> >>> -Adrian >>> >>> >>> >>> >> -- >> Antwebsystems.com: Quality OFBiz services for competitive >> rates >> >> > > > |
|
That would be a simple fix, but I would like to see what others have to say about the memory use.
The artifact info screen is a good "acid test" - since it touches nearly every artifact in the project. In other words, let's use it as a tool to spot weaknesses or memory leaks. -Adrian --- On Sun, 2/7/10, David E Jones <[hidden email]> wrote: > From: David E Jones <[hidden email]> > Subject: Re: Demo Servers Down? > To: [hidden email] > Date: Sunday, February 7, 2010, 8:07 PM > > It's a nice thing to have, but maybe we should disable the > ArtifactInfo screen on the demo server. I guess either that > or we need more memory for the demo. > > -David > > > On Feb 7, 2010, at 9:39 PM, Adrian Crum wrote: > > > Thanks Hans, > > > > I just visited the demo site and checked memory use - > 384M had been allocated, with about 160MB in use. After > running Artifact Info, 768MB had been allocated with over > 600MB in use. I ran the GC and the in use memory dropped > down to 393MB. > > > > -Adrian > > > > --- On Sun, 2/7/10, Hans Bakker <[hidden email]> > wrote: > > > >> From: Hans Bakker <[hidden email]> > >> Subject: Re: Demo Servers Down? > >> To: [hidden email] > >> Date: Sunday, February 7, 2010, 3:35 PM > >> Yes it ran at 512mb out of memory... > >> increased memory to 768Mb and restarted. > >> > >> this means however with the current memory of 1Gb > can only > >> run one > >> instance.... > >> > >> Regards, > >> Hans > >> > >> > >> On Sun, 2010-02-07 at 11:50 -0800, Adrian Crum > wrote: > >>> I get this error when trying to use the OFBiz > demos: > >>> > >>> Internal Server Error > >>> > >>> The server encountered an internal error or > >> misconfiguration and was unable to complete your > request. > >>> > >>> Please contact the server administrator, [hidden email] > >> and inform them of the time the error occurred, > and anything > >> you might have done that may have caused the > error. > >>> > >>> More information about this error may be > available in > >> the server error log. > >>> Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.3 > with > >> Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server > at > >> ofbiz-vm.apache.org Port 443 > >>> > >>> -Adrian > >>> > >>> > >>> > >>> > >> -- > >> Antwebsystems.com: Quality OFBiz services for > competitive > >> rates > >> > >> > > > > > > > > |
|
I'd start by doubling the memory - go to 2 GB for two instances - at least. The server we were hosting at Contegix had 6 GB by the time we got comfy.
Cheers, Ruppert On Feb 7, 2010, at 11:06 PM, Adrian Crum wrote: > That would be a simple fix, but I would like to see what others have to say about the memory use. > > The artifact info screen is a good "acid test" - since it touches nearly every artifact in the project. In other words, let's use it as a tool to spot weaknesses or memory leaks. > > -Adrian > > > --- On Sun, 2/7/10, David E Jones <[hidden email]> wrote: > >> From: David E Jones <[hidden email]> >> Subject: Re: Demo Servers Down? >> To: [hidden email] >> Date: Sunday, February 7, 2010, 8:07 PM >> >> It's a nice thing to have, but maybe we should disable the >> ArtifactInfo screen on the demo server. I guess either that >> or we need more memory for the demo. >> >> -David >> >> >> On Feb 7, 2010, at 9:39 PM, Adrian Crum wrote: >> >>> Thanks Hans, >>> >>> I just visited the demo site and checked memory use - >> 384M had been allocated, with about 160MB in use. After >> running Artifact Info, 768MB had been allocated with over >> 600MB in use. I ran the GC and the in use memory dropped >> down to 393MB. >>> >>> -Adrian >>> >>> --- On Sun, 2/7/10, Hans Bakker <[hidden email]> >> wrote: >>> >>>> From: Hans Bakker <[hidden email]> >>>> Subject: Re: Demo Servers Down? >>>> To: [hidden email] >>>> Date: Sunday, February 7, 2010, 3:35 PM >>>> Yes it ran at 512mb out of memory... >>>> increased memory to 768Mb and restarted. >>>> >>>> this means however with the current memory of 1Gb >> can only >>>> run one >>>> instance.... >>>> >>>> Regards, >>>> Hans >>>> >>>> >>>> On Sun, 2010-02-07 at 11:50 -0800, Adrian Crum >> wrote: >>>>> I get this error when trying to use the OFBiz >> demos: >>>>> >>>>> Internal Server Error >>>>> >>>>> The server encountered an internal error or >>>> misconfiguration and was unable to complete your >> request. >>>>> >>>>> Please contact the server administrator, [hidden email] >>>> and inform them of the time the error occurred, >> and anything >>>> you might have done that may have caused the >> error. >>>>> >>>>> More information about this error may be >> available in >>>> the server error log. >>>>> Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.3 >> with >>>> Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server >> at >>>> ofbiz-vm.apache.org Port 443 >>>>> >>>>> -Adrian >>>>> >>>>> >>>>> >>>>> >>>> -- >>>> Antwebsystems.com: Quality OFBiz services for >> competitive >>>> rates >>>> >>>> >>> >>> >>> >> >> > > > |
|
This would be better, but is it possible? Anyway we should ask infra with a Jira to know...
Thanks Jacques From: "Tim Ruppert" <[hidden email]> I'd start by doubling the memory - go to 2 GB for two instances - at least. The server we were hosting at Contegix had 6 GB by the time we got comfy. Cheers, Ruppert On Feb 7, 2010, at 11:06 PM, Adrian Crum wrote: > That would be a simple fix, but I would like to see what others have to say about the memory use. > > The artifact info screen is a good "acid test" - since it touches nearly every artifact in the project. In other words, let's use > it as a tool to spot weaknesses or memory leaks. > > -Adrian > > > --- On Sun, 2/7/10, David E Jones <[hidden email]> wrote: > >> From: David E Jones <[hidden email]> >> Subject: Re: Demo Servers Down? >> To: [hidden email] >> Date: Sunday, February 7, 2010, 8:07 PM >> >> It's a nice thing to have, but maybe we should disable the >> ArtifactInfo screen on the demo server. I guess either that >> or we need more memory for the demo. >> >> -David >> >> >> On Feb 7, 2010, at 9:39 PM, Adrian Crum wrote: >> >>> Thanks Hans, >>> >>> I just visited the demo site and checked memory use - >> 384M had been allocated, with about 160MB in use. After >> running Artifact Info, 768MB had been allocated with over >> 600MB in use. I ran the GC and the in use memory dropped >> down to 393MB. >>> >>> -Adrian >>> >>> --- On Sun, 2/7/10, Hans Bakker <[hidden email]> >> wrote: >>> >>>> From: Hans Bakker <[hidden email]> >>>> Subject: Re: Demo Servers Down? >>>> To: [hidden email] >>>> Date: Sunday, February 7, 2010, 3:35 PM >>>> Yes it ran at 512mb out of memory... >>>> increased memory to 768Mb and restarted. >>>> >>>> this means however with the current memory of 1Gb >> can only >>>> run one >>>> instance.... >>>> >>>> Regards, >>>> Hans >>>> >>>> >>>> On Sun, 2010-02-07 at 11:50 -0800, Adrian Crum >> wrote: >>>>> I get this error when trying to use the OFBiz >> demos: >>>>> >>>>> Internal Server Error >>>>> >>>>> The server encountered an internal error or >>>> misconfiguration and was unable to complete your >> request. >>>>> >>>>> Please contact the server administrator, [hidden email] >>>> and inform them of the time the error occurred, >> and anything >>>> you might have done that may have caused the >> error. >>>>> >>>>> More information about this error may be >> available in >>>> the server error log. >>>>> Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.3 >> with >>>> Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server >> at >>>> ofbiz-vm.apache.org Port 443 >>>>> >>>>> -Adrian >>>>> >>>>> >>>>> >>>>> >>>> -- >>>> Antwebsystems.com: Quality OFBiz services for >> competitive >>>> rates >>>> >>>> >>> >>> >>> >> >> > > > |
|
In reply to this post by David E. Jones-2
David E Jones wrote:
> It's a nice thing to have, but maybe we should disable the ArtifactInfo screen on the demo server. I guess either that or we need more memory for the demo. > That will probably just mask the memory problem. It will still go down when people work their way through enough of the screens. What may be more critical is to ensure that memory is being released (dereferenced) more aggressively when memory gets tight. -- Ean Schuessler, CTO [hidden email] 214-720-0700 x 315 Brainfood, Inc. http://www.brainfood.com |
|
Thanks Ean, that's what I meant to say but couldn't find the words. I wasn't finding fault with the artifact info screen, instead I was trying to say it is revealing a memory problem, so we should definitely keep it.
-Adrian --- On Mon, 2/8/10, Ean Schuessler <[hidden email]> wrote: > From: Ean Schuessler <[hidden email]> > Subject: Re: Demo Servers Down? > To: [hidden email] > Date: Monday, February 8, 2010, 2:44 PM > David E Jones wrote: > > It's a nice thing to have, but maybe we should disable > the ArtifactInfo screen on the demo server. I guess either > that or we need more memory for the demo. > > > That will probably just mask the memory problem. It will > still go down > when people work their way through enough of the screens. > What may be > more critical is to ensure that memory is being released > (dereferenced) > more aggressively when memory gets tight. > > -- > Ean Schuessler, CTO > [hidden email] > 214-720-0700 x 315 > Brainfood, Inc. > http://www.brainfood.com > > |
|
The thing with the ArtifactInfo stuff is that you're not lazy-loading any more, you're getting every service implementation, screen, form, menu, etc all in memory at the same time. Currently in OFBiz that's a lot of stuff and it takes up a fair bit of memory. It could possibly be optimized to use less memory for the same stuff, but one way or another it's a lot of stuff. -David On Feb 8, 2010, at 6:07 PM, Adrian Crum wrote: > Thanks Ean, that's what I meant to say but couldn't find the words. I wasn't finding fault with the artifact info screen, instead I was trying to say it is revealing a memory problem, so we should definitely keep it. > > -Adrian > > --- On Mon, 2/8/10, Ean Schuessler <[hidden email]> wrote: > >> From: Ean Schuessler <[hidden email]> >> Subject: Re: Demo Servers Down? >> To: [hidden email] >> Date: Monday, February 8, 2010, 2:44 PM >> David E Jones wrote: >>> It's a nice thing to have, but maybe we should disable >> the ArtifactInfo screen on the demo server. I guess either >> that or we need more memory for the demo. >>> >> That will probably just mask the memory problem. It will >> still go down >> when people work their way through enough of the screens. >> What may be >> more critical is to ensure that memory is being released >> (dereferenced) >> more aggressively when memory gets tight. >> >> -- >> Ean Schuessler, CTO >> [hidden email] >> 214-720-0700 x 315 >> Brainfood, Inc. >> http://www.brainfood.com >> >> > > > |
|
David E Jones wrote:
> The thing with the ArtifactInfo stuff is that you're not lazy-loading any more, you're getting every service implementation, screen, form, menu, etc all in memory at the same time. Currently in OFBiz that's a lot of stuff and it takes up a fair bit of memory. It could possibly be optimized to use less memory for the same stuff, but one way or another it's a lot of stuff. It still doesn't need to keep it all in memory. The artifact stuff scans everything, so it can populate a drop-down. However, it keeps a hard-ref to it while it is scanning, and that is what causes the memory usage to balloon. |
|
On Feb 8, 2010, at 6:27 PM, Adam Heath wrote: > David E Jones wrote: >> The thing with the ArtifactInfo stuff is that you're not lazy-loading any more, you're getting every service implementation, screen, form, menu, etc all in memory at the same time. Currently in OFBiz that's a lot of stuff and it takes up a fair bit of memory. It could possibly be optimized to use less memory for the same stuff, but one way or another it's a lot of stuff. > > It still doesn't need to keep it all in memory. The artifact stuff > scans everything, so it can populate a drop-down. However, it keeps a > hard-ref to it while it is scanning, and that is what causes the > memory usage to balloon. It keeps it for a little more than a drop down. Try trimming things out and see how the searching, reverse references, and so on are working afterwards. -David |
|
David E Jones wrote:
> It keeps it for a little more than a drop down. Try trimming things out and see how the searching, reverse references, and so on are working afterwards. > Can it extract the data it needs from the entities and then release the references? -- Ean Schuessler, CTO [hidden email] 214-720-0700 x 315 Brainfood, Inc. http://www.brainfood.com |
|
Ean Schuessler wrote:
> David E Jones wrote: >> It keeps it for a little more than a drop down. Try trimming things out and see how the searching, reverse references, and so on are working afterwards. >> > Can it extract the data it needs from the entities and then release the > references? Yeah, it doesn't need to keep a referenc to the entire widget object graph, just the cross-references to each included part. |
| Free forum by Nabble | Edit this page |
