Trunk demo stuck

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Trunk demo stuck

Jacques Le Roux
Administrator
Hi,

I had to kill the trunk process this morning, it works again

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Trunk demo stuck

BJ Freeman
I been watching my trunk demo on my server.
I notice it keeps using more memory with little or no user activity.
I am leaning towards some memory leaks that happen during scheduled
services.

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Jacques Le Roux sent the following on 5/19/2010 12:43 AM:
> Hi,
>
> I had to kill the trunk process this morning, it works again
>
> Jacques
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Trunk demo stuck

Jacques Le Roux
Administrator
Maybe, I did not notice any memory ultra-growth, there was nothing special in the log,  but I was unable to use stopobiz.sh to stop
the process (the 1st to encounter this issue was the automatic update script)
Not sure why, we will see if it reproduces..

Jacques

From: "BJ Freeman" <[hidden email]>

>I been watching my trunk demo on my server.
> I notice it keeps using more memory with little or no user activity.
> I am leaning towards some memory leaks that happen during scheduled
> services.
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> Jacques Le Roux sent the following on 5/19/2010 12:43 AM:
>> Hi,
>>
>> I had to kill the trunk process this morning, it works again
>>
>> Jacques
>>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Trunk demo stuck

BJ Freeman
In reply to this post by BJ Freeman
i have run into the stopobiz.sh issue ever since 3.0
I have never had a problem with the ij.ofbiz for
/etc/init.d/trunkdemo restart
I copy the the ofbiz.jar to trunkdemo.jar in the update script
and in the ij.ofbiz I copy over to /etc/init.d/trunkdemo



=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Jacques Le Roux sent the following on 5/19/2010 7:47 AM:

> Maybe, I did not notice any memory ultra-growth, there was nothing
> special in the log,  but I was unable to use stopobiz.sh to stop the
> process (the 1st to encounter this issue was the automatic update script)
> Not sure why, we will see if it reproduces..
>
> Jacques
>
> From: "BJ Freeman" <[hidden email]>
>> I been watching my trunk demo on my server.
>> I notice it keeps using more memory with little or no user activity.
>> I am leaning towards some memory leaks that happen during scheduled
>> services.
>>
>> =========================
>> BJ Freeman
>> http://bjfreeman.elance.com
>> Strategic Power Office with Supplier Automation
>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>>
>> Systems Integrator-- Glad to Assist
>>
>> Chat  Y! messenger: bjfr33man
>> Linkedin
>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>>
>>
>>
>> Jacques Le Roux sent the following on 5/19/2010 12:43 AM:
>>> Hi,
>>>
>>> I had to kill the trunk process this morning, it works again
>>>
>>> Jacques
>>>
>>>
>>
>>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Trunk demo stuck

Jacques Le Roux
Administrator
Thanks BJ,

I don't think we need ij as we do an
ant clean-all
ant run-install
each time we update (every 24 hours)

The problem is for being able to do them we need to use stopofbiz.sh before with  sleep time between (actually I do it 3 times, with
a 10 secs sleep between each) and sometimes (rarely) it fails. And when it fails you have no ways but to kill the OFBiz process.

Maybe your update process is better though, as ours is a very raw one... Here it is

svn up
./stopofbiz.sh
sleep 10
./stopofbiz.sh
sleep 10
./stopofbiz.sh
sleep 10
ant clean-all
ant run-install
ant svninfo
sleep 10
./startofbiz.sh

Jacques

From: "BJ Freeman" <[hidden email]>

