You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by BJ Freeman <bj...@free-man.net> on 2010/12/09 22:32:21 UTC

demo server performance

there is a thread on the user ML about the demo being slow.
I would think that would be a high priority for all those that commit 
and make changes to ofbiz.
after all what good is all this stuff if it can't be used.
I brought down the demo trunk by accessing with seperate requests at one 
time, as I stated on the user ml.

lets focus on real problems.




Re: demo server performance

Posted by BJ Freeman <bj...@free-man.net>.
Just for clarity, I don't test on the ofbiz "DEmO"
server.
I give links in responses to questions or ask them to run their steps on 
the server to make sure we are talking about the same thing.
I apologize if it seems I am demanding, by letting you know what I see 
that is transitional most of the time. It was meant to be helpful.
I really do appreciated your efforts, and please get some rest.

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Jacques Le Roux sent the following on 12/9/2010 3:27 PM:

> From: "BJ Freeman" <bj...@free-man.net>
>> Thanks for you view on my motives.
>> From what Jacques states the server has max hardware resources.
>> so what resources are you referring to?
>> I since I have a similar server running more than what Jacques has
>> stated, and it runs, I am at a loss on how to work on the ofbiz demo.
>> I have been focused as much as I am allowed on this for almost a year.
>> considering posting five urls at the same time should not effect a
>> server, I don't see that as testing the limits of the server.
>
> Which URLs? It really depends on them... Artifact Info, Entity
> Maintenance, Label Manager, etc. are good culprits... This does not mean
> that we can't use Entity Maintenance on the demo server, nor even
> Artifact Info. But it depends on the number of people which are using
> them at the same time. And when it's down, it's down: you will have to
> wait a good soul (not sleeping, like me in some mins) to reload the demo
> instance... Webtools are not all days tools for a production server... I
> will suggest to use rather such tools locally... Does it make sense?
>
> Thanks
>
> Jacques
>
>>
>> Scott Gray sent the following on 12/9/2010 1:47 PM:
>>> Everybody works on the areas of the system that are important to
>>> them, I suggest you do the same.
>>>
>>> The demo server is under-resourced so of course you're going to be
>>> able to bring it down if you try to, my suggestion is that you don't
>>> try to.
>>>
>>> Regards
>>> Scott
>>>
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>>
>>> On 10/12/2010, at 10:32 AM, BJ Freeman wrote:
>>>
>>>> there is a thread on the user ML about the demo being slow.
>>>> I would think that would be a high priority for all those that
>>>> commit and make changes to ofbiz.
>>>> after all what good is all this stuff if it can't be used.
>>>> I brought down the demo trunk by accessing with seperate requests at
>>>> one time, as I stated on the user ml.
>>>>
>>>> lets focus on real problems.
>>>>
>>>>
>>>>
>>>
>>
>
>
>

Re: demo server performance

Posted by Christian Geisert <ch...@isu-gmbh.de>.
Jacques Le Roux schrieb:
> Christian Geisert wrote:
>> Why just webtools, I think indexing the whole demo instance doesn't make
>> sense...
> 
> Yes, it's just that I'm not quite sure where to put the robots.txt 
> (under all wepbapps roots?). That's why I spoke about HTTPD conf. I 
> remember having handled robots there for a client site
> 
>> I'm happy to help here (I might even find some time on the weekend ;-)
> 
> You are welcome, but do you have an access? Else you might ask infra...

I have no access yet, will check out.

Christian

Re: demo server performance

Posted by Adam Heath <do...@brainfood.com>.
On 12/10/2010 12:40 PM, Bruno Busco wrote:
>>
>>
>> Or, maybe those certain things should not be enabled by default. Maybe move
>> them to a specialpurpose location, which then extends the
>> framework/application components with additional menu/screen entries.
>>
>
> We could also manage a patch committed to the SVN that is used for the demo
> server.
> The patch should be applied on the demo only and disable whatever we like.

Sure, having a patch applied after a checkout is good.  But that patch 
would have to be updated as svn changes; this is bad.

The urls we are discussing generally wouldn't be useful in a 
production environment, but you would want them during development. 
This goes for everyone who would be wanting to use ofbiz, then 
eventuatlly deploy.  So, a general purpose solution should be 
designed, not a one-off that is only used by the demo instances.

Re: demo server performance

Posted by Bruno Busco <br...@gmail.com>.
>
>
> Or, maybe those certain things should not be enabled by default. Maybe move
> them to a specialpurpose location, which then extends the
> framework/application components with additional menu/screen entries.
>

We could also manage a patch committed to the SVN that is used for the demo
server.
The patch should be applied on the demo only and disable whatever we like.

-Bruno

Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Adam Heath" <do...@brainfood.com>
> On 12/10/2010 07:20 AM, Jacques Le Roux wrote:
>> Christian Geisert wrote:
>>> Why just webtools, I think indexing the whole demo instance doesn't make
>>> sense...
>>
>> Yes, it's just that I'm not quite sure where to put the robots.txt
>> (under all wepbapps roots?). That's why I spoke about HTTPD conf. I
>> remember having handled robots there for a client site
>
> robots.txt must go at the root of the server, ie, /.

I'm not quite sure were is the root of the server. I tried OFBiz root and also (and rather) as I found  <<ServerRoot 
"/etc/apache2">> in /etc/apache2/apache2.conf put one there also.

> We don't want to keep google(or anything else) from indexing any of the demos.  It's useful to have them point to us.  What we do 
> want, is to preclude certain urls that cause things to fall over.
>
> Or, maybe those certain things should not be enabled by default. Maybe move them to a specialpurpose location, which then extends 
> the framework/application components with additional menu/screen entries.

Mmm...

Jacques 



Re: demo server performance

Posted by Adam Heath <do...@brainfood.com>.
On 12/10/2010 07:20 AM, Jacques Le Roux wrote:
> Christian Geisert wrote:
>> Why just webtools, I think indexing the whole demo instance doesn't make
>> sense...
>
> Yes, it's just that I'm not quite sure where to put the robots.txt
> (under all wepbapps roots?). That's why I spoke about HTTPD conf. I
> remember having handled robots there for a client site

robots.txt must go at the root of the server, ie, /.

We don't want to keep google(or anything else) from indexing any of 
the demos.  It's useful to have them point to us.  What we do want, is 
to preclude certain urls that cause things to fall over.

Or, maybe those certain things should not be enabled by default. 
Maybe move them to a specialpurpose location, which then extends the 
framework/application components with additional menu/screen entries.

Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
Christian Geisert wrote:
> Why just webtools, I think indexing the whole demo instance doesn't make
> sense...

Yes, it's just that I'm not quite sure where to put the robots.txt (under all wepbapps roots?). That's why I spoke about HTTPD conf. 
I remember having handled robots there for a client site

> I'm happy to help here (I might even find some time on the weekend ;-)

You are welcome, but do you have an access? Else you might ask infra...

Thanks

Jacques

> Christian
>
> Jacques Le Roux schrieb:
>> Right, that's what I would do if I knew where to put it. I tried to put
>> one at framework/webtools/webapp/webtools
>>
>> User-agent: *
>> Disallow: /
>>
>> But I'm not sure it works and anyway it would cover only webtools
>>
>> Jacques
>>
>> Christian Geisert wrote:
>>> Why not just kepp out Google (and all the other search engines) with
>>> robots.txt?
>>>
>>> Christian
>>>
>>> Jacques Le Roux schrieb:
>>>> We currently use flexadmin as it was set before we ran on Contegix. On
>>>> Contegix we used demoadmin, should we turn to it rather?
>>>>
>>>> Thanks
>>>>
>>>> Jacques
>>>>
>>>> Scott Gray wrote:
>>>>> That's an interesting point, I guess because of the admin credentials
>>>>> being included in the links to the demos that google is
>>>>> able to follow on through into all the backend apps.
>>>>> Regards
>>>>> Scott
>>>>>
>>>>> HotWax Media
>>>>> http://www.hotwaxmedia.com
>>>>>
>>>>> On 10/12/2010, at 10:24 PM, Bruno Busco wrote:
>>>>>
>>>>>> Yesterday I gave a look to the demo visits and found that Google is
>>>>>> hitting
>>>>>> the server about every 30 seconds.
>>>>>> So it is possible that any URL (includind Webtools->Artifact Info) is
>>>>>> hitten
>>>>>> almost frequently.
>>>>>>
>>>>>> -Bruno
>>>>>>
>>>>>> 2010/12/10 Jacques Le Roux <ja...@les7arts.com>
>>>>>>
>>>>>>> From: "BJ Freeman" <bj...@free-man.net>
>>>>>>>
>>>>>>>> Thanks for you view on my motives.
>>>>>>>>
>>>>>>>> From what Jacques states the server has max hardware resources.
>>>>>>>> so what resources are you referring to?
>>>>>>>> I since I have a similar server running more than what Jacques has
>>>>>>>> stated,
>>>>>>>> and it runs, I am at a loss on how to work on the ofbiz demo.
>>>>>>>> I have been focused as much as I am allowed on this for almost a
>>>>>>>> year.
>>>>>>>> considering posting five urls at the same time should not effect a
>>>>>>>> server,
>>>>>>>> I don't see that as testing the limits of the server.
>>>>>>>>
>>>>>>>
>>>>>>> Which URLs? It really depends on them... Artifact Info, Entity
>>>>>>> Maintenance,
>>>>>>> Label Manager, etc. are good culprits... This does not mean that we
>>>>>>> can't
>>>>>>> use Entity Maintenance on the demo server, nor even Artifact Info.
>>>>>>> But it
>>>>>>> depends on the number of people which are using them at the same
>>>>>>> time. And
>>>>>>> when it's down, it's down: you will have to wait a good soul (not
>>>>>>> sleeping,
>>>>>>> like me in some mins) to reload the demo instance... Webtools are
>>>>>>> not all
>>>>>>> days tools for a production server... I will suggest to use rather
>>>>>>> such
>>>>>>> tools locally... Does it make sense?
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Scott Gray sent the following on 12/9/2010 1:47 PM:
>>>>>>>>
>>>>>>>>> Everybody works on the areas of the system that are important to
>>>>>>>>> them, I
>>>>>>>>> suggest you do the same.
>>>>>>>>>
>>>>>>>>> The demo server is under-resourced so of course you're going to be
>>>>>>>>> able
>>>>>>>>> to bring it down if you try to, my suggestion is that you don't
>>>>>>>>> try to.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>> Scott
>>>>>>>>>
>>>>>>>>> HotWax Media
>>>>>>>>> http://www.hotwaxmedia.com
>>>>>>>>>
>>>>>>>>> On 10/12/2010, at 10:32 AM, BJ Freeman wrote:
>>>>>>>>>
>>>>>>>>> there is a thread on the user ML about the demo being slow.
>>>>>>>>>> I would think that would be a high priority for all those that
>>>>>>>>>> commit
>>>>>>>>>> and make changes to ofbiz.
>>>>>>>>>> after all what good is all this stuff if it can't be used.
>>>>>>>>>> I brought down the demo trunk by accessing with seperate requests
>>>>>>>>>> at one
>>>>>>>>>> time, as I stated on the user ml.
>>>>>>>>>>
>>>>>>>>>> lets focus on real problems. 



Re: demo server performance

Posted by Christian Geisert <ch...@isu-gmbh.de>.
Why just webtools, I think indexing the whole demo instance doesn't make 
sense...
I'm happy to help here (I might even find some time on the weekend ;-)

Christian