>i have run into the stopobiz.sh issue ever since 3.0
> I have never had a problem with the ij.ofbiz for
> /etc/init.d/trunkdemo restart
> I copy the the ofbiz.jar to trunkdemo.jar in the update script
> and in the ij.ofbiz I copy over to /etc/init.d/trunkdemo
>
>
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> Jacques Le Roux sent the following on 5/19/2010 7:47 AM:
>> Maybe, I did not notice any memory ultra-growth, there was nothing
>> special in the log,  but I was unable to use stopobiz.sh to stop the
>> process (the 1st to encounter this issue was the automatic update script)
>> Not sure why, we will see if it reproduces..
>>
>> Jacques
>>
>> From: "BJ Freeman" <[hidden email]>
>>> I been watching my trunk demo on my server.
>>> I notice it keeps using more memory with little or no user activity.
>>> I am leaning towards some memory leaks that happen during scheduled
>>> services.
>>>
>>> =========================
>>> BJ Freeman
>>> http://bjfreeman.elance.com
>>> Strategic Power Office with Supplier Automation
>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>>
>>> Systems Integrator-- Glad to Assist
>>>
>>> Chat  Y! messenger: bjfr33man
>>> Linkedin
>>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>>>
>>>
>>>
>>> Jacques Le Roux sent the following on 5/19/2010 12:43 AM:
>>>> Hi,
>>>>
>>>> I had to kill the trunk process this morning, it works again
>>>>
>>>> Jacques
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Trunk demo stuck

BJ Freeman
In reply to this post by BJ Freeman
I use the script
https://issues.apache.org/jira/browse/OFBIZ-3705
which downloads the working compiled copy.
only because I want to know that it complied before I use it.
however if you do a copy of ij.obiz to /etc/init.d/ofbiz
and change the permissions your script should do it.
you could use it.
just a thought


=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Jacques Le Roux sent the following on 5/20/2010 12:27 AM:

> Thanks BJ,
>
> I don't think we need ij as we do an
> ant clean-all
> ant run-install
> each time we update (every 24 hours)
>
> The problem is for being able to do them we need to use stopofbiz.sh
> before with  sleep time between (actually I do it 3 times, with a 10
> secs sleep between each) and sometimes (rarely) it fails. And when it
> fails you have no ways but to kill the OFBiz process.
>
> Maybe your update process is better though, as ours is a very raw one...
> Here it is
>
> svn up
> ./stopofbiz.sh
> sleep 10
> ./stopofbiz.sh
> sleep 10
> ./stopofbiz.sh
> sleep 10
> ant clean-all
> ant run-install
> ant svninfo
> sleep 10
> ./startofbiz.sh
>
> Jacques
>
> From: "BJ Freeman" <[hidden email]>
>> i have run into the stopobiz.sh issue ever since 3.0
>> I have never had a problem with the ij.ofbiz for
>> /etc/init.d/trunkdemo restart
>> I copy the the ofbiz.jar to trunkdemo.jar in the update script
>> and in the ij.ofbiz I copy over to /etc/init.d/trunkdemo
>>
>>
>>
>> =========================
>> BJ Freeman
>> http://bjfreeman.elance.com
>> Strategic Power Office with Supplier Automation
>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>>
>> Systems Integrator-- Glad to Assist
>>
>> Chat  Y! messenger: bjfr33man
>> Linkedin
>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>>
>>
>>
>> Jacques Le Roux sent the following on 5/19/2010 7:47 AM:
>>> Maybe, I did not notice any memory ultra-growth, there was nothing
>>> special in the log,  but I was unable to use stopobiz.sh to stop the
>>> process (the 1st to encounter this issue was the automatic update
>>> script)
>>> Not sure why, we will see if it reproduces..
>>>
>>> Jacques
>>>
>>> From: "BJ Freeman" <[hidden email]>
>>>> I been watching my trunk demo on my server.
>>>> I notice it keeps using more memory with little or no user activity.
>>>> I am leaning towards some memory leaks that happen during scheduled
>>>> services.
>>>>
>>>> =========================
>>>> BJ Freeman
>>>> http://bjfreeman.elance.com
>>>> Strategic Power Office with Supplier Automation
>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>>>
>>>> Systems Integrator-- Glad to Assist
>>>>
>>>> Chat  Y! messenger: bjfr33man
>>>> Linkedin
>>>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>>>>
>>>>
>>>>
>>>>
>>>> Jacques Le Roux sent the following on 5/19/2010 12:43 AM:
>>>>> Hi,
>>>>>
>>>>> I had to kill the trunk process this morning, it works again
>>>>>
>>>>> Jacques
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Trunk demo stuck

Jacques Le Roux
Administrator
OK thanks, I prefer to monitor with buildbot and see what happens instead.
BTW, I found that by updating/reloading everyday we don't get much problems.
It's fine to see that, for some time now, we did not get any lasting compile issues, buildbot certainly helps here :o)

Jacques

From: "BJ Freeman" <[hidden email]>