Jacques Le Roux schrieb:
> Right, that's what I would do if I knew where to put it. I tried to put 
> one at framework/webtools/webapp/webtools
> 
> User-agent: *
> Disallow: /
> 
> But I'm not sure it works and anyway it would cover only webtools
> 
> Jacques
> 
> Christian Geisert wrote:
>> Why not just kepp out Google (and all the other search engines) with
>> robots.txt?
>>
>> Christian
>>
>> Jacques Le Roux schrieb:
>>> We currently use flexadmin as it was set before we ran on Contegix. On
>>> Contegix we used demoadmin, should we turn to it rather?
>>>
>>> Thanks
>>>
>>> Jacques
>>>
>>> Scott Gray wrote:
>>>> That's an interesting point, I guess because of the admin credentials
>>>> being included in the links to the demos that google is
>>>> able to follow on through into all the backend apps.
>>>> Regards
>>>> Scott
>>>>
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>>
>>>> On 10/12/2010, at 10:24 PM, Bruno Busco wrote:
>>>>
>>>>> Yesterday I gave a look to the demo visits and found that Google is
>>>>> hitting
>>>>> the server about every 30 seconds.
>>>>> So it is possible that any URL (includind Webtools->Artifact Info) is
>>>>> hitten
>>>>> almost frequently.
>>>>>
>>>>> -Bruno
>>>>>
>>>>> 2010/12/10 Jacques Le Roux <ja...@les7arts.com>
>>>>>
>>>>>> From: "BJ Freeman" <bj...@free-man.net>
>>>>>>
>>>>>>> Thanks for you view on my motives.
>>>>>>>
>>>>>>> From what Jacques states the server has max hardware resources.
>>>>>>> so what resources are you referring to?
>>>>>>> I since I have a similar server running more than what Jacques has
>>>>>>> stated,
>>>>>>> and it runs, I am at a loss on how to work on the ofbiz demo.
>>>>>>> I have been focused as much as I am allowed on this for almost a 
>>>>>>> year.
>>>>>>> considering posting five urls at the same time should not effect a
>>>>>>> server,
>>>>>>> I don't see that as testing the limits of the server.
>>>>>>>
>>>>>>
>>>>>> Which URLs? It really depends on them... Artifact Info, Entity
>>>>>> Maintenance,
>>>>>> Label Manager, etc. are good culprits... This does not mean that we
>>>>>> can't
>>>>>> use Entity Maintenance on the demo server, nor even Artifact Info.
>>>>>> But it
>>>>>> depends on the number of people which are using them at the same
>>>>>> time. And
>>>>>> when it's down, it's down: you will have to wait a good soul (not
>>>>>> sleeping,
>>>>>> like me in some mins) to reload the demo instance... Webtools are
>>>>>> not all
>>>>>> days tools for a production server... I will suggest to use rather 
>>>>>> such
>>>>>> tools locally... Does it make sense?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Scott Gray sent the following on 12/9/2010 1:47 PM:
>>>>>>>
>>>>>>>> Everybody works on the areas of the system that are important to
>>>>>>>> them, I
>>>>>>>> suggest you do the same.
>>>>>>>>
>>>>>>>> The demo server is under-resourced so of course you're going to be
>>>>>>>> able
>>>>>>>> to bring it down if you try to, my suggestion is that you don't
>>>>>>>> try to.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> Scott
>>>>>>>>
>>>>>>>> HotWax Media
>>>>>>>> http://www.hotwaxmedia.com
>>>>>>>>
>>>>>>>> On 10/12/2010, at 10:32 AM, BJ Freeman wrote:
>>>>>>>>
>>>>>>>> there is a thread on the user ML about the demo being slow.
>>>>>>>>> I would think that would be a high priority for all those that
>>>>>>>>> commit
>>>>>>>>> and make changes to ofbiz.
>>>>>>>>> after all what good is all this stuff if it can't be used.
>>>>>>>>> I brought down the demo trunk by accessing with seperate requests
>>>>>>>>> at one
>>>>>>>>> time, as I stated on the user ml.
>>>>>>>>>
>>>>>>>>> lets focus on real problems.
> 
> 


Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
Right, that's what I would do if I knew where to put it. I tried to put one at framework/webtools/webapp/webtools

User-agent: *
Disallow: /

But I'm not sure it works and anyway it would cover only webtools

Jacques

Christian Geisert wrote:
> Why not just kepp out Google (and all the other search engines) with
> robots.txt?
> 
> Christian
> 
> Jacques Le Roux schrieb:
>> We currently use flexadmin as it was set before we ran on Contegix. On
>> Contegix we used demoadmin, should we turn to it rather?
>> 
>> Thanks
>> 
>> Jacques
>> 
>> Scott Gray wrote:
>>> That's an interesting point, I guess because of the admin credentials
>>> being included in the links to the demos that google is
>>> able to follow on through into all the backend apps.
>>> Regards
>>> Scott
>>> 
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>> 
>>> On 10/12/2010, at 10:24 PM, Bruno Busco wrote:
>>> 
>>>> Yesterday I gave a look to the demo visits and found that Google is
>>>> hitting
>>>> the server about every 30 seconds.
>>>> So it is possible that any URL (includind Webtools->Artifact Info) is
>>>> hitten
>>>> almost frequently.
>>>> 
>>>> -Bruno
>>>> 
>>>> 2010/12/10 Jacques Le Roux <ja...@les7arts.com>
>>>> 
>>>>> From: "BJ Freeman" <bj...@free-man.net>
>>>>> 
>>>>>> Thanks for you view on my motives.
>>>>>> 
>>>>>> From what Jacques states the server has max hardware resources.
>>>>>> so what resources are you referring to?
>>>>>> I since I have a similar server running more than what Jacques has
>>>>>> stated,
>>>>>> and it runs, I am at a loss on how to work on the ofbiz demo.
>>>>>> I have been focused as much as I am allowed on this for almost a year.
>>>>>> considering posting five urls at the same time should not effect a
>>>>>> server,
>>>>>> I don't see that as testing the limits of the server.
>>>>>> 
>>>>> 
>>>>> Which URLs? It really depends on them... Artifact Info, Entity
>>>>> Maintenance,
>>>>> Label Manager, etc. are good culprits... This does not mean that we
>>>>> can't
>>>>> use Entity Maintenance on the demo server, nor even Artifact Info.
>>>>> But it
>>>>> depends on the number of people which are using them at the same
>>>>> time. And
>>>>> when it's down, it's down: you will have to wait a good soul (not
>>>>> sleeping,
>>>>> like me in some mins) to reload the demo instance... Webtools are
>>>>> not all
>>>>> days tools for a production server... I will suggest to use rather such
>>>>> tools locally... Does it make sense?
>>>>> 
>>>>> Thanks
>>>>> 
>>>>> Jacques
>>>>> 
>>>>> 
>>>>> 
>>>>>> Scott Gray sent the following on 12/9/2010 1:47 PM:
>>>>>> 
>>>>>>> Everybody works on the areas of the system that are important to
>>>>>>> them, I
>>>>>>> suggest you do the same.
>>>>>>> 
>>>>>>> The demo server is under-resourced so of course you're going to be
>>>>>>> able
>>>>>>> to bring it down if you try to, my suggestion is that you don't
>>>>>>> try to.
>>>>>>> 
>>>>>>> Regards
>>>>>>> Scott
>>>>>>> 
>>>>>>> HotWax Media
>>>>>>> http://www.hotwaxmedia.com
>>>>>>> 
>>>>>>> On 10/12/2010, at 10:32 AM, BJ Freeman wrote:
>>>>>>> 
>>>>>>> there is a thread on the user ML about the demo being slow.
>>>>>>>> I would think that would be a high priority for all those that
>>>>>>>> commit
>>>>>>>> and make changes to ofbiz.
>>>>>>>> after all what good is all this stuff if it can't be used.
>>>>>>>> I brought down the demo trunk by accessing with seperate requests
>>>>>>>> at one
>>>>>>>> time, as I stated on the user ml.
>>>>>>>> 
>>>>>>>> lets focus on real problems.


Re: demo server performance

Posted by Christian Geisert <ch...@isu-gmbh.de>.
Why not just kepp out Google (and all the other search engines) with 
robots.txt?

Christian

Jacques Le Roux schrieb:
> We currently use flexadmin as it was set before we ran on Contegix. On 
> Contegix we used demoadmin, should we turn to it rather?
> 
> Thanks
> 
> Jacques
> 
> Scott Gray wrote:
>> That's an interesting point, I guess because of the admin credentials 
>> being included in the links to the demos that google is
>> able to follow on through into all the backend apps.
>> Regards
>> Scott
>>
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> On 10/12/2010, at 10:24 PM, Bruno Busco wrote:
>>
>>> Yesterday I gave a look to the demo visits and found that Google is 
>>> hitting
>>> the server about every 30 seconds.
>>> So it is possible that any URL (includind Webtools->Artifact Info) is 
>>> hitten
>>> almost frequently.
>>>
>>> -Bruno
>>>
>>> 2010/12/10 Jacques Le Roux <ja...@les7arts.com>
>>>
>>>> From: "BJ Freeman" <bj...@free-man.net>
>>>>
>>>>> Thanks for you view on my motives.
>>>>>
>>>>> From what Jacques states the server has max hardware resources.
>>>>> so what resources are you referring to?
>>>>> I since I have a similar server running more than what Jacques has 
>>>>> stated,
>>>>> and it runs, I am at a loss on how to work on the ofbiz demo.
>>>>> I have been focused as much as I am allowed on this for almost a year.
>>>>> considering posting five urls at the same time should not effect a 
>>>>> server,
>>>>> I don't see that as testing the limits of the server.
>>>>>
>>>>
>>>> Which URLs? It really depends on them... Artifact Info, Entity 
>>>> Maintenance,
>>>> Label Manager, etc. are good culprits... This does not mean that we 
>>>> can't
>>>> use Entity Maintenance on the demo server, nor even Artifact Info. 
>>>> But it
>>>> depends on the number of people which are using them at the same 
>>>> time. And
>>>> when it's down, it's down: you will have to wait a good soul (not 
>>>> sleeping,
>>>> like me in some mins) to reload the demo instance... Webtools are 
>>>> not all
>>>> days tools for a production server... I will suggest to use rather such
>>>> tools locally... Does it make sense?
>>>>
>>>> Thanks
>>>>
>>>> Jacques
>>>>
>>>>
>>>>
>>>>> Scott Gray sent the following on 12/9/2010 1:47 PM:
>>>>>
>>>>>> Everybody works on the areas of the system that are important to 
>>>>>> them, I
>>>>>> suggest you do the same.
>>>>>>
>>>>>> The demo server is under-resourced so of course you're going to be 
>>>>>> able
>>>>>> to bring it down if you try to, my suggestion is that you don't 
>>>>>> try to.
>>>>>>
>>>>>> Regards
>>>>>> Scott
>>>>>>
>>>>>> HotWax Media
>>>>>> http://www.hotwaxmedia.com
>>>>>>
>>>>>> On 10/12/2010, at 10:32 AM, BJ Freeman wrote:
>>>>>>
>>>>>> there is a thread on the user ML about the demo being slow.
>>>>>>> I would think that would be a high priority for all those that 
>>>>>>> commit
>>>>>>> and make changes to ofbiz.
>>>>>>> after all what good is all this stuff if it can't be used.
>>>>>>> I brought down the demo trunk by accessing with seperate requests 
>>>>>>> at one
>>>>>>> time, as I stated on the user ml.
>>>>>>>
>>>>>>> lets focus on real problems.
> 
> 


Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
We currently use flexadmin as it was set before we ran on Contegix. On Contegix we used demoadmin, should we turn to it rather?

Thanks

Jacques

Scott Gray wrote:
> That's an interesting point, I guess because of the admin credentials being included in the links to the demos that google is
> able to follow on through into all the backend apps. 
> 
> Regards
> Scott
> 
> HotWax Media
> http://www.hotwaxmedia.com
> 
> On 10/12/2010, at 10:24 PM, Bruno Busco wrote:
> 
>> Yesterday I gave a look to the demo visits and found that Google is hitting
>> the server about every 30 seconds.
>> So it is possible that any URL (includind Webtools->Artifact Info) is hitten
>> almost frequently.
>> 
>> -Bruno
>> 
>> 2010/12/10 Jacques Le Roux <ja...@les7arts.com>
>> 
>>> From: "BJ Freeman" <bj...@free-man.net>
>>> 
>>>> Thanks for you view on my motives.
>>>> 
>>>> From what Jacques states the server has max hardware resources.
>>>> so what resources are you referring to?
>>>> I since I have a similar server running more than what Jacques has stated,
>>>> and it runs, I am at a loss on how to work on the ofbiz demo.
>>>> I have been focused as much as I am allowed on this for almost a year.
>>>> considering posting five urls at the same time should not effect a server,
>>>> I don't see that as testing the limits of the server.
>>>> 
>>> 
>>> Which URLs? It really depends on them... Artifact Info, Entity Maintenance,
>>> Label Manager, etc. are good culprits... This does not mean that we can't
>>> use Entity Maintenance on the demo server, nor even Artifact Info. But it
>>> depends on the number of people which are using them at the same time. And
>>> when it's down, it's down: you will have to wait a good soul (not sleeping,
>>> like me in some mins) to reload the demo instance... Webtools are not all
>>> days tools for a production server... I will suggest to use rather such
>>> tools locally... Does it make sense?
>>> 
>>> Thanks
>>> 
>>> Jacques
>>> 
>>> 
>>> 
>>>> Scott Gray sent the following on 12/9/2010 1:47 PM:
>>>> 
>>>>> Everybody works on the areas of the system that are important to them, I
>>>>> suggest you do the same.
>>>>> 
>>>>> The demo server is under-resourced so of course you're going to be able
>>>>> to bring it down if you try to, my suggestion is that you don't try to.
>>>>> 
>>>>> Regards
>>>>> Scott
>>>>> 
>>>>> HotWax Media
>>>>> http://www.hotwaxmedia.com
>>>>> 
>>>>> On 10/12/2010, at 10:32 AM, BJ Freeman wrote:
>>>>> 
>>>>> there is a thread on the user ML about the demo being slow.
>>>>>> I would think that would be a high priority for all those that commit
>>>>>> and make changes to ofbiz.
>>>>>> after all what good is all this stuff if it can't be used.
>>>>>> I brought down the demo trunk by accessing with seperate requests at one
>>>>>> time, as I stated on the user ml.
>>>>>> 
>>>>>> lets focus on real problems.


Re: demo server performance

Posted by Scott Gray <sc...@hotwaxmedia.com>.
That's an interesting point, I guess because of the admin credentials being included in the links to the demos that google is able to follow on through into all the backend apps.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 10/12/2010, at 10:24 PM, Bruno Busco wrote:

> Yesterday I gave a look to the demo visits and found that Google is hitting
> the server about every 30 seconds.
> So it is possible that any URL (includind Webtools->Artifact Info) is hitten
> almost frequently.
> 
> -Bruno
> 
> 2010/12/10 Jacques Le Roux <ja...@les7arts.com>
> 
>> From: "BJ Freeman" <bj...@free-man.net>
>> 
>>> Thanks for you view on my motives.
>>> 
>>> From what Jacques states the server has max hardware resources.
>>> so what resources are you referring to?
>>> I since I have a similar server running more than what Jacques has stated,
>>> and it runs, I am at a loss on how to work on the ofbiz demo.
>>> I have been focused as much as I am allowed on this for almost a year.
>>> considering posting five urls at the same time should not effect a server,
>>> I don't see that as testing the limits of the server.
>>> 
>> 
>> Which URLs? It really depends on them... Artifact Info, Entity Maintenance,
>> Label Manager, etc. are good culprits... This does not mean that we can't
>> use Entity Maintenance on the demo server, nor even Artifact Info. But it
>> depends on the number of people which are using them at the same time. And
>> when it's down, it's down: you will have to wait a good soul (not sleeping,
>> like me in some mins) to reload the demo instance... Webtools are not all
>> days tools for a production server... I will suggest to use rather such
>> tools locally... Does it make sense?
>> 
>> Thanks
>> 
>> Jacques
>> 
>> 
>> 
>>> Scott Gray sent the following on 12/9/2010 1:47 PM:
>>> 
>>>> Everybody works on the areas of the system that are important to them, I
>>>> suggest you do the same.
>>>> 
>>>> The demo server is under-resourced so of course you're going to be able
>>>> to bring it down if you try to, my suggestion is that you don't try to.
>>>> 
>>>> Regards
>>>> Scott
>>>> 
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>> 
>>>> On 10/12/2010, at 10:32 AM, BJ Freeman wrote:
>>>> 
>>>> there is a thread on the user ML about the demo being slow.
>>>>> I would think that would be a high priority for all those that commit
>>>>> and make changes to ofbiz.
>>>>> after all what good is all this stuff if it can't be used.
>>>>> I brought down the demo trunk by accessing with seperate requests at one
>>>>> time, as I stated on the user ml.
>>>>> 
>>>>> lets focus on real problems.
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>> 
>> 
>> 


Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
Yes, I have asked the infra team it they could filter spiders, but got no answers. I guess they expect us to also handle HTTPD. I 
did not look at it yet

Jacques

From: "Bruno Busco" <br...@gmail.com>
> Yesterday I gave a look to the demo visits and found that Google is hitting
> the server about every 30 seconds.
> So it is possible that any URL (includind Webtools->Artifact Info) is hitten
> almost frequently.
>
> -Bruno
>
> 2010/12/10 Jacques Le Roux <ja...@les7arts.com>
>
>> From: "BJ Freeman" <bj...@free-man.net>
>>
>>> Thanks for you view on my motives.
>>>
>>> From what Jacques states the server has max hardware resources.
>>> so what resources are you referring to?
>>> I since I have a similar server running more than what Jacques has stated,
>>> and it runs, I am at a loss on how to work on the ofbiz demo.
>>> I have been focused as much as I am allowed on this for almost a year.
>>> considering posting five urls at the same time should not effect a server,
>>> I don't see that as testing the limits of the server.
>>>
>>
>> Which URLs? It really depends on them... Artifact Info, Entity Maintenance,
>> Label Manager, etc. are good culprits... This does not mean that we can't
>> use Entity Maintenance on the demo server, nor even Artifact Info. But it
>> depends on the number of people which are using them at the same time. And
>> when it's down, it's down: you will have to wait a good soul (not sleeping,
>> like me in some mins) to reload the demo instance... Webtools are not all
>> days tools for a production server... I will suggest to use rather such
>> tools locally... Does it make sense?
>>
>> Thanks
>>
>> Jacques
>>
>>
>>
>>> Scott Gray sent the following on 12/9/2010 1:47 PM:
>>>
>>>> Everybody works on the areas of the system that are important to them, I
>>>> suggest you do the same.
>>>>
>>>> The demo server is under-resourced so of course you're going to be able
>>>> to bring it down if you try to, my suggestion is that you don't try to.
>>>>
>>>> Regards
>>>> Scott
>>>>
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>>
>>>> On 10/12/2010, at 10:32 AM, BJ Freeman wrote:
>>>>
>>>>  there is a thread on the user ML about the demo being slow.
>>>>> I would think that would be a high priority for all those that commit
>>>>> and make changes to ofbiz.
>>>>> after all what good is all this stuff if it can't be used.
>>>>> I brought down the demo trunk by accessing with seperate requests at one
>>>>> time, as I stated on the user ml.
>>>>>
>>>>> lets focus on real problems.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
> 



Re: demo server performance

Posted by Bruno Busco <br...@gmail.com>.
Yesterday I gave a look to the demo visits and found that Google is hitting
the server about every 30 seconds.
So it is possible that any URL (includind Webtools->Artifact Info) is hitten
almost frequently.

-Bruno

2010/12/10 Jacques Le Roux <ja...@les7arts.com>

> From: "BJ Freeman" <bj...@free-man.net>
>
>> Thanks for you view on my motives.
>>
>> From what Jacques states the server has max hardware resources.
>> so what resources are you referring to?
>> I since I have a similar server running more than what Jacques has stated,
>> and it runs, I am at a loss on how to work on the ofbiz demo.
>> I have been focused as much as I am allowed on this for almost a year.
>> considering posting five urls at the same time should not effect a server,
>> I don't see that as testing the limits of the server.
>>
>
> Which URLs? It really depends on them... Artifact Info, Entity Maintenance,
> Label Manager, etc. are good culprits... This does not mean that we can't
> use Entity Maintenance on the demo server, nor even Artifact Info. But it
> depends on the number of people which are using them at the same time. And
> when it's down, it's down: you will have to wait a good soul (not sleeping,
> like me in some mins) to reload the demo instance... Webtools are not all
> days tools for a production server... I will suggest to use rather such
> tools locally... Does it make sense?
>
> Thanks
>
> Jacques
>
>
>
>> Scott Gray sent the following on 12/9/2010 1:47 PM:
>>
>>> Everybody works on the areas of the system that are important to them, I
>>> suggest you do the same.
>>>
>>> The demo server is under-resourced so of course you're going to be able
>>> to bring it down if you try to, my suggestion is that you don't try to.
>>>
>>> Regards
>>> Scott
>>>
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>>
>>> On 10/12/2010, at 10:32 AM, BJ Freeman wrote:
>>>
>>>  there is a thread on the user ML about the demo being slow.
>>>> I would think that would be a high priority for all those that commit
>>>> and make changes to ofbiz.
>>>> after all what good is all this stuff if it can't be used.
>>>> I brought down the demo trunk by accessing with seperate requests at one
>>>> time, as I stated on the user ml.
>>>>
>>>> lets focus on real problems.
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
>

Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "BJ Freeman" <bj...@free-man.net>
> Thanks for you view on my motives.
> From what Jacques states the server has max hardware resources.
> so what resources are you referring to?
> I since I have a similar server running more than what Jacques has stated, and it runs, I am at a loss on how to work on the ofbiz 
> demo.
> I have been focused as much as I am allowed on this for almost a year.
> considering posting five urls at the same time should not effect a server, I don't see that as testing the limits of the server.

Which URLs? It really depends on them... Artifact Info, Entity Maintenance, Label Manager, etc. are good culprits... This does not 
mean that we can't use Entity Maintenance on the demo server, nor even Artifact Info. But it depends on the number of people which 
are using them at the same time. And when it's down, it's down: you will have to wait a good soul (not sleeping, like me in some 
mins) to reload the demo instance... Webtools are not all days tools for a production server... I will suggest to use rather such 
tools locally... Does it make sense?

Thanks

Jacques

>
> Scott Gray sent the following on 12/9/2010 1:47 PM:
>> Everybody works on the areas of the system that are important to them, I suggest you do the same.
>>
>> The demo server is under-resourced so of course you're going to be able to bring it down if you try to, my suggestion is that you 
>> don't try to.
>>
>> Regards
>> Scott
>>
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> On 10/12/2010, at 10:32 AM, BJ Freeman wrote:
>>
>>> there is a thread on the user ML about the demo being slow.
>>> I would think that would be a high priority for all those that commit and make changes to ofbiz.
>>> after all what good is all this stuff if it can't be used.
>>> I brought down the demo trunk by accessing with seperate requests at one time, as I stated on the user ml.
>>>
>>> lets focus on real problems.
>>>
>>>
>>>
>>
> 



Re: demo server performance

Posted by BJ Freeman <bj...@free-man.net>.
all the status page does is give my an indicatioh if the demo is healthy 
before I start
I have done it enough time to figure out that it probably not other 
influences.
Since I don't have access to the logs on the demo-trunk, I can not do 
further debug.



=========================

BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Adam Heath sent the following on 12/9/2010 3:43 PM:
> On 12/09/2010 05:31 PM, BJ Freeman wrote:
>> when I restart my client firefox brings up all the pages from last
>> session.
>> the following URl are accessed from different tabs.
>> I expect them to come up to the login screen except for the ecommerce.
>> many times I will get
>> problem loading
>> http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/main
>> https://demo-trunk.ofbiz.apache.org/accounting/control/FindBillingAccount?partyId=DemoCustomer
>>
>>
>> https://demo-trunk.ofbiz.apache.org/webtools/control/login
>> https://demo-trunk.ofbiz.apache.org/partymgr/control/editpartygroup?partyId=DemoSupplier
>>
>>
>> https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=Product&find=true&VIEW_SIZE=50&VIEW_INDEX=0
>>
>
> So, 5 requests issued at all once. Should be easy to duplicate that.
> Start up a local ofbiz, hit then right after startup, then hit them
> again after the cache(s) are primed.
>
>> lately when they load
>> http://monitoring.apache.org/status/
>> shows everthing is ok
>> I then load the above URLs and get a warning then flap then shutdown.
>
> That status link can't be used for debugging these kinds of problems.
> It's the as saying "I found a problem in a groovy file, but the machine
> pings, so I'm at a loss as to what is going on."
>


Re: demo server performance

Posted by Adam Heath <do...@brainfood.com>.
On 12/09/2010 05:31 PM, BJ Freeman wrote:
> when I restart my  client firefox brings up all the pages from last
> session.
> the following URl are accessed from different tabs.
> I expect them to come up to the login screen except for the ecommerce.
> many times I will get
> problem loading
> http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/main
> https://demo-trunk.ofbiz.apache.org/accounting/control/FindBillingAccount?partyId=DemoCustomer
>
> https://demo-trunk.ofbiz.apache.org/webtools/control/login
> https://demo-trunk.ofbiz.apache.org/partymgr/control/editpartygroup?partyId=DemoSupplier
>
> https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=Product&find=true&VIEW_SIZE=50&VIEW_INDEX=0