>I use the script
> https://issues.apache.org/jira/browse/OFBIZ-3705
> which downloads the working compiled copy.
> only because I want to know that it complied before I use it.
> however if you do a copy of ij.obiz to /etc/init.d/ofbiz
> and change the permissions your script should do it.
> you could use it.
> just a thought
>
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> Jacques Le Roux sent the following on 5/20/2010 12:27 AM:
>> Thanks BJ,
>>
>> I don't think we need ij as we do an
>> ant clean-all
>> ant run-install
>> each time we update (every 24 hours)
>>
>> The problem is for being able to do them we need to use stopofbiz.sh
>> before with  sleep time between (actually I do it 3 times, with a 10
>> secs sleep between each) and sometimes (rarely) it fails. And when it
>> fails you have no ways but to kill the OFBiz process.
>>
>> Maybe your update process is better though, as ours is a very raw one...
>> Here it is
>>
>> svn up
>> ./stopofbiz.sh
>> sleep 10
>> ./stopofbiz.sh
>> sleep 10
>> ./stopofbiz.sh
>> sleep 10
>> ant clean-all
>> ant run-install
>> ant svninfo
>> sleep 10
>> ./startofbiz.sh
>>
>> Jacques
>>
>> From: "BJ Freeman" <[hidden email]>
>>> i have run into the stopobiz.sh issue ever since 3.0
>>> I have never had a problem with the ij.ofbiz for
>>> /etc/init.d/trunkdemo restart
>>> I copy the the ofbiz.jar to trunkdemo.jar in the update script
>>> and in the ij.ofbiz I copy over to /etc/init.d/trunkdemo
>>>
>>>
>>>
>>> =========================
>>> BJ Freeman
>>> http://bjfreeman.elance.com
>>> Strategic Power Office with Supplier Automation
>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>>
>>> Systems Integrator-- Glad to Assist
>>>
>>> Chat  Y! messenger: bjfr33man
>>> Linkedin
>>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>>>
>>>
>>>
>>> Jacques Le Roux sent the following on 5/19/2010 7:47 AM:
>>>> Maybe, I did not notice any memory ultra-growth, there was nothing
>>>> special in the log,  but I was unable to use stopobiz.sh to stop the
>>>> process (the 1st to encounter this issue was the automatic update
>>>> script)
>>>> Not sure why, we will see if it reproduces..
>>>>
>>>> Jacques
>>>>
>>>> From: "BJ Freeman" <[hidden email]>
>>>>> I been watching my trunk demo on my server.
>>>>> I notice it keeps using more memory with little or no user activity.
>>>>> I am leaning towards some memory leaks that happen during scheduled
>>>>> services.
>>>>>
>>>>> =========================
>>>>> BJ Freeman
>>>>> http://bjfreeman.elance.com
>>>>> Strategic Power Office with Supplier Automation
>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>>>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>>>>
>>>>> Systems Integrator-- Glad to Assist
>>>>>
>>>>> Chat  Y! messenger: bjfr33man
>>>>> Linkedin
>>>>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Jacques Le Roux sent the following on 5/19/2010 12:43 AM:
>>>>>> Hi,
>>>>>>
>>>>>> I had to kill the trunk process this morning, it works again
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Trunk demo stuck

BJ Freeman
In reply to this post by BJ Freeman
I agree BuildDot is probably one of the best additions of ofbiz.
I have installed it on my server to work against all the projects I have
running.

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Jacques Le Roux sent the following on 5/20/2010 2:08 AM:

> OK thanks, I prefer to monitor with buildbot and see what happens instead.
> BTW, I found that by updating/reloading everyday we don't get much
> problems.
> It's fine to see that, for some time now, we did not get any lasting
> compile issues, buildbot certainly helps here :o)
>
> Jacques
>
> From: "BJ Freeman" <[hidden email]>
>> I use the script
>> https://issues.apache.org/jira/browse/OFBIZ-3705
>> which downloads the working compiled copy.
>> only because I want to know that it complied before I use it.
>> however if you do a copy of ij.obiz to /etc/init.d/ofbiz
>> and change the permissions your script should do it.
>> you could use it.
>> just a thought
>>
>>
>> =========================
>> BJ Freeman
>> http://bjfreeman.elance.com
>> Strategic Power Office with Supplier Automation
>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>>
>> Systems Integrator-- Glad to Assist
>>
>> Chat  Y! messenger: bjfr33man
>> Linkedin
>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>>
>>
>>
>> Jacques Le Roux sent the following on 5/20/2010 12:27 AM:
>>> Thanks BJ,
>>>
>>> I don't think we need ij as we do an
>>> ant clean-all
>>> ant run-install
>>> each time we update (every 24 hours)
>>>
>>> The problem is for being able to do them we need to use stopofbiz.sh
>>> before with  sleep time between (actually I do it 3 times, with a 10
>>> secs sleep between each) and sometimes (rarely) it fails. And when it
>>> fails you have no ways but to kill the OFBiz process.
>>>
>>> Maybe your update process is better though, as ours is a very raw one...
>>> Here it is
>>>
>>> svn up
>>> ./stopofbiz.sh
>>> sleep 10
>>> ./stopofbiz.sh
>>> sleep 10
>>> ./stopofbiz.sh
>>> sleep 10
>>> ant clean-all
>>> ant run-install
>>> ant svninfo
>>> sleep 10
>>> ./startofbiz.sh
>>>
>>> Jacques
>>>
>>> From: "BJ Freeman" <[hidden email]>
>>>> i have run into the stopobiz.sh issue ever since 3.0
>>>> I have never had a problem with the ij.ofbiz for
>>>> /etc/init.d/trunkdemo restart
>>>> I copy the the ofbiz.jar to trunkdemo.jar in the update script
>>>> and in the ij.ofbiz I copy over to /etc/init.d/trunkdemo
>>>>
>>>>
>>>>
>>>> =========================
>>>> BJ Freeman
>>>> http://bjfreeman.elance.com
>>>> Strategic Power Office with Supplier Automation
>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>>>
>>>> Systems Integrator-- Glad to Assist
>>>>
>>>> Chat  Y! messenger: bjfr33man
>>>> Linkedin
>>>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>>>>
>>>>
>>>>
>>>>
>>>> Jacques Le Roux sent the following on 5/19/2010 7:47 AM:
>>>>> Maybe, I did not notice any memory ultra-growth, there was nothing
>>>>> special in the log,  but I was unable to use stopobiz.sh to stop the
>>>>> process (the 1st to encounter this issue was the automatic update
>>>>> script)
>>>>> Not sure why, we will see if it reproduces..
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "BJ Freeman" <[hidden email]>
>>>>>> I been watching my trunk demo on my server.
>>>>>> I notice it keeps using more memory with little or no user activity.
>>>>>> I am leaning towards some memory leaks that happen during scheduled
>>>>>> services.
>>>>>>
>>>>>> =========================
>>>>>> BJ Freeman
>>>>>> http://bjfreeman.elance.com
>>>>>> Strategic Power Office with Supplier Automation
>>>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>>>>>> Specialtymarket.com <http://www.specialtymarket.com/>
>>>>>>
>>>>>> Systems Integrator-- Glad to Assist
>>>>>>
>>>>>> Chat  Y! messenger: bjfr33man
>>>>>> Linkedin
>>>>>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Jacques Le Roux sent the following on 5/19/2010 12:43 AM:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I had to kill the trunk process this morning, it works again
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Trunk demo stuck

Jacques Le Roux
Administrator
In reply to this post by Jacques Le Roux
Thanks Matt,

The demo server is on a 64 bits VM under Ubuntu (hence Debian) and it uses Sun Jdk 1.6.0_16

Not sure for http://ci.apache.org/#buildbot 
Anyway we don't have any compiltation issues (and it's unrelated ;o)

Jacques

From: "Matt Warnock" <[hidden email]>