So, 5 requests issued at all once.  Should be easy to duplicate that. 
  Start up a local ofbiz, hit then right after startup, then hit them 
again after the cache(s) are primed.

> lately when they load
> http://monitoring.apache.org/status/
> shows everthing is ok
> I then load the above URLs and get a warning then flap then shutdown.

That status link can't be used for debugging these kinds of problems. 
  It's the as saying "I found a problem in a groovy file, but the 
machine pings, so I'm at a loss as to what is going on."

Re: demo server performance

Posted by BJ Freeman <bj...@free-man.net>.
thanks for your work.
you patch still looks like a memory management problems.
added full comment in Jira.

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Jacques Le Roux sent the following on 12/17/2010 4:32 AM:

> Please see https://issues.apache.org/jira/browse/OFBIZ-4043
>
> Jacques
>
> From: "Jacques Le Roux" <ja...@les7arts.com>
>> From: "Adam Heath" <do...@brainfood.com>
>>> On 12/10/2010 03:46 PM, Jacques Le Roux wrote:
>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>> From: "Adam Heath" <do...@brainfood.com>
>>>>>> On 12/10/2010 04:05 AM, Jacques Le Roux wrote:
>>>>>>> Hi devs,
>>>>>>>
>>>>>>> FYI, this morning the trunk demo was stale again. It was running but
>>>>>>> not
>>>>>>> accessible. I then stopped and restarted, same issue. I tried an
>>>>>>> "svn
>>>>>>> st" no issues there. I reloaded all manually (I have a script for
>>>>>>> that)
>>>>>>> and it was then OK.
>>>>>>
>>>>>> When these issues occur, send QUIT to the java process; it'll give
>>>>>> you a stack dump, and a memory usage summary. Then, use jmap to get a
>>>>>> binary heap dump. Those 2 things will allow for debugging this. Also
>>>>>> keep track of which particular svn version the system is running.
>>>>>
>>>>> I will try that
>>>>>
>>>>> Jacques
>>>>
>>>>
>>>> I have tried to use both (on 3 new trunk threads running amok)
>>>> kill -QUIT PID
>>>> kill -3 PID
>>>
>>> It goes to STDERR, where-ever that is. lsof -p PID will show you
>>> where that is attached, but it might be a pipe.
>>
>> I was not able to do it in a reasonnable time. I did not find the
>> STDERR for the sub-processes (blocked java threads reported by top).
>> Nor for the main process, but for it I had a very very long list of
>> files... Cetainly a pipe somewhere? Then how to find it? Asking infra?
>> One thing I'm sure is the problem will are-appear soon anyway...
>>
>> Thanks
>>
>> Jacques
>>
>
>
>

Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
Please see https://issues.apache.org/jira/browse/OFBIZ-4043

Jacques

From: "Jacques Le Roux" <ja...@les7arts.com>
> From: "Adam Heath" <do...@brainfood.com>
>> On 12/10/2010 03:46 PM, Jacques Le Roux wrote:
>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>> From: "Adam Heath" <do...@brainfood.com>
>>>>> On 12/10/2010 04:05 AM, Jacques Le Roux wrote:
>>>>>> Hi devs,
>>>>>>
>>>>>> FYI, this morning the trunk demo was stale again. It was running but
>>>>>> not
>>>>>> accessible. I then stopped and restarted, same issue. I tried an "svn
>>>>>> st" no issues there. I reloaded all manually (I have a script for that)
>>>>>> and it was then OK.
>>>>>
>>>>> When these issues occur, send QUIT to the java process; it'll give
>>>>> you a stack dump, and a memory usage summary. Then, use jmap to get a
>>>>> binary heap dump. Those 2 things will allow for debugging this. Also
>>>>> keep track of which particular svn version the system is running.
>>>>
>>>> I will try that
>>>>
>>>> Jacques
>>>
>>>
>>> I have tried to use both (on 3 new trunk threads running amok)
>>> kill -QUIT PID
>>> kill -3 PID
>>
>> It goes to STDERR, where-ever that is.  lsof -p PID will show you where that is attached, but it might be a pipe.
>
> I was not able to do it in a reasonnable time. I did not find the STDERR for the sub-processes (blocked java threads reported by 
> top). Nor for the main process, but  for it I had a very very long list of files... Cetainly a pipe somewhere? Then how to find 
> it? Asking infra? One thing I'm sure is the problem will are-appear soon anyway...
>
> Thanks
>
> Jacques
> 



Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Adam Heath" <do...@brainfood.com>
> On 12/10/2010 03:46 PM, Jacques Le Roux wrote:
>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>> From: "Adam Heath" <do...@brainfood.com>
>>>> On 12/10/2010 04:05 AM, Jacques Le Roux wrote:
>>>>> Hi devs,
>>>>>
>>>>> FYI, this morning the trunk demo was stale again. It was running but
>>>>> not
>>>>> accessible. I then stopped and restarted, same issue. I tried an "svn
>>>>> st" no issues there. I reloaded all manually (I have a script for that)
>>>>> and it was then OK.
>>>>
>>>> When these issues occur, send QUIT to the java process; it'll give
>>>> you a stack dump, and a memory usage summary. Then, use jmap to get a
>>>> binary heap dump. Those 2 things will allow for debugging this. Also
>>>> keep track of which particular svn version the system is running.
>>>
>>> I will try that
>>>
>>> Jacques
>>
>>
>> I have tried to use both (on 3 new trunk threads running amok)
>> kill -QUIT PID
>> kill -3 PID
>
> It goes to STDERR, where-ever that is.  lsof -p PID will show you where that is attached, but it might be a pipe.

I was not able to do it in a reasonnable time. I did not find the STDERR for the sub-processes (blocked java threads reported by 
top). Nor for the main process, but  for it I had a very very long list of files... Cetainly a pipe somewhere? Then how to find it? 
Asking infra? One thing I'm sure is the problem will are-appear soon anyway...

Thanks

Jacques 



Re: demo server performance

Posted by Adam Heath <do...@brainfood.com>.
On 12/10/2010 03:46 PM, Jacques Le Roux wrote:
> From: "Jacques Le Roux" <ja...@les7arts.com>
>> From: "Adam Heath" <do...@brainfood.com>
>>> On 12/10/2010 04:05 AM, Jacques Le Roux wrote:
>>>> Hi devs,
>>>>
>>>> FYI, this morning the trunk demo was stale again. It was running but
>>>> not
>>>> accessible. I then stopped and restarted, same issue. I tried an "svn
>>>> st" no issues there. I reloaded all manually (I have a script for that)
>>>> and it was then OK.
>>>
>>> When these issues occur, send QUIT to the java process; it'll give
>>> you a stack dump, and a memory usage summary. Then, use jmap to get a
>>> binary heap dump. Those 2 things will allow for debugging this. Also
>>> keep track of which particular svn version the system is running.
>>
>> I will try that
>>
>> Jacques
>
>
> I have tried to use both (on 3 new trunk threads running amok)
> kill -QUIT PID
> kill -3 PID

It goes to STDERR, where-ever that is.  lsof -p PID will show you 
where that is attached, but it might be a pipe.

Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Jacques Le Roux" <ja...@les7arts.com>
> From: "Adam Heath" <do...@brainfood.com>
>> On 12/10/2010 04:05 AM, Jacques Le Roux wrote:
>>> Hi devs,
>>>
>>> FYI, this morning the trunk demo was stale again. It was running but not
>>> accessible. I then stopped and restarted, same issue. I tried an "svn
>>> st" no issues there. I reloaded all manually (I have a script for that)
>>> and it was then OK.
>> 
>> When these issues occur, send QUIT to the java process; it'll give you 
>> a stack dump, and a memory usage summary.  Then, use jmap to get a 
>> binary heap dump.  Those 2 things will allow for debugging this.  Also 
>> keep track of which particular svn version the system is running.
> 
> I will try that
> 
> Jacques


I have tried to use both (on 3 new trunk threads running amok)
kill -QUIT PID
kill -3 PID

but got no stack traces, nothing at all :/

Jacques
PS: I have also tried on the main PID


Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Adam Heath" <do...@brainfood.com>
> On 12/10/2010 04:05 AM, Jacques Le Roux wrote:
>> Hi devs,
>>
>> FYI, this morning the trunk demo was stale again. It was running but not
>> accessible. I then stopped and restarted, same issue. I tried an "svn
>> st" no issues there. I reloaded all manually (I have a script for that)
>> and it was then OK.
> 
> When these issues occur, send QUIT to the java process; it'll give you 
> a stack dump, and a memory usage summary.  Then, use jmap to get a 
> binary heap dump.  Those 2 things will allow for debugging this.  Also 
> keep track of which particular svn version the system is running.

I will try that

Jacques


Re: demo server performance

Posted by Adam Heath <do...@brainfood.com>.
On 12/10/2010 04:05 AM, Jacques Le Roux wrote:
> Hi devs,
>
> FYI, this morning the trunk demo was stale again. It was running but not
> accessible. I then stopped and restarted, same issue. I tried an "svn
> st" no issues there. I reloaded all manually (I have a script for that)
> and it was then OK.

When these issues occur, send QUIT to the java process; it'll give you 
a stack dump, and a memory usage summary.  Then, use jmap to get a 
binary heap dump.  Those 2 things will allow for debugging this.  Also 
keep track of which particular svn version the system is running.

Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi devs,

FYI, this morning the trunk demo was stale again. It was running but not accessible.  I then stopped and restarted, same issue. I 
tried an "svn st" no issues there. I reloaded all manually (I have a script for that)
and it was then OK.

BJ, I tried to reload Firefox with your 5 URLs: no problems (but to enter the login/pwd couple of course). But now that I look at
the demo instance it's running again at near 100% at any moment. So if nobody entered an help URL there is another process which
causes the same kind of issue. I will stop to monitor this for now, as anyway it's working and I don't want to spend all my time at
it. But it's really annoying to see this...

Jacques

From: "Jacques Le Roux" <ja...@les7arts.com>
> From: "BJ Freeman" <bj...@free-man.net>
>> when I restart my  client firefox brings up all the pages from last session.
>> the following URl are accessed from different tabs.
>> I expect them to come up to the login screen except for the ecommerce.
>> many times I will get
>> problem loading
>> http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/main
>> https://demo-trunk.ofbiz.apache.org/accounting/control/FindBillingAccount?partyId=DemoCustomer
>> https://demo-trunk.ofbiz.apache.org/webtools/control/login
>> https://demo-trunk.ofbiz.apache.org/partymgr/control/editpartygroup?partyId=DemoSupplier
>> https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=Product&find=true&VIEW_SIZE=50&VIEW_INDEX=0
>
> What kinds of problems?
>
>> lately when they load
>> http://monitoring.apache.org/status/
>> shows everthing is ok
>> I then load the above URLs and get a warning then flap then shutdown.
>
> With the above URLs all should go smoothly, I'm surprised... I will test tomorrow...
>
> Jacques
>
>> I can not duplicate the above on my demo-trunk on my server.
>>
>> =========================
>>
>> BJ Freeman
>> Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com  <http://www.specialtymarket.com/>
>> Systems Integrator-- Glad to Assist
>>
>> Chat  Y! messenger: bjfr33man
>>
>>
>> Adam Heath sent the following on 12/9/2010 3:13 PM:
>>> On 12/09/2010 05:01 PM, BJ Freeman wrote:
>>>> Thanks for you view on my motives.
>>>> From what Jacques states the server has max hardware resources.
>>>> so what resources are you referring to?
>>>> I since I have a similar server running more than what Jacques has
>>>> stated, and it runs, I am at a loss on how to work on the ofbiz demo.
>>>> I have been focused as much as I am allowed on this for almost a year.
>>>> considering posting five urls at the same time should not effect a
>>>> server, I don't see that as testing the limits of the server.
>>>
>>> What urls? What actions are you performing, and what do you expect to
>>> happen? Details, please.
>>>
>>> 'max hardware' to me means that it has the most resources that are
>>> available. It most definately does not mean that it is running on the
>>> fastest computer known to man.
>>>
>>> Plus, it is not tuned to for its installation. Installing a production
>>> system for a client requires tuning tons of different knobs. For each
>>> install, those knobs will be different. It does not make sense to change
>>> the sane defaults in ofbiz to something that is for one particular
>>> install(apache demo installs).
>>>
>>> As David said, this project is just a bunch of volunteers. If you see a
>>> problem, and no one steps up to resolve it(or, at the least,
>>> investigate), then it falls on the reporter to do the work. If that
>>> doesn't happen, then I guess nothing will be finished. But you can't
>>> force anyone in this project to do anything.
>>>
>>> The best you could do(if I could borrow the terminology) is to show the
>>> business case for why something should be better, and get others to be
>>> excited about fixing it. Then you can just sit back and watch others do
>>> work for you.
>>>
>>
>



Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "BJ Freeman" <bj...@free-man.net>
> when I restart my  client firefox brings up all the pages from last session.
> the following URl are accessed from different tabs.
> I expect them to come up to the login screen except for the ecommerce.
> many times I will get
> problem loading
> http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/main
> https://demo-trunk.ofbiz.apache.org/accounting/control/FindBillingAccount?partyId=DemoCustomer
> https://demo-trunk.ofbiz.apache.org/webtools/control/login
> https://demo-trunk.ofbiz.apache.org/partymgr/control/editpartygroup?partyId=DemoSupplier
> https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=Product&find=true&VIEW_SIZE=50&VIEW_INDEX=0

What kinds of problems?
 
> lately when they load
> http://monitoring.apache.org/status/
> shows everthing is ok
> I then load the above URLs and get a warning then flap then shutdown.

With the above URLs all should go smoothly, I'm surprised... I will test tomorrow...

Jacques
 
> I can not duplicate the above on my demo-trunk on my server.
> 
> =========================
> 
> BJ Freeman
> Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com  <http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
> 
> Chat  Y! messenger: bjfr33man
> 
> 
> Adam Heath sent the following on 12/9/2010 3:13 PM:
>> On 12/09/2010 05:01 PM, BJ Freeman wrote:
>>> Thanks for you view on my motives.
>>> From what Jacques states the server has max hardware resources.
>>> so what resources are you referring to?
>>> I since I have a similar server running more than what Jacques has
>>> stated, and it runs, I am at a loss on how to work on the ofbiz demo.
>>> I have been focused as much as I am allowed on this for almost a year.
>>> considering posting five urls at the same time should not effect a
>>> server, I don't see that as testing the limits of the server.
>>
>> What urls? What actions are you performing, and what do you expect to
>> happen? Details, please.
>>
>> 'max hardware' to me means that it has the most resources that are
>> available. It most definately does not mean that it is running on the
>> fastest computer known to man.
>>
>> Plus, it is not tuned to for its installation. Installing a production
>> system for a client requires tuning tons of different knobs. For each
>> install, those knobs will be different. It does not make sense to change
>> the sane defaults in ofbiz to something that is for one particular
>> install(apache demo installs).
>>
>> As David said, this project is just a bunch of volunteers. If you see a
>> problem, and no one steps up to resolve it(or, at the least,
>> investigate), then it falls on the reporter to do the work. If that
>> doesn't happen, then I guess nothing will be finished. But you can't
>> force anyone in this project to do anything.
>>
>> The best you could do(if I could borrow the terminology) is to show the
>> business case for why something should be better, and get others to be
>> excited about fixing it. Then you can just sit back and watch others do
>> work for you.
>>
>


Re: demo server performance

Posted by BJ Freeman <bj...@free-man.net>.
when I restart my  client firefox brings up all the pages from last session.
the following URl are accessed from different tabs.
I expect them to come up to the login screen except for the ecommerce.
many times I will get
problem loading
http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/main
https://demo-trunk.ofbiz.apache.org/accounting/control/FindBillingAccount?partyId=DemoCustomer
https://demo-trunk.ofbiz.apache.org/webtools/control/login
https://demo-trunk.ofbiz.apache.org/partymgr/control/editpartygroup?partyId=DemoSupplier
https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=Product&find=true&VIEW_SIZE=50&VIEW_INDEX=0

lately when they load
http://monitoring.apache.org/status/
shows everthing is ok
I then load the above URLs and get a warning then flap then shutdown.

I can not duplicate the above on my demo-trunk on my server.

=========================

BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Adam Heath sent the following on 12/9/2010 3:13 PM:
> On 12/09/2010 05:01 PM, BJ Freeman wrote:
>> Thanks for you view on my motives.
>> From what Jacques states the server has max hardware resources.
>> so what resources are you referring to?
>> I since I have a similar server running more than what Jacques has
>> stated, and it runs, I am at a loss on how to work on the ofbiz demo.
>> I have been focused as much as I am allowed on this for almost a year.
>> considering posting five urls at the same time should not effect a
>> server, I don't see that as testing the limits of the server.
>
> What urls? What actions are you performing, and what do you expect to
> happen? Details, please.
>
> 'max hardware' to me means that it has the most resources that are
> available. It most definately does not mean that it is running on the
> fastest computer known to man.
>
> Plus, it is not tuned to for its installation. Installing a production
> system for a client requires tuning tons of different knobs. For each
> install, those knobs will be different. It does not make sense to change
> the sane defaults in ofbiz to something that is for one particular
> install(apache demo installs).
>
> As David said, this project is just a bunch of volunteers. If you see a
> problem, and no one steps up to resolve it(or, at the least,
> investigate), then it falls on the reporter to do the work. If that
> doesn't happen, then I guess nothing will be finished. But you can't
> force anyone in this project to do anything.
>
> The best you could do(if I could borrow the terminology) is to show the
> business case for why something should be better, and get others to be
> excited about fixing it. Then you can just sit back and watch others do
> work for you.
>


Re: demo server performance

Posted by Adam Heath <do...@brainfood.com>.
On 12/09/2010 05:01 PM, BJ Freeman wrote:
> Thanks for you view on my motives.
>  From what Jacques states the server has max hardware resources.
> so what resources are you referring to?
> I since I have a similar server running more than what Jacques has
> stated, and it runs, I am at a loss on how to work on the ofbiz demo.
> I have been focused as much as I am allowed on this for almost a year.
> considering posting five urls at the same time should not effect a
> server, I don't see that as testing the limits of the server.

What urls?  What actions are you performing, and what do you expect to 
happen?  Details, please.

'max hardware' to me means that it has the most resources that are 
available.  It most definately does not mean that it is running on the 
fastest computer known to man.

Plus, it is not tuned to for its installation.  Installing a 
production system for a client requires tuning tons of different 
knobs.  For each install, those knobs will be different.  It does not 
make sense to change the sane defaults in ofbiz to something that is 
for one particular install(apache demo installs).

As David said, this project is just a bunch of volunteers.  If you see 
a problem, and no one steps up to resolve it(or, at the least, 
investigate), then it falls on the reporter to do the work.  If that 
doesn't happen, then I guess nothing will be finished.  But you can't 
force anyone in this project to do anything.

The best you could do(if I could borrow the terminology) is to show 
the business case for why something should be better, and get others 
to be excited about fixing it.  Then you can just sit back and watch 
others do work for you.

Re: demo server performance

Posted by BJ Freeman <bj...@free-man.net>.
Thanks for you view on my motives.
 From what Jacques states the server has max hardware resources.
so what resources are you referring to?
I since I have a similar server running more than what Jacques has 
stated, and it runs, I am at a loss on how to work on the ofbiz demo.
I have been focused as much as I am allowed on this for almost a year.
considering posting five urls at the same time should not effect a 
server, I don't see that as testing the limits of the server.


Scott Gray sent the following on 12/9/2010 1:47 PM:
> Everybody works on the areas of the system that are important to them, I suggest you do the same.
>
> The demo server is under-resourced so of course you're going to be able to bring it down if you try to, my suggestion is that you don't try to.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 10/12/2010, at 10:32 AM, BJ Freeman wrote:
>
>> there is a thread on the user ML about the demo being slow.
>> I would think that would be a high priority for all those that commit and make changes to ofbiz.
>> after all what good is all this stuff if it can't be used.
>> I brought down the demo trunk by accessing with seperate requests at one time, as I stated on the user ml.
>>
>> lets focus on real problems.
>>
>>
>>
>


Re: demo server performance

Posted by Scott Gray <sc...@hotwaxmedia.com>.
Everybody works on the areas of the system that are important to them, I suggest you do the same.

The demo server is under-resourced so of course you're going to be able to bring it down if you try to, my suggestion is that you don't try to.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 10/12/2010, at 10:32 AM, BJ Freeman wrote:

> there is a thread on the user ML about the demo being slow.
> I would think that would be a high priority for all those that commit and make changes to ofbiz.
> after all what good is all this stuff if it can't be used.
> I brought down the demo trunk by accessing with seperate requests at one time, as I stated on the user ml.
> 
> lets focus on real problems.
> 
> 
> 


Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
I have just tried to use top and jstack to get more information

Top gives me (using shift-H to get threads showing and c to see which thread belongs to which process)
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
20059 ofbiz     20   0 1398m 898m  16m R 28.4 35.7  86:07.44
java -Xms128M -Xmx768M -XX:MaxPermSize=192m -XX:+HeapDumpOnOutOfMemoryError -Dofbiz.admin.port=10523 -Dofbiz.admin.key=so3du5kasd5dn
 -jar ofbiz.ja
20057 ofbiz     20   0 1398m 898m  16m R 27.8 35.7  80:37.55
java -Xms128M -Xmx768M -XX:MaxPermSize=192m -XX:+HeapDumpOnOutOfMemoryError -Dofbiz.admin.port=10523 -Dofbiz.admin.key=so3du5kasd5dn
 -jar ofbiz.ja
22410 ofbiz     20   0 1398m 898m  16m R 27.8 35.7  78:17.94
java -Xms128M -Xmx768M -XX:MaxPermSize=192m -XX:+HeapDumpOnOutOfMemoryError -Dofbiz.admin.port=10523 -Dofbiz.admin.key=so3du5kasd5dn
 -jar ofbiz.ja
19476 ofbiz     20   0 1398m 898m  16m S 11.4 35.7  35:27.61
java -Xms128M -Xmx768M -XX:MaxPermSize=192m -XX:+HeapDumpOnOutOfMemoryError -Dofbiz.admin.port=10523 -Dofbiz.admin.key=so3du5kasd5dn
 -jar ofbiz.ja
20369 ofbiz     20   0 1398m 898m  16m R  4.2 35.7   0:19.19
java -Xms128M -Xmx768M -XX:MaxPermSize=192m -XX:+HeapDumpOnOutOfMemoryError -Dofbiz.admin.port=10523 -Dofbiz.admin.key=so3du5kasd5dn
 -jar ofbiz.ja
19491 ofbiz     20   0 1398m 898m  16m S  0.3 35.7   0:20.30
java -Xms128M -Xmx768M -XX:MaxPermSize=192m -XX:+HeapDumpOnOutOfMemoryError -Dofbiz.admin.port=10523 -Dofbiz.admin.key=so3du5kasd5dn
 -jar ofbiz.ja
19592 ofbiz     20   0 1398m 898m  16m S  0.3 35.7   0:01.08
java -Xms128M -Xmx768M -XX:MaxPermSize=192m -XX:+HeapDumpOnOutOfMemoryError -Dofbiz.admin.port=10523 -Dofbiz.admin.key=so3du5kasd5dn
 -jar ofbiz.ja
19826 ofbiz     20   0 1398m 898m  16m R  0.3 35.7   0:05.84
java -Xms128M -Xmx768M -XX:MaxPermSize=192m -XX:+HeapDumpOnOutOfMemoryError -Dofbiz.admin.port=10523 -Dofbiz.admin.key=so3du5kasd5dn
 -jar ofbiz.ja

These are all trunk threads, but jstack gives me tons of this for each java thread (more than 100 threads per PID) of 20059, 20057
and 22410

$ jstack -F 20057
Attaching to process ID 20057, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 17.1-b03
Deadlock Detection:

No deadlocks found.

Thread 17347: (state = BLOCKED)
Error occurred during stack walking:
sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp
        at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.execute(LinuxDebuggerLocal.java:152)
        at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.getThreadIntegerRegisterSet(LinuxDebuggerLocal.java:466)
        at sun.jvm.hotspot.debugger.linux.LinuxThread.getContext(LinuxThread.java:65)
        at
sun.jvm.hotspot.runtime.linux_amd64.LinuxAMD64JavaThreadPDAccess.getCurrentFrameGuess(LinuxAMD64JavaThreadPDAccess.java:92)
        at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:256)
        at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:218)
        at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:76)
        at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
        at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
        at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
        at sun.jvm.hotspot.tools.JStack.main(JStack.java:86)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at sun.tools.jstack.JStack.runJStackTool(JStack.java:118)
        at sun.tools.jstack.JStack.main(JStack.java:84)