>I found that there ARE compile issues with openjdk, though not with sun
> jdk, at least on Debian stable.  Could buildbot be configured to build
> under both, assuming that openjdk is also a desired/supported platform?
>
> Just wondering.
> --
> Matt Warnock <[hidden email]>
> RidgeCrest Herbals, Inc.
>
> On Thu, 2010-05-20 at 11:08 +0200, Jacques Le Roux wrote:
>> OK thanks, I prefer to monitor with buildbot and see what happens instead.
>> BTW, I found that by updating/reloading everyday we don't get much problems.
>> It's fine to see that, for some time now, we did not get any lasting compile issues, buildbot certainly helps here :o)
>>
>> Jacques
>>
>> From: "BJ Freeman" <[hidden email]>
>> >I use the script
>> > https://issues.apache.org/jira/browse/OFBIZ-3705
>> > which downloads the working compiled copy.
>> > only because I want to know that it complied before I use it.
>> > however if you do a copy of ij.obiz to /etc/init.d/ofbiz
>> > and change the permissions your script should do it.
>> > you could use it.
>> > just a thought
>> >
>> >
>> > =========================
>> > BJ Freeman
>> > http://bjfreeman.elance.com
>> > Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>> > Specialtymarket.com <http://www.specialtymarket.com/>
>> >
>> > Systems Integrator-- Glad to Assist
>> >
>> > Chat  Y! messenger: bjfr33man
>> > Linkedin
>> > <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>> >
>> >
>> > Jacques Le Roux sent the following on 5/20/2010 12:27 AM:
>> >> Thanks BJ,
>> >>
>> >> I don't think we need ij as we do an
>> >> ant clean-all
>> >> ant run-install
>> >> each time we update (every 24 hours)
>> >>
>> >> The problem is for being able to do them we need to use stopofbiz.sh
>> >> before with  sleep time between (actually I do it 3 times, with a 10
>> >> secs sleep between each) and sometimes (rarely) it fails. And when it
>> >> fails you have no ways but to kill the OFBiz process.
>> >>
>> >> Maybe your update process is better though, as ours is a very raw one...
>> >> Here it is
>> >>
>> >> svn up
>> >> ./stopofbiz.sh
>> >> sleep 10
>> >> ./stopofbiz.sh
>> >> sleep 10
>> >> ./stopofbiz.sh
>> >> sleep 10
>> >> ant clean-all
>> >> ant run-install
>> >> ant svninfo
>> >> sleep 10
>> >> ./startofbiz.sh
>> >>
>> >> Jacques
>> >>
>> >> From: "BJ Freeman" <[hidden email]>
>> >>> i have run into the stopobiz.sh issue ever since 3.0
>> >>> I have never had a problem with the ij.ofbiz for
>> >>> /etc/init.d/trunkdemo restart
>> >>> I copy the the ofbiz.jar to trunkdemo.jar in the update script
>> >>> and in the ij.ofbiz I copy over to /etc/init.d/trunkdemo
>> >>>
>> >>>
>> >>>
>> >>> =========================
>> >>> BJ Freeman
>> >>> http://bjfreeman.elance.com
>> >>> Strategic Power Office with Supplier Automation
>> >>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>> >>> Specialtymarket.com <http://www.specialtymarket.com/>
>> >>>
>> >>> Systems Integrator-- Glad to Assist
>> >>>
>> >>> Chat  Y! messenger: bjfr33man
>> >>> Linkedin
>> >>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>> >>>
>> >>>
>> >>>
>> >>> Jacques Le Roux sent the following on 5/19/2010 7:47 AM:
>> >>>> Maybe, I did not notice any memory ultra-growth, there was nothing
>> >>>> special in the log,  but I was unable to use stopobiz.sh to stop the
>> >>>> process (the 1st to encounter this issue was the automatic update
>> >>>> script)
>> >>>> Not sure why, we will see if it reproduces..
>> >>>>
>> >>>> Jacques
>> >>>>
>> >>>> From: "BJ Freeman" <[hidden email]>
>> >>>>> I been watching my trunk demo on my server.
>> >>>>> I notice it keeps using more memory with little or no user activity.
>> >>>>> I am leaning towards some memory leaks that happen during scheduled
>> >>>>> services.
>> >>>>>
>> >>>>> =========================
>> >>>>> BJ Freeman
>> >>>>> http://bjfreeman.elance.com
>> >>>>> Strategic Power Office with Supplier Automation
>> >>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>> >>>>> Specialtymarket.com <http://www.specialtymarket.com/>
>> >>>>>
>> >>>>> Systems Integrator-- Glad to Assist
>> >>>>>
>> >>>>> Chat  Y! messenger: bjfr33man
>> >>>>> Linkedin
>> >>>>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> Jacques Le Roux sent the following on 5/19/2010 12:43 AM:
>> >>>>>> Hi,
>> >>>>>>
>> >>>>>> I had to kill the trunk process this morning, it works again
>> >>>>>>
>> >>>>>> Jacques
>> >>>>>>
>> >>>>>>
>> >>>>>
>> >>>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >
>> >
>