So, as I can't nothing with this, I tried to kill the 3 PIDS but it kills all the process

I reloaded and gave up, for now it's clean

Jacques


From: "Jacques Le Roux" <ja...@les7arts.com>
> Thanks BJ,
>
> I will remember. Unfortunaltely for the (less annoying) problem at hand we need more a detailled threads report and have nothing
> ready.
>
> Jacques
>
> BJ Freeman wrote:
>> that works for me. Count me in.
>>
>> =========================
>> BJ Freeman
>> Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com  <http://www.specialtymarket.com/>
>> Systems Integrator-- Glad to Assist
>>
>> Chat  Y! messenger: bjfr33man
>>
>>
>> Jacques Le Roux sent the following on 12/9/2010 3:42 PM:
>>> From: "Adam Heath" <do...@brainfood.com>
>>>> On 12/09/2010 05:18 PM, Jacques Le Roux wrote:
>>>>> I have spent a lot of time (I mean in respect of my free time) this last
>>>>> days to understand the problems.
>>>>> It appears that removing the help was a great relief for our demo sever.
>>>>>
>>>>> For few hours now we are running with
>>>>>
>>>>> trunk: -Xms128M -Xmx768M -XX:MaxPermSize=192m (so max seems
>>>>> 768+192=960MB but actually it's more)
>>>>> branch9: -Xms128M -Xmx512M
>>>>>
>>>>> For instance now we have
>>>>> Mem: 2573924k total, 2159888k used, 414036k free, 53672k buffers
>>>>> Swap: 1502036k total, 50676k used, 1451360k free, 438000k cached
>>>>>
>>>>> PID USER PR NI VIRT RES SHR %CPU %MEM
>>>>> trunk 14896 ofbiz 20 0 1377m 753m 7956 0.3 30.0
>>>>> branch9 18147 ofbiz 20 0 918m 670m 13m 0.7 26.7
>>>>>
>>>>> As you can see at some stage we reach more than 960MB for the trunk
>>>>> (1377 max, which is approx but anyway)
>>>>>
>>>>> The main points:
>>>>> * We have still around 400MB free, but I suppose it will be less just
>>>>> before the 24h reload)
>>>>> * We have anymore CPU running always near 100%, for instance right now
>>>>> PID USER PR NI VIRT RES SHR %CPU %MEM TIME+ COMMAND
>>>>> 14896 ofbiz 20 0 1377m 757m 7968 29.7 30.2 19:57.63 java -Xms128M
>>>>> -Xmx768M -XX:MaxPermSize=192m
>>>>> 18147 ofbiz 20 0 918m 671m 13m 22.4 26.7 14:23.55 java -Xms128M -Xmx512M
>>>>>
>>>>>
>>>>> I will wait some days and, if things continue to go well, will re-use
>>>>> more memory for our 2 processes. But I know there are other
>>>>> problems...
>>>>>
>>>>> Like David and Scott said if people are using the Artifact Info or other
>>>>> gluttonous features (Birts?) we will be in trouble with our
>>>>> memory quota. So if such things come back in the future I will suggest
>>>>> to prevent users to use them on the demo server...
>>>>>
>>>>> For the real problems, I think we should focus on fixing the online Help
>>>>> feature. It seems that this isues is something relatively
>>>>> new and a disect should help (I use this word because it's convenient,
>>>>> on my side I simply use dichotomic tests with svn but I have
>>>>> bigger fish to fry for now, that's why I have deactivated it). I think
>>>>> it's not more than few days (weeks?), help appreciated...
>>>>
>>>> Hate to disappoint, but all those memory stats you posted are
>>>> completely useless for actually tracking down what java is doing.
>>>>
>>>> You need to become friends with jmap, jhat(both standard jdk tools),
>>>> and ibm's heap analyzer. Plus, sending the QUIT signal to the java
>>>> process.
>>>
>>> Yes I know, this is only to give a general information about what's
>>> going on on the server.
>>> As I have already wrote I'm actually using mat
>>> http://www.eclipse.org/mat/ behind the scene
>>> I'm also using -XX:+HeapDumpOnOutOfMemoryError but most of the time get
>>> rather out of swap issues when crashing, hard to trace...
>>> One way would be mod_log_forensic... if someone wants to help...
>>>
>>>> In all honesty, I'm going to go out on a limb here and say the higher
>>>> memory requirements of newer ofbiz is due to converting tons of code
>>>> to groovy. With it as a simple-method, or a bsh, both would end up
>>>> using heap, as they are interpetted. java or groovy get compiled to
>>>> bytecode, which ends up being allocated in the permgen area, which
>>>> might also get jit compiled. So, permgen needs to increase.
>>>
>>> It does not seem that we have permgen issues. It's not yet clear, but
>>> for those interested I could move hprof files from demo roots to
>>> bigfiles dir...
>>>
>>> Thanks
>>>
>>> Jacques
>
>



Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks BJ,

I will remember. Unfortunaltely for the (less annoying) problem at hand we need more a detailled threads report and have nothing 
ready.

Jacques

BJ Freeman wrote:
> that works for me. Count me in.
>
> =========================
> BJ Freeman
> Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com  <http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
>
>
> Jacques Le Roux sent the following on 12/9/2010 3:42 PM:
>> From: "Adam Heath" <do...@brainfood.com>
>>> On 12/09/2010 05:18 PM, Jacques Le Roux wrote:
>>>> I have spent a lot of time (I mean in respect of my free time) this last
>>>> days to understand the problems.
>>>> It appears that removing the help was a great relief for our demo sever.
>>>>
>>>> For few hours now we are running with
>>>>
>>>> trunk: -Xms128M -Xmx768M -XX:MaxPermSize=192m (so max seems
>>>> 768+192=960MB but actually it's more)
>>>> branch9: -Xms128M -Xmx512M
>>>>
>>>> For instance now we have
>>>> Mem: 2573924k total, 2159888k used, 414036k free, 53672k buffers
>>>> Swap: 1502036k total, 50676k used, 1451360k free, 438000k cached
>>>>
>>>> PID USER PR NI VIRT RES SHR %CPU %MEM
>>>> trunk 14896 ofbiz 20 0 1377m 753m 7956 0.3 30.0
>>>> branch9 18147 ofbiz 20 0 918m 670m 13m 0.7 26.7
>>>>
>>>> As you can see at some stage we reach more than 960MB for the trunk
>>>> (1377 max, which is approx but anyway)
>>>>
>>>> The main points:
>>>> * We have still around 400MB free, but I suppose it will be less just
>>>> before the 24h reload)
>>>> * We have anymore CPU running always near 100%, for instance right now
>>>> PID USER PR NI VIRT RES SHR %CPU %MEM TIME+ COMMAND
>>>> 14896 ofbiz 20 0 1377m 757m 7968 29.7 30.2 19:57.63 java -Xms128M
>>>> -Xmx768M -XX:MaxPermSize=192m
>>>> 18147 ofbiz 20 0 918m 671m 13m 22.4 26.7 14:23.55 java -Xms128M -Xmx512M
>>>>
>>>>
>>>> I will wait some days and, if things continue to go well, will re-use
>>>> more memory for our 2 processes. But I know there are other
>>>> problems...
>>>>
>>>> Like David and Scott said if people are using the Artifact Info or other
>>>> gluttonous features (Birts?) we will be in trouble with our
>>>> memory quota. So if such things come back in the future I will suggest
>>>> to prevent users to use them on the demo server...
>>>>
>>>> For the real problems, I think we should focus on fixing the online Help
>>>> feature. It seems that this isues is something relatively
>>>> new and a disect should help (I use this word because it's convenient,
>>>> on my side I simply use dichotomic tests with svn but I have
>>>> bigger fish to fry for now, that's why I have deactivated it). I think
>>>> it's not more than few days (weeks?), help appreciated...
>>>
>>> Hate to disappoint, but all those memory stats you posted are
>>> completely useless for actually tracking down what java is doing.
>>>
>>> You need to become friends with jmap, jhat(both standard jdk tools),
>>> and ibm's heap analyzer. Plus, sending the QUIT signal to the java
>>> process.
>>
>> Yes I know, this is only to give a general information about what's
>> going on on the server.
>> As I have already wrote I'm actually using mat
>> http://www.eclipse.org/mat/ behind the scene
>> I'm also using -XX:+HeapDumpOnOutOfMemoryError but most of the time get
>> rather out of swap issues when crashing, hard to trace...
>> One way would be mod_log_forensic... if someone wants to help...
>>
>>> In all honesty, I'm going to go out on a limb here and say the higher
>>> memory requirements of newer ofbiz is due to converting tons of code
>>> to groovy. With it as a simple-method, or a bsh, both would end up
>>> using heap, as they are interpetted. java or groovy get compiled to
>>> bytecode, which ends up being allocated in the permgen area, which
>>> might also get jit compiled. So, permgen needs to increase.
>>
>> It does not seem that we have permgen issues. It's not yet clear, but
>> for those interested I could move hprof files from demo roots to
>> bigfiles dir...
>>
>> Thanks
>>
>> Jacques 



Re: demo server performance

Posted by BJ Freeman <bj...@free-man.net>.
that works for me. Count me in.

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Jacques Le Roux sent the following on 12/9/2010 3:42 PM:
> From: "Adam Heath" <do...@brainfood.com>
>> On 12/09/2010 05:18 PM, Jacques Le Roux wrote:
>>> I have spent a lot of time (I mean in respect of my free time) this last
>>> days to understand the problems.
>>> It appears that removing the help was a great relief for our demo sever.
>>>
>>> For few hours now we are running with
>>>
>>> trunk: -Xms128M -Xmx768M -XX:MaxPermSize=192m (so max seems
>>> 768+192=960MB but actually it's more)
>>> branch9: -Xms128M -Xmx512M
>>>
>>> For instance now we have
>>> Mem: 2573924k total, 2159888k used, 414036k free, 53672k buffers
>>> Swap: 1502036k total, 50676k used, 1451360k free, 438000k cached
>>>
>>> PID USER PR NI VIRT RES SHR %CPU %MEM
>>> trunk 14896 ofbiz 20 0 1377m 753m 7956 0.3 30.0
>>> branch9 18147 ofbiz 20 0 918m 670m 13m 0.7 26.7
>>>
>>> As you can see at some stage we reach more than 960MB for the trunk
>>> (1377 max, which is approx but anyway)
>>>
>>> The main points:
>>> * We have still around 400MB free, but I suppose it will be less just
>>> before the 24h reload)
>>> * We have anymore CPU running always near 100%, for instance right now
>>> PID USER PR NI VIRT RES SHR %CPU %MEM TIME+ COMMAND
>>> 14896 ofbiz 20 0 1377m 757m 7968 29.7 30.2 19:57.63 java -Xms128M
>>> -Xmx768M -XX:MaxPermSize=192m
>>> 18147 ofbiz 20 0 918m 671m 13m 22.4 26.7 14:23.55 java -Xms128M -Xmx512M
>>>
>>>
>>> I will wait some days and, if things continue to go well, will re-use
>>> more memory for our 2 processes. But I know there are other
>>> problems...
>>>
>>> Like David and Scott said if people are using the Artifact Info or other
>>> gluttonous features (Birts?) we will be in trouble with our
>>> memory quota. So if such things come back in the future I will suggest
>>> to prevent users to use them on the demo server...
>>>
>>> For the real problems, I think we should focus on fixing the online Help
>>> feature. It seems that this isues is something relatively
>>> new and a disect should help (I use this word because it's convenient,
>>> on my side I simply use dichotomic tests with svn but I have
>>> bigger fish to fry for now, that's why I have deactivated it). I think
>>> it's not more than few days (weeks?), help appreciated...
>>
>> Hate to disappoint, but all those memory stats you posted are
>> completely useless for actually tracking down what java is doing.
>>
>> You need to become friends with jmap, jhat(both standard jdk tools),
>> and ibm's heap analyzer. Plus, sending the QUIT signal to the java
>> process.
>
> Yes I know, this is only to give a general information about what's
> going on on the server.
> As I have already wrote I'm actually using mat
> http://www.eclipse.org/mat/ behind the scene
> I'm also using -XX:+HeapDumpOnOutOfMemoryError but most of the time get
> rather out of swap issues when crashing, hard to trace...
> One way would be mod_log_forensic... if someone wants to help...
>
>> In all honesty, I'm going to go out on a limb here and say the higher
>> memory requirements of newer ofbiz is due to converting tons of code
>> to groovy. With it as a simple-method, or a bsh, both would end up
>> using heap, as they are interpetted. java or groovy get compiled to
>> bytecode, which ends up being allocated in the permgen area, which
>> might also get jit compiled. So, permgen needs to increase.
>
> It does not seem that we have permgen issues. It's not yet clear, but
> for those interested I could move hprof files from demo roots to
> bigfiles dir...
>
> Thanks
>
> Jacques
>
>
>


Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Adam Heath" <do...@brainfood.com>
> On 12/09/2010 05:18 PM, Jacques Le Roux wrote:
>> I have spent a lot of time (I mean in respect of my free time) this last
>> days to understand the problems.
>> It appears that removing the help was a great relief for our demo sever.
>>
>> For few hours now we are running with
>>
>> trunk: -Xms128M -Xmx768M -XX:MaxPermSize=192m (so max seems
>> 768+192=960MB but actually it's more)
>> branch9: -Xms128M -Xmx512M
>>
>> For instance now we have
>> Mem: 2573924k total, 2159888k used, 414036k free, 53672k buffers
>> Swap: 1502036k total, 50676k used, 1451360k free, 438000k cached
>>
>> PID USER PR NI VIRT RES SHR %CPU %MEM
>> trunk 14896 ofbiz 20 0 1377m 753m 7956 0.3 30.0
>> branch9 18147 ofbiz 20 0 918m 670m 13m 0.7 26.7
>>
>> As you can see at some stage we reach more than 960MB for the trunk
>> (1377 max, which is approx but anyway)
>>
>> The main points:
>> * We have still around 400MB free, but I suppose it will be less just
>> before the 24h reload)
>> * We have anymore CPU running always near 100%, for instance right now
>> PID USER PR NI VIRT RES SHR %CPU %MEM TIME+ COMMAND
>> 14896 ofbiz 20 0 1377m 757m 7968 29.7 30.2 19:57.63 java -Xms128M
>> -Xmx768M -XX:MaxPermSize=192m
>> 18147 ofbiz 20 0 918m 671m 13m 22.4 26.7 14:23.55 java -Xms128M -Xmx512M
>>
>>
>> I will wait some days and, if things continue to go well, will re-use
>> more memory for our 2 processes. But I know there are other
>> problems...
>>
>> Like David and Scott said if people are using the Artifact Info or other
>> gluttonous features (Birts?) we will be in trouble with our
>> memory quota. So if such things come back in the future I will suggest
>> to prevent users to use them on the demo server...
>>
>> For the real problems, I think we should focus on fixing the online Help
>> feature. It seems that this isues is something relatively
>> new and a disect should help (I use this word because it's convenient,
>> on my side I simply use dichotomic tests with svn but I have
>> bigger fish to fry for now, that's why I have deactivated it). I think
>> it's not more than few days (weeks?), help appreciated...
>
> Hate to disappoint, but all those memory stats you posted are completely useless for actually tracking down what java is doing.
>
> You need to become friends with jmap, jhat(both standard jdk tools), and ibm's heap analyzer.  Plus, sending the QUIT signal to 
> the java process.

Yes I know, this is only to give a general information about what's going on on the server.
As I have already wrote I'm actually using mat http://www.eclipse.org/mat/ behind the scene
I'm also using -XX:+HeapDumpOnOutOfMemoryError but most of the time get rather out of swap issues when crashing, hard to trace...
One way would be mod_log_forensic... if someone wants to help...

> In all honesty, I'm going to go out on a limb here and say the higher memory requirements of newer ofbiz is due to converting tons 
> of code to groovy.  With it as a simple-method, or a bsh, both would end up using heap, as they are interpetted.  java or groovy 
> get compiled to bytecode, which ends up being allocated in the permgen area, which might also get jit compiled.  So, permgen needs 
> to increase.

It does not seem that we have permgen issues. It's not yet clear, but for those interested I could move hprof files from demo roots 
to bigfiles dir...

Thanks

Jacques



Re: demo server performance

Posted by Adam Heath <do...@brainfood.com>.
On 12/09/2010 05:18 PM, Jacques Le Roux wrote:
> I have spent a lot of time (I mean in respect of my free time) this last
> days to understand the problems.
> It appears that removing the help was a great relief for our demo sever.
>
> For few hours now we are running with
>
> trunk: -Xms128M -Xmx768M -XX:MaxPermSize=192m (so max seems
> 768+192=960MB but actually it's more)
> branch9: -Xms128M -Xmx512M
>
> For instance now we have
> Mem: 2573924k total, 2159888k used, 414036k free, 53672k buffers
> Swap: 1502036k total, 50676k used, 1451360k free, 438000k cached
>
> PID USER PR NI VIRT RES SHR %CPU %MEM
> trunk 14896 ofbiz 20 0 1377m 753m 7956 0.3 30.0
> branch9 18147 ofbiz 20 0 918m 670m 13m 0.7 26.7
>
> As you can see at some stage we reach more than 960MB for the trunk
> (1377 max, which is approx but anyway)
>
> The main points:
> * We have still around 400MB free, but I suppose it will be less just
> before the 24h reload)
> * We have anymore CPU running always near 100%, for instance right now
> PID USER PR NI VIRT RES SHR %CPU %MEM TIME+ COMMAND
> 14896 ofbiz 20 0 1377m 757m 7968 29.7 30.2 19:57.63 java -Xms128M
> -Xmx768M -XX:MaxPermSize=192m
> 18147 ofbiz 20 0 918m 671m 13m 22.4 26.7 14:23.55 java -Xms128M -Xmx512M
>
>
> I will wait some days and, if things continue to go well, will re-use
> more memory for our 2 processes. But I know there are other
> problems...
>
> Like David and Scott said if people are using the Artifact Info or other
> gluttonous features (Birts?) we will be in trouble with our
> memory quota. So if such things come back in the future I will suggest
> to prevent users to use them on the demo server...
>
> For the real problems, I think we should focus on fixing the online Help
> feature. It seems that this isues is something relatively
> new and a disect should help (I use this word because it's convenient,
> on my side I simply use dichotomic tests with svn but I have
> bigger fish to fry for now, that's why I have deactivated it). I think
> it's not more than few days (weeks?), help appreciated...

Hate to disappoint, but all those memory stats you posted are 
completely useless for actually tracking down what java is doing.

You need to become friends with jmap, jhat(both standard jdk tools), 
and ibm's heap analyzer.  Plus, sending the QUIT signal to the java 
process.

In all honesty, I'm going to go out on a limb here and say the higher 
memory requirements of newer ofbiz is due to converting tons of code 
to groovy.  With it as a simple-method, or a bsh, both would end up 
using heap, as they are interpetted.  java or groovy get compiled to 
bytecode, which ends up being allocated in the permgen area, which 
might also get jit compiled.  So, permgen needs to increase.

Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
I have spent a lot of time (I mean in respect of my free time) this last days to understand the problems.
It appears that removing the help was a great relief for our demo sever.

For few hours now we are running with

trunk: -Xms128M -Xmx768M -XX:MaxPermSize=192m (so max seems 768+192=960MB but actually it's more)
branch9: -Xms128M -Xmx512M

For instance now we have
Mem:   2573924k total,  2159888k used,   414036k free,    53672k buffers
Swap:  1502036k total,    50676k used,  1451360k free,   438000k cached

             PID     USER      PR  NI  VIRT  RES      SHR  %CPU %MEM
trunk     14896     ofbiz     20   0     1377m 753m 7956   0.3         30.0
branch9    18147 ofbiz     20   0      918m 670m  13m   0.7         26.7

As you can see at some stage we reach more than 960MB for the trunk (1377 max, which is approx but anyway)

The main points:
* We have still around 400MB  free, but I suppose it will be less just before the 24h reload)
* We have anymore CPU running always near 100%, for instance right now
  PID USER      PR  NI  VIRT  RES  SHR  %CPU %MEM    TIME+  COMMAND
14896 ofbiz     20   0 1377m 757m 7968  29.7 30.2  19:57.63 java -Xms128M -Xmx768M -XX:MaxPermSize=192m
18147 ofbiz     20   0  918m 671m  13m  22.4 26.7  14:23.55 java -Xms128M -Xmx512M


I will wait some days and, if things continue to go well, will re-use more memory for our 2 processes. But I know there are other
problems...

Like David and Scott said if people are using the Artifact Info or other gluttonous features (Birts?) we will be in trouble with our
memory quota. So if such things come back in the future I will suggest to prevent users to use them on the demo server...

For the real problems, I think we should focus on fixing the online Help feature. It seems that this isues is something relatively
new and a disect should help (I use this word because it's convenient, on my side I simply use dichotomic tests with svn but I have
bigger fish to fry for now, that's why I have deactivated it). I think it's not more than few days (weeks?), help appreciated...

Thanks

Jacques

From: "BJ Freeman" <bj...@free-man.net>
> there is a thread on the user ML about the demo being slow.
> I would think that would be a high priority for all those that commit and make changes to ofbiz.
> after all what good is all this stuff if it can't be used.
> I brought down the demo trunk by accessing with seperate requests at one time, as I stated on the user ml.
>
> lets focus on real problems.
>
>
>



Re: demo server performance

Posted by BJ Freeman <bj...@free-man.net>.
small misunderstanding.
50 as business models, in realestate, education, restraunt, and so on.
so this is work that has to be done even if the paritular busine3ss 
model has not been sold so that it is update when a clients buys.

yes I have my own Svn there is "production" for each.
and a script that upgrades each client for that business model that is 
already in production.

this is nothing new to me since I have been doing software life cycles 
since the early 80's.


=====================

BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Adam Heath sent the following on 12/9/2010 4:18 PM:
> On 12/09/2010 06:09 PM, BJ Freeman wrote:
>> You got me there Adam.
>> and I am not saying we test or run upgrade at each update of 10.4.
>> based on efforts so far I don't expect the effort I outlined to be done
>> by the volunteers, though they are the best qualified to do this.
>>
>> as you see I do take my support of ofbiz seriously.
>> and when you multiply this more than 50 times it turns out to be more
>> than a man year to release what I consider stable systems.
>
> We don't upgrade production systems. We leave them alone. If there are
> problems, we backport changes into whatever version of ofbiz is
> deployed. For the last 3 years, that has been thru a debian package of
> ofbiz. When a client has a problem, and it gets fixed, using the debian
> package allows us to get that same fix out to other production instances
> running the same version.
>
> We also manage the debian package thru git, and it's possible to
> checkout the exact version of the debian package locally onto the
> production system. We then change OFBIZ_HOME in the init script to point
> to the checkout, and can then fix the code in place. Once the fix works,
> it is copied into the build system, and a new package is produced.
>
> Full ofbiz package upgrades are never done without a client paying.
>
> I currently have ofbiz packages of 595296, 811564, and 902021 that I
> have to maintain. There are some really old versions, where we would
> take a snapshot of whatever ofbiz was current at the time the new job
> was created, but we've moved away from that. Instead, the company as a
> whole decided to stick with a version of ofbiz for an extended period.
> This period tends to be yearly(but that's not set in stone).
>


Re: demo server performance

Posted by Adam Heath <do...@brainfood.com>.
On 12/09/2010 06:09 PM, BJ Freeman wrote:
> You got me there Adam.
> and I am not saying we test or run upgrade at each update of 10.4.
> based on efforts so far I don't expect the effort I outlined to be done
> by the volunteers, though they are the best qualified to do this.
>
> as you see I do take my support of ofbiz seriously.
> and when you multiply this more than 50 times it turns out to be more
> than a man year to release what I consider stable systems.

We don't upgrade production systems.  We leave them alone.  If there 
are problems, we backport changes into whatever version of ofbiz is 
deployed.  For the last 3 years, that has been thru a debian package 
of ofbiz.  When a client has a problem, and it gets fixed, using the 
debian package allows us to get that same fix out to other production 
instances running the same version.

We also manage the debian package thru git, and it's possible to 
checkout the exact version of the debian package locally onto the 
production system.  We then change OFBIZ_HOME in the init script to 
point to the checkout, and can then fix the code in place.  Once the 
fix works, it is copied into the build system, and a new package is 
produced.

Full ofbiz package upgrades are never done without a client paying.

I currently have ofbiz packages of 595296, 811564, and 902021 that I 
have to maintain.  There are some really old versions, where we would 
take a snapshot of whatever ofbiz was current at the time the new job 
was created, but we've moved away from that.  Instead, the company as 
a whole decided to stick with a version of ofbiz for an extended 
period.  This period tends to be yearly(but that's not set in stone).

Re: demo server performance

Posted by BJ Freeman <bj...@free-man.net>.
You got me there Adam.
and I am not saying we test or run upgrade at each update of 10.4.
based on efforts so far I don't expect the effort I outlined to be done 
by the volunteers, though they are the best qualified to do this.

as you see I do take my support of ofbiz seriously.
and when you multiply this more than 50 times it turns out to be more 
than a man year to release what I consider stable systems.


=========================

BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Adam Heath sent the following on 12/9/2010 3:52 PM:
> On 12/09/2010 05:50 PM, BJ Freeman wrote:
>> all my changes are in seperate components.
>> currently my attention is 10.4 branch, which I keep updating in a test
>> instance.
>> 1)load and configure my componets
>> 2)ant run-install
>> check logs and operation related to my components.
>> what usually happens is I get log errors do to changes that are not
>> compatible from 9.04.
>> 3)connect to postgresql
>> 4)load data from production server into this test instance.
>> set entityengine so will not update db.
>> 5)run code so get logs reports of data changes
>> 6)see if any effect my components
>> 7)got through the compoents to change.
>> 8)ant clean-all
>> 9)clean the postresql and turn back on add tables.
>> 10)run migration of production data to changed db for 10.4
>>
>> first time workeffort was a few manweeks.
>> each subsequence update of the 10.4 does not exceed a manweek.
>
> Interesting. Yes, I agree, a defined release branch in ofbiz(10.4 in
> this case) should have such upgrade support from one minor point release
> to another.
>
> However, there actually hasn't been a real release of that branch, so, ...
>


Re: demo server performance

Posted by Adam Heath <do...@brainfood.com>.
On 12/09/2010 05:50 PM, BJ Freeman wrote:
> all my changes are in seperate components.
> currently my attention is 10.4 branch, which I keep updating in a test
> instance.
> 1)load and configure my componets
> 2)ant run-install
> check logs and operation related to my components.
> what usually happens is I get log errors do to changes that are not
> compatible from 9.04.
> 3)connect to postgresql
> 4)load data from production server into this test instance.
> set entityengine so will not update db.
> 5)run code so get logs reports of data changes
> 6)see if any effect my components
> 7)got through the compoents to change.
> 8)ant clean-all
> 9)clean the postresql and turn back on add tables.
> 10)run migration of production data to changed db for 10.4
>
> first time workeffort was a few manweeks.
> each subsequence update of the 10.4 does not exceed a manweek.

Interesting.  Yes, I agree, a defined release branch in ofbiz(10.4 in 
this case) should have such upgrade support from one minor point 
release to another.

However, there actually hasn't been a real release of that branch, so, ...

Re: demo server performance

Posted by BJ Freeman <bj...@free-man.net>.
all my changes are in seperate components.
currently my attention is 10.4 branch, which I keep updating in a test 
instance.
1)load and configure my componets
2)ant run-install
check logs and operation related to my components.
what usually happens is I get log errors do to changes that are not 
compatible from 9.04.
3)connect to postgresql
4)load data from production server into this test instance.
set entityengine so will not update db.
5)run code so get logs reports of data changes
6)see if any effect my components
7)got through the compoents to change.
8)ant clean-all
9)clean the postresql and turn back on add tables.
10)run migration of production data to changed db for 10.4