Reply | Threaded
Open this post in threaded view
|

Re: Trunk demo stuck

Jacques Le Roux
Administrator
Thanks for the suggestion Matt,

This involves more than the OFBiz community as you might have discovered if you followed the Buildbot link.
To clarify, Builbot is shared between Apache projects.
And testing under OpenJdk is not a priority for us (OFBiz team), at least not for the moment.

No, the demo is not running under Builbot, it's 2 separate process on 2 different machines.

OFBiz is not supposed to work with OpenJdk. For the moment we still recommend Sun.
Some persons say it's working, but, from your experience, sounds like it depends of contexts.

Jacques

From: "Matt Warnock" <[hidden email]>

> Happy to know it's running Ubuntu, I thought Redhat/CentOS was more
> common.  That makes me feel better running Debian. :)
>
> I hope I wasn't too far off-topic, I was meaning to suggest that IF the
> demo server is running under buildbot for its nightly rebuilds, and IF
> openjdk is intended to be a supported platform, then perhaps a dual
> build (sun and openjdk) might warn if a new commit breaks openjdk, as it
> apparently did between 9.04 and 10.04, at least for Debian stable.
>
> Is openjdk supposed to work with ofbiz?  I thought I had read it was,
> and it worked with 9.04, so I was surprised it didn't with 10.04 and
> forward.
>
> I know the on-and-only demo server can't *RUN* both JVM implementations,
> but an automated nightly build under both platforms might not be a bad
> idea, whether on the demo machine or elsewhere.  Just a thought.
>
> I'd rather be running the openjdk, if it works, but if only Sun JVMs
> work (as was the case once, I know), then Sun it is.
>
> Thanks Jaques!
>
> --
> Matt Warnock <[hidden email]>
> RidgeCrest Herbals, Inc.
>
> On Thu, 2010-05-20 at 23:24 +0200, Jacques Le Roux wrote:
>> Thanks Matt,
>>
>> The demo server is on a 64 bits VM under Ubuntu (hence Debian) and it uses Sun Jdk 1.6.0_16
>>
>> Not sure for http://ci.apache.org/#buildbot 
>> Anyway we don't have any compiltation issues (and it's unrelated ;o)
>>
>> Jacques
>>
>> From: "Matt Warnock" <[hidden email]>
>> >I found that there ARE compile issues with openjdk, though not with sun
>> > jdk, at least on Debian stable.  Could buildbot be configured to build
>> > under both, assuming that openjdk is also a desired/supported platform?
>> >
>> > Just wondering.
>> > --
>> > Matt Warnock <[hidden email]>
>> > RidgeCrest Herbals, Inc.
>> >
>> > On Thu, 2010-05-20 at 11:08 +0200, Jacques Le Roux wrote:
>> >> OK thanks, I prefer to monitor with buildbot and see what happens instead.
>> >> BTW, I found that by updating/reloading everyday we don't get much problems.
>> >> It's fine to see that, for some time now, we did not get any lasting compile issues, buildbot certainly helps here :o)
>> >>
>> >> Jacques
>> >>
>> >> From: "BJ Freeman" <[hidden email]>
>> >> >I use the script
>> >> > https://issues.apache.org/jira/browse/OFBIZ-3705
>> >> > which downloads the working compiled copy.
>> >> > only because I want to know that it complied before I use it.
>> >> > however if you do a copy of ij.obiz to /etc/init.d/ofbiz
>> >> > and change the permissions your script should do it.
>> >> > you could use it.
>> >> > just a thought
>> >> >
>> >> >
>> >> > =========================
>> >> > BJ Freeman
>> >> > http://bjfreeman.elance.com
>> >> > Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>> >> > Specialtymarket.com <http://www.specialtymarket.com/>
>> >> >
>> >> > Systems Integrator-- Glad to Assist
>> >> >
>> >> > Chat  Y! messenger: bjfr33man
>> >> > Linkedin
>> >> > <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>> >> >
>> >> >
>> >> > Jacques Le Roux sent the following on 5/20/2010 12:27 AM:
>> >> >> Thanks BJ,
>> >> >>
>> >> >> I don't think we need ij as we do an
>> >> >> ant clean-all
>> >> >> ant run-install
>> >> >> each time we update (every 24 hours)
>> >> >>
>> >> >> The problem is for being able to do them we need to use stopofbiz.sh
>> >> >> before with  sleep time between (actually I do it 3 times, with a 10
>> >> >> secs sleep between each) and sometimes (rarely) it fails. And when it
>> >> >> fails you have no ways but to kill the OFBiz process.
>> >> >>
>> >> >> Maybe your update process is better though, as ours is a very raw one...
>> >> >> Here it is
>> >> >>
>> >> >> svn up
>> >> >> ./stopofbiz.sh
>> >> >> sleep 10
>> >> >> ./stopofbiz.sh
>> >> >> sleep 10
>> >> >> ./stopofbiz.sh
>> >> >> sleep 10
>> >> >> ant clean-all
>> >> >> ant run-install
>> >> >> ant svninfo
>> >> >> sleep 10
>> >> >> ./startofbiz.sh
>> >> >>
>> >> >> Jacques
>> >> >>
>> >> >> From: "BJ Freeman" <[hidden email]>
>> >> >>> i have run into the stopobiz.sh issue ever since 3.0
>> >> >>> I have never had a problem with the ij.ofbiz for
>> >> >>> /etc/init.d/trunkdemo restart
>> >> >>> I copy the the ofbiz.jar to trunkdemo.jar in the update script
>> >> >>> and in the ij.ofbiz I copy over to /etc/init.d/trunkdemo
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> =========================
>> >> >>> BJ Freeman
>> >> >>> http://bjfreeman.elance.com
>> >> >>> Strategic Power Office with Supplier Automation
>> >> >>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>> >> >>> Specialtymarket.com <http://www.specialtymarket.com/>
>> >> >>>
>> >> >>> Systems Integrator-- Glad to Assist
>> >> >>>
>> >> >>> Chat  Y! messenger: bjfr33man
>> >> >>> Linkedin
>> >> >>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> Jacques Le Roux sent the following on 5/19/2010 7:47 AM:
>> >> >>>> Maybe, I did not notice any memory ultra-growth, there was nothing
>> >> >>>> special in the log,  but I was unable to use stopobiz.sh to stop the
>> >> >>>> process (the 1st to encounter this issue was the automatic update
>> >> >>>> script)
>> >> >>>> Not sure why, we will see if it reproduces..
>> >> >>>>
>> >> >>>> Jacques
>> >> >>>>
>> >> >>>> From: "BJ Freeman" <[hidden email]>
>> >> >>>>> I been watching my trunk demo on my server.
>> >> >>>>> I notice it keeps using more memory with little or no user activity.
>> >> >>>>> I am leaning towards some memory leaks that happen during scheduled
>> >> >>>>> services.
>> >> >>>>>
>> >> >>>>> =========================
>> >> >>>>> BJ Freeman
>> >> >>>>> http://bjfreeman.elance.com
>> >> >>>>> Strategic Power Office with Supplier Automation
>> >> >>>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>> >> >>>>> Specialtymarket.com <http://www.specialtymarket.com/>
>> >> >>>>>
>> >> >>>>> Systems Integrator-- Glad to Assist
>> >> >>>>>
>> >> >>>>> Chat  Y! messenger: bjfr33man
>> >> >>>>> Linkedin
>> >> >>>>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>> >> >>>>>
>> >> >>>>>
>> >> >>>>>
>> >> >>>>>
>> >> >>>>> Jacques Le Roux sent the following on 5/19/2010 12:43 AM:
>> >> >>>>>> Hi,
>> >> >>>>>>
>> >> >>>>>> I had to kill the trunk process this morning, it works again
>> >> >>>>>>
>> >> >>>>>> Jacques
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>
>> >> >>>>>
>> >> >>>>
>> >> >>>>
>> >> >>>>
>> >> >>>
>> >> >>>
>> >> >>
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >
>