first time workeffort was a few manweeks.
each subsequence update of the 10.4 does not exceed a manweek.


=========================

BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Adam Heath sent the following on 12/9/2010 3:22 PM:
> On 12/09/2010 05:11 PM, BJ Freeman wrote:
>  > [snip, just want to talk about the next paragraph]
>
>> If everyone stop contributing the way they do(little or no intensive
>> testing, and upgrade paths), maybe I could get release stable. So I
>> don't see the "gifts" as that.
>
> What do you mean, getting a release stable? Are you deploying new
> applications on trunk, and then after the deployment, continuing to
> upgrade to the latest trunk each time, in a production environment? If
> so, then don't do that.
>
> In all the various open source projects I have been involved with,
> *none* have ever done full upgrade testing, full system regression, on
> trunk. Only when the set of features stablizes, and a real release is
> iniment, does final upgrade testing occur, and release notes get finalized.
>
> A feature added to trunk during a development cycle may end up getting
> completely rewritten, or removed, before the next stable release comes
> out. If we follow your design practice, then every single change will
> have to come with full deprecation of old features, full upgrade
> support, and nothing will actually get implemented.
>
> Here at brainfood, our current ofbiz deployments are based on svn
> 902021. There was nothing special about that particular version. I just
> happened to have time to create a new ofbiz.deb package(we use debian
> internally). Since then, there have been 447 commits to our local
> package, and 42 separate package releases. 99% of those changes are
> backports(actually, we use git, so they are called cherry-picks)
> directly from trunk. I've been able to do this all on my own, a single
> person, in addition to my other duties. It has not been a huge sap on my
> personal resources.
>


Re: demo server performance

Posted by Adam Heath <do...@brainfood.com>.
On 12/09/2010 05:11 PM, BJ Freeman wrote:
 > [snip, just want to talk about the next paragraph]

> If everyone stop contributing the way they do(little or no intensive
> testing, and upgrade paths), maybe I could get release stable. So I
> don't see the "gifts" as that.

What do you mean, getting a release stable?  Are you deploying new 
applications on trunk, and then after the deployment, continuing to 
upgrade to the latest trunk each time, in a production environment? 
If so, then don't do that.

In all the various open source projects I have been involved with, 
*none* have ever done full upgrade testing, full system regression, on 
trunk.  Only when the set of features stablizes, and a real release is 
iniment, does final upgrade testing occur, and release notes get 
finalized.

A feature added to trunk during a development cycle may end up getting 
completely rewritten, or removed, before the next stable release comes 
out.  If we follow your design practice, then every single change will 
have to come with full deprecation of old features, full upgrade 
support, and nothing will actually get implemented.

Here at brainfood, our current ofbiz deployments are based on svn 
902021.  There was nothing special about that particular version.  I 
just happened to have time to create a new ofbiz.deb package(we use 
debian internally).  Since then, there have been 447 commits to our 
local package, and 42 separate package releases.  99% of those changes 
are backports(actually, we use git, so they are called cherry-picks) 
directly from trunk.  I've been able to do this all on my own, a 
single person, in addition to my other duties.  It has not been a huge 
sap on my personal resources.

Re: demo server performance

Posted by BJ Freeman <bj...@free-man.net>.
I have, what I consider, not only production but demo and test instances 
on a server.
an they work so I agree.
BTW I can use the artifacts on my production so that is not a consideration.

I mean those that review the code that gets committed and have access to 
the demo server.

I answer the resources in my reply to scott.

If everyone stop contributing the way they do(little or no intensive 
testing, and upgrade paths), maybe I could get release stable. So I 
don't see the "gifts" as that.

that is slowly being taken care of as my resources are gaining.



========================

BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


David E Jones sent the following on 12/9/2010 2:23 PM:
>
> On Dec 9, 2010, at 1:32 PM, BJ Freeman wrote:
>
>> there is a thread on the user ML about the demo being slow.
>> I would think that would be a high priority for all those that commit and make changes to ofbiz.
>> after all what good is all this stuff if it can't be used.
>> I brought down the demo trunk by accessing with seperate requests at one time, as I stated on the user ml.
>>
>> lets focus on real problems.
>
> The real problem is: real problems according to who/what?
>
> Don't make the mistake of thinking that problems on the demo server mean that real-world users with production instances are having the same problems. Also, consider that many of the features (like the WebTools ->  Artifact Info stuff) are NOT meant to be run on production systems and doing so is guaranteed to use system resources in a wasteful way.
>
> The main way that things get fixed is by a "real-world" user dedicating resources to fixing things that are important to their use of the system, and if you look at the commit logs you'll see those kinds of fixes (and/or improvements) coming in all the time. That's what drives the project.
>
> Scott mentioned that the demo server is under-resourced, and that is true of hardware resources AND human resources. If not enough people care about it, there is no means of force or incentive from the project itself to get it done.
>
> BTW BJ, why in your message did you limit the people who should do something about this to "all those that commit and make changes to ofbiz"? Or did you mean that more generally, like anyone who changes OFBiz, which would include you too?
>
> If that's not what you meant, then would you consider yourself to be in the category of person that believes that a voluntary gift by someone obligates them to future involuntary gifts? And what will you do if they stop giving and your entitlements are gone?
>
> -David
>
>


Re: demo server performance

Posted by David E Jones <de...@me.com>.
On Dec 9, 2010, at 1:32 PM, BJ Freeman wrote:

> there is a thread on the user ML about the demo being slow.
> I would think that would be a high priority for all those that commit and make changes to ofbiz.
> after all what good is all this stuff if it can't be used.
> I brought down the demo trunk by accessing with seperate requests at one time, as I stated on the user ml.
> 
> lets focus on real problems.

The real problem is: real problems according to who/what?

Don't make the mistake of thinking that problems on the demo server mean that real-world users with production instances are having the same problems. Also, consider that many of the features (like the WebTools -> Artifact Info stuff) are NOT meant to be run on production systems and doing so is guaranteed to use system resources in a wasteful way.

The main way that things get fixed is by a "real-world" user dedicating resources to fixing things that are important to their use of the system, and if you look at the commit logs you'll see those kinds of fixes (and/or improvements) coming in all the time. That's what drives the project.

Scott mentioned that the demo server is under-resourced, and that is true of hardware resources AND human resources. If not enough people care about it, there is no means of force or incentive from the project itself to get it done.

BTW BJ, why in your message did you limit the people who should do something about this to "all those that commit and make changes to ofbiz"? Or did you mean that more generally, like anyone who changes OFBiz, which would include you too?

If that's not what you meant, then would you consider yourself to be in the category of person that believes that a voluntary gift by someone obligates them to future involuntary gifts? And what will you do if they stop giving and your entitlements are gone?

-David


Re: demo server performance

Posted by Jacques Le Roux <ja...@les7arts.com>.
I have spent a lot of time (I mean in respect of my free time) this last days to understand the problems.
It appears that removing the help was a great relief for our demo sever.

For few hours now we are running with

trunk: -Xms128M -Xmx768M -XX:MaxPermSize=192m (so max seems 768+192=960MB but actually it's more)
branch9: -Xms128M -Xmx512M

For instance now we have
Mem:   2573924k total,  2159888k used,   414036k free,    53672k buffers
Swap:  1502036k total,    50676k used,  1451360k free,   438000k cached

             PID     USER      PR  NI  VIRT  RES      SHR  %CPU %MEM
trunk     14896     ofbiz     20   0     1377m 753m 7956   0.3         30.0
branch9    18147 ofbiz     20   0      918m 670m  13m   0.7         26.7

As you can see at some stage we reach more than 960MB for the trunk (1377 max, which is approx but anyway)

The main points:
* We have still around 400MB  free, but I suppose it will be less just before the 24h reload)
* We have anymore CPU running always near 100%, for instance right now
  PID USER      PR  NI  VIRT  RES  SHR  %CPU %MEM    TIME+  COMMAND
14896 ofbiz     20   0 1377m 757m 7968  29.7 30.2  19:57.63 java -Xms128M -Xmx768M -XX:MaxPermSize=192m
18147 ofbiz     20   0  918m 671m  13m  22.4 26.7  14:23.55 java -Xms128M -Xmx512M


I will wait some days and, if things continue to go well, will re-use more memory for our 2 processes. But I know there are other
problems...

Like David and Scott said if people are using the Artifact Info or other gluttonous features (Birts?) we will be in trouble with our
memory quota. So if such things come back in the future I will suggest to prevent users to use them on the demo server...

For the real problems, I think we should focus on fixing the online Help feature. It seems that this isues is something relatively
new and a disect should help (I use this word because it's convenient, on my side I simply use dichotomic tests with svn but I have
bigger fish to fry for now, that's why I have deactivated it). I think it's not more than few days (weeks?), help appreciated...

Thanks

Jacques

From: "BJ Freeman" <bj...@free-man.net>
> there is a thread on the user ML about the demo being slow.
> I would think that would be a high priority for all those that commit and make changes to ofbiz.
> after all what good is all this stuff if it can't be used.
> I brought down the demo trunk by accessing with seperate requests at one time, as I stated on the user ml.
>
> lets focus on real problems.
>
>
>